Modify ↓
Opened 17 years ago
Closed 17 years ago
#3232 closed defect (duplicate)
Problem with XMLRPC plugins on trac 0.11
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
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 (0)
Note: See
TracTickets for help on using
tickets.
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?