Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3966365
By: surenreddy1
Yes, that was correct. I had to move the files under
/usr/lib64/python2.4/site-packages for now until I figure out how to set the
pythonpath.
In the meanwhile, this is what I get now.
I defined a function called eclipseDebugTester
def eclipseDebugTester():
print "Setting Trace"
import pydevd; pydevd.settrace('192.168.20.216')
a = 1;
b = 2;
return a + b;
When I call the
http://192.168.20.216/python/src/root/myhandler.py/eclipseDebugTester, here
is what I get.
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
result = object(req)
File "/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line 136,
in handler
result = util.apply_fs_data(object, req.form, req=req)
File "/usr/lib64/python2.4/site-packages/mod_python/util.py", line 361, in
apply_fs_data
return object(**args)
File "/var/www/html/python/src/root/myhandler.py", line 14,
in eclipseDebugTester
import pydevd; pydevd.settrace('192.168.20.216')
File "/usr/lib64/python2.4/site-packages/pydevd.py", line 805, in settrace
debugger.connect(host, 5678)
File "/usr/lib64/python2.4/site-packages/pydevd.py", line 200, in connect
s = startClient(host, port)
File "/usr/lib64/python2.4/site-packages/pydevd_comm.py", line 251, in
startClient
sys.exit(1)
SystemExit: 1
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users