On 11/02/2010 12:10 AM, mark ardiente wrote:
I tried manually adding the changeset and it works
trac-admin /var/path/to/trac/project changeset added path/to/svn/repo<revison>

but it issues this error when i commit any changes to my svn repo

  Warning: 'post-commit' hook failed with error output:
TracError: Unsupported database type "mysql"

Presuming that the two run as different users, I'd suggest that perhaps the post-commit hook user's environment is different than yours. Try:

sudo -u <post-commit user> -i

Then run your command.

Further, it could be that since it is not actually a login environment, that some paths are not being set up correctly for that user. This, of course, is heavily platform dependent, especially when dealing with older-style systems making use of environment variables to configure shared library paths.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
[email protected]

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