Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3965931
By: surenreddy1

I am trying to evaluate the IDE and see if this helps us with remote debugging.
We have a server that is linux based that has mod_python configured. We are
using samba shares to see the code and develop on a windows XP box using the
pydev extensions. I wanted to try out a really simple example to see how to
set up the remote debugging aspect and I am not able to.

test
  test/src
    test/src/root
        test/src/root/nested
    myhandler.py
    pydevd*.py
  form.html that calls the myhandler.py for its action method.

 

when I submit on form.html this is the error I get to debug, the python script
errors out with this code.

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 8, in formHandler
    import pydevd; pydevd.settrace('192.168.20.216')

ImportError: No module named pydevd

As suggested, I copied all the pydev*.py files from the org.*.debug folder into
the same folder as myhandler.py. Inspite of both being in the same folder, the
pydevd does not get recognized.

Any ideas?

Thanks,
Suren


______________________________________________________________________
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

Reply via email to