
trying that...
Moderators: winston, another_commander, Getafix
Code: Select all
D:\Oodebug\OoDebugConsole>debugconsole.py
Traceback (most recent call last):
File "D:\Oodebug\OoDebugConsole\DebugConsole.py", line 21, in <module>
from ooliteConsoleServer import *
File "C:\WorkArea\CPP\oolite-debug-console-1.0\OoDebugConsole\ooliteConsoleServer\__init__.py", line 27, in <module>
from OoliteDebugConsoleProtocol import OoliteDebugConsoleProtocol
File "C:\WorkArea\CPP\oolite-debug-console-1.0\OoDebugConsole\ooliteConsoleServer\OoliteDebugConsoleProtocol.py", line 10, in <module>
from PropertyListPacketProtocol import PropertyListPacketProtocol
File "C:\WorkArea\CPP\oolite-debug-console-1.0\OoDebugConsole\ooliteConsoleServer\PropertyListPacketProtocol.py", line 10, in <module>
from twisted.internet.protocol import Protocol
File "C:\Python25\lib\site-packages\twisted\internet\protocol.py", line 21, in <module>
from twisted.internet import interfaces, error, defer
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 17, in <module>
from twisted.python import log, failure, lockfile
File "C:\Python25\lib\site-packages\twisted\python\lockfile.py", line 28, in <module>
from win32api import OpenProcess
ImportError: No module named win32api
D:\Oodebug\OoDebugConsole>
- OoDebugConsole_Src.zip - contains the original python code: to run the python code in windows, you need to install python, the win32 python extensions and the twisted-python library.
I have installed twisted, and still it does not work, you will note, i'm not getting the twisted specific errors...Micha wrote:Ok, I found the problem.
Basically when opening a remote connection it's possible for the code to run too fast and try to send a packet before the streams are properly initialised - which then causes the whole thing to shut down.
I've added some code into OODebugTCPConsoleClient to ensure it waits until the streams are fully open before attempting to send the 'hello' packet.
Code: Select all
{ version = "1.73"; max_version = "1.73.99"; }
Yep, figured that out.Kaks wrote:The console needs to be started before oolite, otherwise no connection between oolite & console is established.
Done that, it's still not picking it up. What's strange is that it's not even showing up in the OXP search paths.Code: Select all
{ version = "1.73"; max_version = "1.73.99"; }
What happened next??? I can't get system to run the console. I get onto the Python console, but it won't find the DeBugConsole. The main message I get is that it can't find the Oolite Console Server. If anyone is still reading this, I could sure use some help.zevans wrote:Yep, figured that out.Kaks wrote:The console needs to be started before oolite, otherwise no connection between oolite & console is established.
Done that, it's still not picking it up. What's strange is that it's not even showing up in the OXP search paths.Code: Select all
{ version = "1.73"; max_version = "1.73.99"; }
I've just realised I might have compiled it with the wrong flags, I'll try that (and check out latest whilst I'm at it.)