On Monday, June 1, 2015 at 4:35:47 PM UTC-5, Josh Santangelo wrote:
>
> The server has definitely been restarted.
>
> The only thing in httpd.conf that seems relevant is:
> WSGIScriptAlias / C:\Apache\cgi-bin\trac.wsgi
>
> There is no “WSGIDaemonProcess” and python isn’t even mentioned in the
> Apache config files.
>
> That file exists and contains:
>
> def application(environ, start_request):
> if not 'trac.env_parent_dir' in environ:
> environ.setdefault('trac.env_path', 'c:\\trac\\stimulant')
> if 'PYTHON_EGG_CACHE' in environ:
> os.environ['PYTHON_EGG_CACHE'] = environ['PYTHON_EGG_CACHE']
> elif 'trac.env_path' in environ:
> os.environ['PYTHON_EGG_CACHE'] = \
> os.path.join(environ['trac.env_path'], '.egg-cache')
> elif 'trac.env_parent_dir' in environ:
> os.environ['PYTHON_EGG_CACHE'] = \
> os.path.join(environ['trac.env_parent_dir'], '.egg-cache')
> from trac.web.main import dispatch_request
> return dispatch_request(environ, start_request)
>
> The only python install on the path is c:\python27 and
> c:\python27\scripts. c:\python27\scripts\tracd.exe and trac-admin exist,
> and report being 1.0.6.
>
> I suspect you’re right, it’s loading the wrong thing, or loading a cached
> thing, but I’m not sure where to look for the thing.
>
> I see the C:\Users\trac\AppData\Roaming\Python-Eggs
> and C:\trac\stimulant\.egg-cache directories, but they seem to only contain
> plugins, not trac itself.
>
> thanks again,
> -josh
>
If you set the log level to DEBUG and restart the web server you should be
able to see in the log where the components are being loaded from. For
example, running TracStandalone, I see the following at the start of the
log:
10:48:02 Trac[loader] DEBUG: Loading trac.about from
/Users/rjollos/Documents/Workspace/plugin-dev/pve/lib/python2.7/site-packages/Trac-1.0.7.dev0-py2.7.egg
10:48:02 Trac[loader] DEBUG: Loading trac.admin.console from
/Users/rjollos/Documents/Workspace/plugin-dev/pve/lib/python2.7/site-packages/Trac-1.0.7.dev0-py2.7.egg
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.