[wingide-users] Wing won't start my python_d
Bryan Stearns
stearns at osafoundation.org
Sun May 22 18:39:47 EDT 2005
The project I'm working on gives several options for developing: all
four permutations of (python/python_d) x (built locally from source,
downloaded-prebuilt from our tinderbox). I've been working using the
prebuilt non-_d version of python, but I find it necessary to do some
source-level debugging of some of the C-based python extensions (wx), so
I need to switch to building everything locally and using python_d.
When I try to point Wing IDE 2.0.2-3 at the python_d I've built, the
"Python Shell" tool's sandbox process won't start: it says "listening
for back-connection" for about a second, then switches to "no debug
process / not listening for connections". (It does the same thing when I
try to debug my app, but I figure that the sandbox process is an easier
problem to solve.)
I found Wing's error-log file; all it says is:
wingide - 2005/05/22 15:16:34 - Debugger: Listening for back-connection
wingide - 2005/05/22 15:16:34 - popenE with
['c:\\cygwin\\home\\bryan\\unshared\\full\\chandler\\debug\\bin\\python_d.exe',
'-u', u'C:\\Program Files\\Wing IDE 2.0\\bin\\wingdb.py', ':4870',
'-1', '--first-stop', "r''+chr(60)+r'none'+chr(62)+r''",
'--nowait-on-exit',
"r'C:'+chr(92)+r'Program'+chr(32)+r'Files'+chr(92)+r'Wing'+chr(32)+r'IDE'+chr(32)+r'2'+chr(46)+r'0'+chr(92)+r'src'+chr(92)+r'debug'+chr(92)+r'server'+chr(92)+r'_sandbox'+chr(46)+r'py'"]
wingide - 2005/05/22 15:16:34 - popenE done
wingide - 2005/05/22 15:16:35 - Debugger: No debug process / not
listening for connections
If I set the preference to turn on the debugging internals log file, it
logs this:
Traceback (most recent call last):
File "C:\Program Files\Wing IDE 2.0\bin\wingdb.py", line 372, in main
netserver = FindNetServerModule(WINGHOME)
File "C:\Program Files\Wing IDE 2.0\bin\wingdb.py", line 275, in
FindNetServerModule
raise ImportError('Could not import netserver')
ImportError: Could not import netserver
wingdb.py: Error: Failed to start the debug server
wingdb.py: Error: You may be running an unsupported version of Python
wingdb.py: Python version = 2.4.1 (#65, May 18 2005, 16:51:32) [MSC
v.1310 32 bit (Intel)]
wingdb.py: WINGHOME=C:\Program Files\Wing IDE 2.0
Traceback (most recent call last):
File "C:\Program Files\Wing IDE 2.0\bin\wingdb.py", line 383, in main
sys.exit(-1)
SystemExit: -1
I looked in my c:\Program Files\Wing IDE 2.0\bin directory, and though
there's a "2.4", there isn't a "2.4.1". (I tried copying the "2.4"
folder's content to a new "2.4.1" folder, but that didn't help - same
message).
If I type
c:\cygwin\home\bryan\unshared\full\chandler\debug\bin\python_d.exe into
a command-prompt window, it starts just fine. I have no python-related
settings in my shell environment.
Any ideas on how to figure out what's wrong?
Thanks,
...Bryan Stearns
Open Source Application Foundation
More information about the wingide-users
mailing list