Peat,
I have the same setup as yourself. Modify your httpd.conf where you
define the Trac location to appear similarly to:
<Location "/">
SetHandler mod_python
PythonDebug on
PythonPath
"['/opt/csw/lib/python2.3','/opt/csw/lib/python2.3/plat-sunos5','/opt/csw/lib/python2.3/li
b-tk','/opt/csw/lib/python2.3/lib-dynload','/opt/csw/lib/python2.3/site-packages']"
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/apache2/trac.tfcc.com/trac
PythonOption TracUriRoot /
# Set your egg cache if its different that a lib path defined above
# SetEnv PYTHON_EGG_CACHE /opt/csw/lib/python2.3/site-packages
</Location>
Hope that helps :)
Joshua Preston.
On Wed, 2007-05-16 at 04:48 +0000, Peat Bakke wrote:
> Greetings,
>
> I'm running into a little trouble getting Trac to run on Solaris. I
> get the following error when I load up Trac in Firefox:
>
> ---
>
> Traceback (most recent call last):
> File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line
> 387, in dispatch_request
> dispatcher.dispatch(req)
> File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line
> 191, in dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
> File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line
> 263, in _pre_process_request
> chosen_handler = f.pre_process_request(req, chosen_handler)
> File "/opt/csw/lib/python2.3/site-packages/trac/versioncontrol/
> api.py", line 73, in pre_process_request
> self.get_repository(req.authname) # triggers a sync if applicable
> File "/opt/csw/lib/python2.3/site-packages/trac/versioncontrol/
> api.py", line 101, in get_repository
> repos = self._connector.get_repository(rtype, rdir, authname)
> File "/opt/csw/lib/python2.3/site-packages/trac/versioncontrol/
> svn_fs.py", line 259, in get_repository
> repos = SubversionRepository(dir, None, self.log)
> File "/opt/csw/lib/python2.3/site-packages/trac/versioncontrol/
> svn_fs.py", line 289, in __init__
> raise TracError("%s does not appear to be a Subversion
> repository." \
> TracError: /var/svn/sysadmin does not appear to be a Subversion
> repository.
>
> ---
>
> The problem is very similar to the issue described in ticket #2560,
> but tracd doesn't throw the exception.
>
> I've verified that /var/svn/sysadmin is a proper svn repository, and
> with some help from 'coderanger' in the IRC channel I've verified that
> Python seems to know what's up:
>
> * python -c 'from svn import fs' ... throws no errors.
> * python -c 'from svn import core;print
> core.SVN_VER_MAJOR,core.SVN_VER_MINOR,core.SVN_VER_MICRO' ... 1 4 3
>
> Otherwise my environment is:
>
> * Solaris 10, on a Joyent Accelerator.
> * Subversion 1.4.3
> * Trac 0.10.3
>
> Trac was installed via the most current Blastwave package (as of May
> 15, 2007).
>
> Any suggestions?
>
> Thanks!
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---