I have some error output now: Unable to verify ticket #1, reason: 'Unable to get database connection within 0 seconds. TracError(<babel.support.LazyProxy object at 0x3570fa0>,)'
Committed revision -1 *** Warning (took 00:02.047) Zero seconds is not leaving very much time. Is it possible to increase the timeout? On Dec 21, 10:46 pm, Steve S <[email protected]> wrote: > I am using Trac 0.12.1 and Agilo 1.3.2 and my scm is SVN. I set up > the pre-commit hook like it describes in the file: > > #!/bin/sh > REPOS="$1" > TXN="$2" > # Make sure that the log message contains some text. > SVNLOOK=/usr/bin/svnlook > PYTHON_EGG_CACHE=/srv/trac/myproj/.egg-cache/ > TRAC_ENV='/srv/trac/myproj/' > LOG=`$SVNLOOK log -t "$TXN" "$REPOS"` > /srv/svn/repositories/myproj/hooks/scripts/agilo_svn_hook_commit.py -s > pre -e "$TRAC_ENV" -l "$LOG" || exit 1 > > and I set up the post-commit hook also like it describes in the file: > > #!/bin/sh > > REPOS="$1" > REV="$2" > > TRAC_ENV='/srv/trac/myproj/' > /srv/svn/repositories/myproj/hooks/scripts/agilo_svn_hook_commit.py -s > post -e "$TRAC_ENV" -r "$REV" || exit 1 > > When I try to run agilo_svn_hook_commit.py -s pre -e /srv/trac/ > thundercloud/ -l "test" it just returns silently. If I miss any of > the required parameters, it does complain. However, when I try to > commit a file that is out of sync with our repository, it doesn't > complete the commit, but I don't get any errors in eclipse > (springsource tool suite, specifically, using subversive). I have a > ticket that is assigned to me, and the status is "in_work", described > by the following enterprise workflow: > > [ticket-workflow] > assign = new -> assigned > assign.operations = set_owner > assign.permissions = TICKET_MODIFY > fail = in_QA -> assigned > fail.permissions = TICKET_MODIFY > leave = * -> * > leave.default = 1 > leave.operations = leave_status > provideinfo = infoneeded -> assigned > provideinfo.default = 2 > provideinfo.name = provide info > provideinfo.permissions = TICKET_MODIFY > provideinfo_new = infoneeded_new -> new > provideinfo_new.default = 2 > provideinfo_new.name = provide info > provideinfo_new.permissions = TICKET_MODIFY > reassign = assigned,in_work -> assigned > reassign.operations = set_owner > reassign.permissions = TICKET_MODIFY > reassign_closed = closed -> closed > reassign_closed.name = reassign > reassign_closed.operations = set_owner > reassign_closed.permissions = TICKET_MODIFY > reopen = closed -> new > reopen.operations = del_resolution > reopen.permissions = TICKET_CREATE > requestinfo = assigned,in_work,in_QA -> infoneeded > requestinfo.name = request info > requestinfo.permissions = TICKET_MODIFY > requestinfo_new = new -> infoneeded_new > requestinfo_new.name = request info > requestinfo_new.permissions = TICKET_MODIFY > resolve = in_QA -> closed > resolve.operations = set_resolution > resolve.permissions = TICKET_MODIFY > start = assigned -> in_work > start.operations = set_owner_to_self > start.permissions = TICKET_MODIFY > stop = in_work -> assigned > stop.permissions = TICKET_MODIFY > test = new,assigned,in_work -> in_QA > test.permissions = TICKET_MODIFY > unassign = assigned,in_work -> new > unassign.operations = del_owner > unassign.permissions = TICKET_MODIFY > > Forgive me if that is too verbose, but I cannot determine if I am > using the script incorrectly, or if the script won't work with my > particular ticket workflow. Any help would be greatly appreciated. > > Thanks, > Steve -- Follow Agilo on Twitter: http://twitter.com/agiloforscrum Please support us by reviewing and voting on: http://userstories.com/products/8-agilo-for-scrum http://ohloh.net/p/agilo-scrum http://freshmeat.net/projects/agiloforscrum You have received this message because you are subscribed to the "Agilo for Scrum" Google Group. This group is focused on supporting Agilo for Scrum users and is moderated by Agilo Software GmbH <http://www.agiloforscrum.com>. To post to this group, send email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/agilo

