Trac requires enviroment at root
2 posts
• Page 1 of 1
- mysticsage
- Posts: 1
- Joined: 28 Jun 2013, 10:02
Trac requires enviroment at root
Trac does not honor the path set in environ and always want the env to be at root in a folder trac
Re: Trac requires enviroment at root
Hello,
if you look in web.config of trac application you can see:
So you can fix PATH or PYTHONPATH environment variables as you need.
if you look in web.config of trac application you can see:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="TracWsgi.project" >
<environmentVariables>
<add name="VIRTUAL_ENV" value="%APPL_PHYSICAL_PATH%\venv" />
<add name="PATH" value="%APPL_PHYSICAL_PATH%\venv\Scripts;%PATH%" />
<add name="PYTHONPATH" value="%APPL_PHYSICAL_PATH%\venv\lib\site-packages;%APPL_PHYSICAL_PATH%\venv\lib;%APPL_PHYSICAL_PATH%;%PYTHONPATH%" />
<add name="DEPLOY_FILE" value="deploy.py" />
<!-- <add name="DEPLOY_LOG" value="deploy.log" /> -->
<add name="ERROR_LOG_DIR" value="log" />
<add name="WSGI_APP" value="trac_wsgi.application" />
</environmentVariables>
</application>
</heliconZoo>
...
</system.webServer>
</configuration>
So you can fix PATH or PYTHONPATH environment variables as you need.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests