I'm new to python and trac so the answer to this may be obvious.
My env. is a standalone installation on winxp sp2, trac 0.11b2,
tracd is started with BASIC_AUTH.
My goal is to link with mylyn/eclipse.
To install the plugin I called:
c:\python25\Scripts\easy_install D:\temp\tracxmlrpc\xmlrpcplugin\0.10
The error is triggered by settings in trac.ini.
I always get the error with tracrpc.* enabled.
I've tried e.g. selecting RPC combinations in the webadmin interface.
On Stderr/out tracd console I get:
20:09:54 Trac[env] INFO: Reloading environment due to configuration change
20:09:54 Trac[loader] DEBUG: Loading TracXMLRPC from c:\python25\lib\site-packag
es\tracxmlrpc-0.1-py2.5.egg
20:09:54 Trac[loader] ERROR: Skipping "TracXMLRPC = tracrpc": (can't import "No
module named Search")
:
:
As soon as I select XMLRPCWeb(this equates to "tracrpc.web_ui.xmlrpcweb = enabled"
in trac.ini), trac disappears and instead in the browser I get:
Traceback (most recent call last):
File "c:\Python25\lib\site-packages\trac\web\api.py", line 339, in send_error
'text/html')
File "c:\Python25\lib\site-packages\trac\web\chrome.py", line 672, in render_template
template = self.load_template(filename, method=method)
File "c:\Python25\lib\site-packages\trac\web\chrome.py", line 648, in load_template
self.templates = TemplateLoader?(self.get_all_templates_dirs(),
File "c:\Python25\lib\site-packages\trac\web\chrome.py", line 402, in get_all_templates_dirs
dirs += provider.get_templates_dirs()
File "build\bdist.win32\egg\tracrpc\web_ui.py", line 76, in get_templates_dirs
from pkg_resources import resource_filename
SystemError?: Parent module 'tracrpc' not loaded
My hunch is that I need xmlrpcplugin\0.11?
All help appreciated.
Mike