Modify

Opened 16 years ago

Closed 15 years ago

#4068 closed defect (invalid)

ImportError: No module named pydoc

Reported by: bodepd@… 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:

  1. Hit the ImportError: No module named posixpath issue

got past this issue by using the fix recommended here : http://trac.edgewall.org/ticket/4280

  1. 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

  1. 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 16 years ago by anonymous

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

comment:2 Changed 15 years ago by osimons

Resolution: invalid
Status: newclosed

Oki. Can't be related to the XmlRpcPlugin as it does not have 'pydoc' anywhere in its source anyway. Closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.