Greetings all,
I have Trac installed on Leopard Server, along with mod_python and
MySQLdb, and I'm using the default installs of Apache2 and MySQL.
Everything went smoothly; I create a project environment, used the
mysql://user:[EMAIL PROTECTED]/db string to use MySQL. The database was
populated, and I launched tracd with "tracd /trac -p 8000"
Connected to localhost:8000 without any problems, then decided to give
connecting via mod_python a go. Stopped tracd, added the requisite
pieces to httpd.conf, and tried again.
Authenticated as per the parameters I'd set up in httpd.conf, and got
this:
---
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
web/api.py", line 339, in send_error
'text/html')
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
web/chrome.py", line 684, in render_template
data = self.populate_data(req, data)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
web/chrome.py", line 592, in populate_data
d['chrome'].update(req.chrome)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
web/api.py", line 169, in __getattr__
value = self.callbacks[name](self)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
ticket/web_ui.py", line 151, in get_navigation_items
if 'TICKET_CREATE' in req.perm:
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 523, in has_permission
return self._has_permission(action, resource)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 537, in _has_permission
check_permission(action, perm.username, resource, perm)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 424, in check_permission
perm)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 282, in check_permission
get_user_permissions(username)
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 357, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
perm.py", line 173, in get_user_permissions
db = self.env.get_db_cnx()
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
env.py", line 257, in get_db_cnx
return DatabaseManager(self).get_connection()
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
db/api.py", line 74, in get_connection
connector, args = self._get_connector()
File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
db/api.py", line 97, in _get_connector
raise TracError('Unsupported database type "%s"' % scheme)
TracError: Unsupported database type "mysql"
---
I assume it's that last bit - 'TracError: Unsupported database type
"mysql"' that's tripping me up. Any ideas as to why?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---