[wingide-users] remote debugging fails, can't import netserver
Mark A. Schmucker
masc at rincon.com
Tue Jul 22 11:15:47 MDT 2008
Just to close the loop on this issue, the main problem was that I didn't
follow the instructions carefully. In 11.1.2 "Installing the Debugger Core",
I didn't see the little green "!=". Perhaps you could re-phrase this
instruction for those of us who are semi-literate.
Thank for your support- excellent as always.
From: Wingware Support [mailto:support at wingware.com]
Sent: Saturday, July 12, 2008 7:57 AM
To: Mark A. Schmucker
Cc: wingide-users at wingware.com
Subject: Re: [wingide-users] remote debugging fails, can't import netserver
Mark A. Schmucker wrote:
> I'm trying to set up remote debugging. It is not possible to install
> Wing on the remote machine, so I have followed the instructions in the
> manual, section 11.1.2, Installing the Debugger Core. I have used the
> second option shown there- copying wingdbstub.py, bin/wingdb.py, and
> bin/2.4/src/debug/tserver to the remote machine. I have specified
> winghome in my wingdbstub.py.
> When I run the remote process, it does find and import bin/wingdb.py,
> but it cannot import netserver. (netserver.pyc is available in my
> tserver directory.) wingdb.py does correctly generate the two default
> locations, adds them one by one to the sys path, and tries to import
> netserver. The first of the two default locations, <my
> winghome>/bin/2.4/src/debug/tserver, does indeed contain the file
> netserver.pyc, yet the import fails.
> The output seems to indicate netserver.pyc is failing at line 206:
> File "2.4/src/debug/tserver/netserver.pyc", line 206, in ?
> Sorry I can't send the entire debug output- it's on a private network,
> no internet.
> Any ideas?
Try turning on kPrintAllTracebacks in wingdb.py and also set kLogFile in
wingdbstub.py if you have not already done so. I suspect the real issue is
failure to import the extension module. Are you copying from a machine w/
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users