|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
remote debugging fails, can't import netserverI'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?
Mark
_________________________________________________ Wing IDE users list http://wingware.com/lists/wingide |
|
|
Re: remote debugging fails, can't import netserverMark 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/ same OS? -- Stephan Deibel Wingware | Python IDE Advancing Software Development www.wingware.com _________________________________________________ Wing IDE users list http://wingware.com/lists/wingide |
|
|
RE: remote debugging fails, can't import netserverStephan,
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. Mark -----Original Message----- From: Wingware Support [mailto:support@...] Sent: Saturday, July 12, 2008 7:57 AM To: Mark A. Schmucker Cc: wingide-users@... 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/ same OS? -- Stephan Deibel Wingware | Python IDE Advancing Software Development www.wingware.com _________________________________________________ Wing IDE users list http://wingware.com/lists/wingide |
| Free Forum Powered by Nabble | Forum Help |