Opened 17 years ago

Last modified 17 years ago

#1536 closed defect

xmlrpc not working — at Version 4

Reported by: anonymous Owned by: Alec Thomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by Alec Thomas)

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

Change History (4)

comment:1 Changed 17 years ago by Noah Kantrowitz

Description: modified (diff)

Fix formatting.

comment:2 Changed 17 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

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 17 years ago by anonymous

Resolution: invalid
Status: closedreopened

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 17 years ago by Alec Thomas

Description: modified (diff)
Note: See TracTickets for help on using tickets.