Hi Sarbjit,
I have tried several times to make rebecca working - but it looks to
me that I do not understand something or our files are not consistent.
Last state that running builder -> createGraph(); results in long loop
raising exceptions:
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
...
I have tried to drop rebecca database folder - does not help.
I have tried to remove all aiml files - then functions returned
immediately but output still contains the same exceptions.
After all it generates unknown exception and rebecca chat
initialisation is incomplete.
In debug this function takes much more time:
10:58:14,880 [INFO, 0x0fdc] - prepare rebecca chat engine database...
10:59:14,428 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
10:59:14,436 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:00:14,458 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:00:14,465 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:01:14,473 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:01:14,479 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:02:14,484 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:02:14,491 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:03:14,495 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:03:14,514 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:04:14,519 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:04:14,526 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:05:14,530 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:05:14,537 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:06:14,548 [INFO, 0x0cc0] - disconnectSocket: disconnected name=loc
11:06:14,554 [DEBUG, 0x0cc0] - connectSocketProtected: successfully c
11:07:14,557 [INFO, 0x0cc0] - disconnectSocket: disconnected
name=localweb [ActiveSocket.localweb]
11:07:14,563 [DEBUG, 0x0cc0] - connectSocketProtected: successfully
connected to host=
www.google.com, port=80, n
11:08:14,566 [INFO, 0x0cc0] - disconnectSocket: disconnected
name=localweb [ActiveSocket.localweb]
11:08:14,575 [DEBUG, 0x0cc0] - connectSocketProtected: successfully
connected to host=
www.google.com, port=80, n
11:09:14,583 [INFO, 0x0cc0] - disconnectSocket: disconnected
name=localweb [ActiveSocket.localweb]
11:09:14,588 [DEBUG, 0x0cc0] - connectSocketProtected: successfully
connected to host=
www.google.com, port=80, n
11:10:14,591 [INFO, 0x0cc0] - disconnectSocket: disconnected
name=localweb [ActiveSocket.localweb]
11:10:14,597 [DEBUG, 0x0cc0] - connectSocketProtected: successfully
connected to host=
www.google.com, port=80, n
11:10:41,520 [ERROR, 0x0fdc] - CALL STACK:
...skipped...
::_rfc_thr_stackgetforthread (
aiengine.vc, 0x5c186b)
::_rfc_thr_stackget (
aiengine.vc, 0x5c1729)
Logger::printStack (
aiengine.vc, 0x4ba41a)
Physiology::onBrainStart (
aiengine.vc, 0x573f03)
AIBrainImpl::runService (
aiengine.vc, 0x589386)
AIEngineImpl::runServices (
aiengine.vc, 0x4b34e9)
AIEngineImpl::runInternal (
aiengine.vc, 0x4b0c46)
AIEngine::run (
aiengine.vc, 0x4b0064)
::_main (
aiengine.vc, 0x57323f)
...skipped...
[Physiology]
11:10:41,552 [ERROR, 0x0fdc] - onBrainStart: unexpected unknown
exception, cannot start control name=RebeccaChat
in vc output window I see:
...
The thread 'Win32 Thread' (0xf38) has exited with code 0 (0x0).
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: xercesc_2_8::TraverseSchema::ExceptionCodes at memory
location 0x0012e3e8..
First-chance exception at 0x75d59617 in aiengine.vc.exe: Microsoft C++
exception: rebecca::impl::InternalProgrammerErrorExceptionImpl at
memory location 0x0012efc8..
Current configuration uses all files from human\libaiml.
I copied:
- referenced xsd files from human\libaiml\resources\schema\ to human
\aiengine\etc\rebecca\xsd\
- referenced xml files from human\libaiml\conf\ to human\aiengine\etc
\rebecca\
- all aiml files from human\libaiml\include\aiml\annotated_alice\ to C:
\projects\ai2svn\human\aiengine\etc\rebecca\aiml\
- all libs from human\libaiml\lib\ to human\aiengine\lib\rebecca\
- all dlls from human\libaiml\lib\ to human\aiengine\bin\
- all header files, except framework subdirectory, from human\libaiml
\include\rebecca\ to human\aiengine\src\include\rebecca\
aiengine is now referencing only relative paths for build and debug
and does not have inter-project links.
I have added msvcp71.dll and msvcr71.dll as looks like they are
required for rebecca.
I would like to finish with this.
Could you please investigate and let me know what is wrong?