Ticket #3232 (closed defect: duplicate)

Opened 5 months ago

Last modified 5 months ago

Problem with XMLRPC plugins on trac 0.11

Reported by: iperezr@uci.cu Assigned to: athomas
Priority: highest Component: XmlRpcPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

So i have this problem on TRac 0.11 release when i active xmlrpc plugin. The code of trunk i compile and i use that .egg.

So i have this error:


Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 683, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 659, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 406, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 76, in get_templates_dirs
    from pkg_resources import resource_filename
SystemError: Parent module 'tracrpc' not loaded

Please help!!!

Attachments

Change History

06/22/08 20:38:36 changed by athomas

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

Duplicate of #2922.

The only thing I can suggest is you try moving the from pkg_resources import resource_filename to the top of the file. Does that work?


Add/Change #3232 (Problem with XMLRPC plugins on trac 0.11)




Change Properties
Action