Hey,
I'm kind of stuck, the agilo hook script is throwing an error :(.
What am I missing? Anyone spot the problem?
svn: 'pre-commit' hook failed with error output:
Traceback (most recent call last):
File "/usr/share/subversion/hook-scripts/agilo_svn_hook_commit.py", line
54, in ?
from agilo.utils.svn_hooks import AgiloSVNPreCommit, AgiloSVNPostCommit
ImportError: No module named agilo.utils.svn_hooks
Versions, paths etc:
Debian etch i386
Trac 0.11.4
agilo 0.7.4.1-r1624-20090611
TracAccountManager 0.2.1dev-r5836
# ls -la /usr/share/subversion/hook-scripts/agilo_svn_hook_commit.py
-rwxr-xr-x 1 root root 3687 2009-08-28 16:22
/usr/share/subversion/hook-scripts/agilo_svn_hook_commit.py
## pre-commit
#!/bin/sh
REPOS="$1"
TXN="$2"
# Make sure that the log message contains some text.
SVNLOOK=/usr/bin/svnlook
PYTHON_EGG_CACHE=/var/cache/python
TRAC_ENV="/home/trac"
LOG=`$SVNLOOK log -t "$TXN" "$REPOS"`
/usr/share/subversion/hook-scripts/agilo_svn_hook_commit.py -s pre -e
"$TRAC_ENV" "$LOG" || exit 1
## post-commit
#!/bin/sh
REPOS="$1"
REV="$2"
TRAC_ENV='/home/trac'
/usr/share/subversion/hook-scripts/agilo_svn_hook_commit.py -s post -e
"$TRAC_ENV" -r "$REV" || exit 1
# ls -la /home/trac
drwxrwsr-x 5 trac trac 4096 2009-09-02 15:08 .
drwxr-xr-x 20 root root 4096 2009-09-04 11:14 ..
drwxrwsr-x 13 trac trac 4096 2009-07-01 15:29 somesite
# trac.ini contains:
agilo.utils.svn_hooks = enabled
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
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/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---