Emmanuel Blot wrote: > It looks like your PYTHONPATH environment variable is not properly > defined when email2trac is launched. > This variable should be defined (and set to the right directory) if > Trac has not been installed in the Python site-packages directory.
It is defined in /etc/profile and contains /usr/local/trac-0.9.6/lib/python2.4/site-packages/ - where I see a subdir trac containing . Settings.pyc core.py loader.pyc test.py .. Timeline.py core.pyc log.py test.pyc About.py Timeline.pyc db.py log.pyc ticket About.pyc __init__.py db.pyc mimeview upgrades Notify.py __init__.pyc db_default.py perm.py util.py Notify.pyc attachment.py db_default.pyc perm.pyc util.pyc Search.py attachment.pyc env.py scripts versioncontrol Search.pyc config.py env.pyc siteconfig.py web Settings.py config.pyc loader.py siteconfig.pyc wiki That should be OK? But I am not sure: run_email2trac is called from sendmail's aliases, so I doubt that /etc/profile is evaluated. > If Trac has been installed in site-packages/ dir, double check that > email2trac use the right release of Python, in case you have several > releases of Python installed on your machine. No, there is only one python installation. Rainer _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
