Modify ↓
Opened 17 years ago
Closed 16 years ago
#4068 closed defect (invalid)
ImportError: No module named pydoc
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | XmlRpcPlugin |
| Severity: | blocker | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
I get the below error message when trying to access the xmlrpc login page.
I have already performed the following:
- Hit the ImportError: No module named posixpath issue
got past this issue by using the fix recommended here : http://trac.edgewall.org/ticket/4280
- Got a message that my user did not have the proper permissions, performed the following:
trac-admin /usr/local/svn/projects/rsge/ permission add boded XML_RPC
- Then I got this message
How to Reproduce
While doing a GET operation on /login/xmlrpc, Trac issued an internal error.
(please provide additional details here)
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071611 Red Hat/3.0.1-1.el5 Firefox/3.0.1
System Information
| Trac | 0.11.1
|
| Python | 2.4.3 (#1, Mar 13 2008, 13:33:54) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
|
| setuptools | 0.6c7
|
| SQLite | 3.3.6
|
| pysqlite | 1.1.7
|
| Genshi | 0.5
|
| mod_python | 3.2.8
|
| Subversion | 1.5.1 (r32289)
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 427, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 36, in process_request
File "build/bdist.linux-i686/egg/tracrpc/api.py", line 178, in all_methods
File "build/bdist.linux-i686/egg/tracrpc/api.py", line 71, in __init__
ImportError: No module named pydoc
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
comment:2 Changed 16 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Oki. Can't be related to the XmlRpcPlugin as it does not have 'pydoc' anywhere in its source anyway. Closing.
Note: See
TracTickets for help on using
tickets.



I have already resolved this error. There was an import statment defined in a function. Just had to move it to the top of the file.
changes made to the following file: xmlrpcplugin/0.10/build/lib/tracrpc/lib/api.py