AW: [Trac] WG: Problems running trac-admin after installation of
Trac0.8 for WindowsXP
Stelling Carsten
Carsten.Stelling at goerlitz.com
Tue Jan 11 10:32:56 EST 2005
Thanks,
I've re-installed the whole stuff and found that trac installs itself
to the c:/python23/lib/site-packages path by default.
Added PYTHONPATH=c:/python23/lib/sitepackages to my PATH environment.
And what happened... It works!!!
Cheers,
Carsten
-----Ursprüngliche Nachricht-----
Von: trac-bounces at lists.edgewall.com
[mailto:trac-bounces at lists.edgewall.com]Im Auftrag von Christopher Lenz
Gesendet: Dienstag, 11. Januar 2005 13:28
An: trac at lists.edgewall.com
Betreff: Re: [Trac] WG: Problems running trac-admin after installation
of Trac0.8 for WindowsXP
Am 11.01.2005 um 10:45 schrieb Stelling Carsten:
>> I've checked the PYTHONPATH variable and didn't find any mistake.
>> I've tried
>> forward and backward slashes, but without success.
>>
>> PYTHONPATH=C:/python23/share/trac/templates;C:/python23/lib/site-
>> packages/svn;
>> C:/python23/lib/site-packages/libsvn;C:/python23/lib/site-packages/
>> trac
This looks wrong, although I'm not sure it should have an effect:
* First, the site-packages directory should be on the Python path by
default (i.e. you can omit the PYTHONPATH variable altogether)
* Second, the trac/templates directory doesn't contain python code and
thus doesn't actually need to be on the Python path.
* Third, if you actually for some reason *do* need to put the
site-packages directory on your PYTHONPATH, you put the site-packages
directory itself on the path, not the directories it contains. I.e.:
PYTHONPATH=C:/python23/lib/site-packages
Cheers,
Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de
_______________________________________________
Trac mailing list
Trac at lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac
More information about the Trac
mailing list