Ticket #1536 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

xmlrpc not working

Reported by: anonymous Assigned to: athomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (Last modified by athomas)

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

Change History

05/13/07 22:06:35 changed by coderanger

  • description changed.

Fix formatting.

05/14/07 15:19:11 changed by athomas

  • status changed from new to closed.
  • resolution set to invalid.

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.

05/17/07 16:14:39 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

I have updated setuptools installation, but to no use. Still the same error. Importing os.path module from empty .py script gives no errors.

05/19/07 03:12:44 changed by athomas

  • description changed.

05/27/07 23:54:27 changed by anonymous

I have resolved it myself - this plugin requires pydoc. It would be nicer if it was mentioned ;)

05/28/07 06:41:40 changed by athomas

  • status changed from reopened to closed.
  • resolution set to invalid.

pydoc has been part of the standard library since 2.1. It doesn't seem feasible to enumerate every module a plugin uses.


Add/Change #1536 (xmlrpc not working)




Change Properties
Action