This issue was resolved by moving to SQLITE.

On 1 July 2010 14:18, Shadi Almosri <[email protected]> wrote:

> 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]<trac-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>


-- 
Shadi Almosri
Technical Director

Dante Studios Ltd
2nd Floor, 3 Southwark Street,
London SE1 1RQ, United Kingdom

M. +44(0)77 6521 7181
T. +44 (0)20 3002 8478
E. [email protected]
W. www.dante-studios.com


This message is for the intended addressee's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mis-transmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.

All prices (where applicable) are quoted without VAT unless otherwise
stated.

Company Number: 6679663
VAT Registration Number: 937129509

-- 
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.

Reply via email to