Both in trunk and 2.9.5 when running on Apache under mod_wsgi, Windows 
server 2008, ActiveState python 2.7.6

When I try to start debug via the admin app, I get a ticket which ends:


1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

Traceback (most recent call last):
  File "E:\web2py\web2py_internet\gluon\restricted.py", line 220, in restricted
    exec ccode in environment
  File "E:/web2py/web2py_internet/applications/admin/controllers/debug.py" 
<https://mmcserver.vci.com.au:8041/admin/default/edit/admin/controllers/debug.py>,
 line 10, in <module>
    from gluon.debug import communicate, web_debugger, qdb_debugger
  File "E:\web2py\web2py_internet\gluon\custom_import.py", line 105, in 
custom_importer
    return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
  File "E:\web2py\web2py_internet\gluon\debug.py", line 55, in <module>
    debugger = pdb.Pdb(completekey=None, stdin=pipe_in, stdout=pipe_out,)
  File "E:\Python27_32\Lib\pdb.py", line 72, in __init__
    import readline
  File "E:\web2py\web2py_internet\gluon\custom_import.py", line 100, in 
custom_importer
    raise e2  # there is an error in the module
WindowsError: [Error 126] The specified module could not be found


interactively, import readline works fine. 

It also works fine via rocket. 

So something funny about the path in mod_wsgi ?



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to