Try moving the "from pkg_resources import resource_filename" to the
top of web_ui.py. Others have had success with this solution.

2008/5/31 Reynier Perez Mira <[EMAIL PROTECTED]>:
>
> Hi every,
> I have Trac 0.11RC1 with TracXMLRPC Plugin. When I try to activate the plugin 
> I get this error:
>
> Traceback (most recent call last):
>  File 
> "/usr/lib/python2.5/site-packages/Trac-0.11rc1-py2.5.egg/trac/web/api.py", 
> line 339, in send_error
>    'text/html')
>  File 
> "/usr/lib/python2.5/site-packages/Trac-0.11rc1-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.11rc1-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.11rc1-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
>
> Any help?
> Cheers and thanks in advance
> Ing. Reynier Pérez Mira
> Grupo de Soporte al Desarrollo - Dirección Técnica IP
>
>
>
> >
>



-- 
Evolution: Taking care of those too stupid to take care of themselves.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to