Hiya All, I have attempted to install Trac on a subdomain on one of our servers, but alas after a lot of trial and error, i'm close, but not quite there.
Here is the method i have attempted. Installed trac using yum: Using Plesk i created a subdomain called trac, i also setup a MySQL dababase for trac. Created the following folders: mkdir /var/www/vhosts/afid.org.uk/subdomains/trac/trac/ mkdir /var/www/vhosts/afid.org.uk/subdomains/trac/trac/plugins trac-admin /var/www/vhosts/afid.org.uk/subdomains/trac/test initenv Added the following to the vhost.conf file: SetEnv PYTHON_EGG_CACHE /var/www/vhosts/afid.org.uk/subdomains/trac/ trac/plugins SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/www/vhosts/afid.org.uk/subdomains/trac/trac/ test PythonOption TracUriRoot / PythonInterpreter main_interpreter ------------------ Visiting the Trac site provides lots of errors unfortunately: http://trac.afid.org.uk/ Any help would be greatly appreciated! Warning: Error with navigation contributor "AdminModule" Error with navigation contributor "SearchModule" Error with navigation contributor "QueryModule" Error with navigation contributor "ReportModule" Error with navigation contributor "RoadmapModule" Error with navigation contributor "TicketModule" Error with navigation contributor "TimelineModule" Error with navigation contributor "WikiModule" Oops… Trac detected an internal error: TypeError: unhashable type Python Traceback Most recent call last: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 120, in process_request req.perm(page.resource).require('WIKI_VIEW') File "/usr/lib/python2.4/site-packages/trac/perm.py", line 575, in require if not self._has_permission(action, resource): File "/usr/lib/python2.4/site-packages/trac/perm.py", line 566, in _has_permission decision = PermissionSystem(self.env). \ File "/usr/lib/python2.4/site-packages/trac/perm.py", line 454, in check_permission perm) File "/usr/lib/python2.4/site-packages/trac/perm.py", line 285, in check_permission permissions = PermissionSystem(self.env). \ File "/usr/lib/python2.4/site-packages/trac/perm.py", line 372, in get_user_permissions for perm in self.store.get_user_permissions(username) or []: File "/usr/lib/python2.4/site-packages/trac/perm.py", line 184, in get_user_permissions if user in subjects: TypeError: unhashable type System Information: Trac 0.12 Genshi 0.6 mod_python 3.2.8 MySQL server: "5.1.47", client: "5.0.67", thread-safe: 0 MySQLdb 1.2.1 Python 2.4.3 (#1, Sep 3 2009, 15:37:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] setuptools 0.6c7 Subversion 1.6.11 (r934486) -- 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.
