Modify ↓
#6240 closed defect (fixed)
track-hack post-commit hook failed - /var/trac/trachacks//log/trac-hacks-post-commit.log doesn't exist
Reported by: | David Roussel | Owned by: | Michael Renzmann |
---|---|---|---|
Priority: | normal | Component: | TracHacks |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I just did a commit and got an error on the post commit hook:
Sending 0.11/LuntbuildTracIntegration/LuntbuildTracIntegrationPlugin.py Transmitting file data . Committed revision 7159. Warning: post-commit hook failed (exit code 1) with output: /var/svn/trachacks/hooks/post-commit: line 47: /var/trac/trachacks//log/trac-hacks-post-commit.log: No such file or directory
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Just came across another issue: we're now using virtualenvs, and the post-commit hook script was executed outside the correct virtualenv. This is now fixed, too.
Note: See
TracTickets for help on using
tickets.
Thanks for the hint, the issue is now fixed. It was caused due to me working on preparing the migration of trac-hacks.org from Trac 0.10 to 0.11, which involved moving some directories around.