Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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


I just did a commit and got an error on the post commit hook:

Sending        0.11/LuntbuildTracIntegration/
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 8 years ago by Michael Renzmann

Resolution: fixed
Status: newclosed

Thanks for the hint, the issue is now fixed. It was caused due to me working on preparing the migration of from Trac 0.10 to 0.11, which involved moving some directories around.

comment:2 Changed 8 years ago by Michael Renzmann

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Michael Renzmann.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.