I am using the post-commit hook from : http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook?rev=920
When I do SVN commit I got following error: "Commit failed (details follow): MERGE of '/Playground/Work/Development/Software/Embedded': 200 OK ( http://server1)". When I check the repository the commit was successful. I tried manually supplying parameters to the trac-post-commit-hook.py file and it was failing at "import sqlite" at line 74 and the sqline.connect at line 170. I changed the "sqlite" to "MySqlDb" and accordingly modified the database connection string still I get following error. " Traceback (most recent call last): File "trac-post-commit-hook.py", line 170, in <module> CommitHook() File "trac-post-commit-hook.py", line 128, in __init__ cmdGroups = commandPattern.findall(msg) TypeError: expected string or buffer" Thanks in advance for your help. Kind regards, hare On Oct 15, 9:15 pm, Erik Bray <[email protected]> wrote: > On Wed, Oct 14, 2009 at 10:49 AM, hare <[email protected]> wrote: > > > Hello All, > > > The SVN post-commit-hook provided by trac-edgewall is compatible only > > with > > sqlite. > > > Does anyone have experience with MySQL? I am trying to make it work > > but not > > successful yet. > > > Please give me answer or some pointers. I tried googling but no use. > > > kind regards, hare > > Exactly what problems are you having? As far as I can tell there's > nothing in the post-commit hook that specific to any DB backend, > SQLite or otherwise. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
