Opened 18 years ago
Closed 18 years ago
#1536 closed defect (invalid)
xmlrpc not working
Reported by: | anonymous | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
Egg file built correctly. After enabling in per-project conf ini file I got following message:
Traceback (most recent call last): File "/usr/share/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request File "/usr/share/python2.4/site-packages/trac/web/main.py", line 206, in dispatch File "/usr/share/python2.4/site-packages/trac/web/chrome.py", line 263, in get_all_templates_dirs File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 76, in get_templates_dirs File "/usr/share/python2.4/site-packages/pkg_resources.py", line 16, in ? File "/usr/share/python2.4/os.py", line 133, in ? ImportError: No module named path
Attachments (0)
Change History (6)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
I suspect this is not a problem with the plugin. The line you reference is
from pkg_resources import resource_filename
Which has nothing really to do with XmlRpcPlugin. At a guess I'd suspect something is wrong with your setuptools installation.
comment:3 Changed 18 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I have updated setuptools installation, but to no use. Still the same error. Importing os.path module from empty .py script gives no errors.
comment:4 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 18 years ago by
I have resolved it myself - this plugin requires pydoc. It would be nicer if it was mentioned ;)
comment:6 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
pydoc has been part of the standard library since 2.1. It doesn't seem feasible to enumerate every module a plugin uses.
Fix formatting.