Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 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

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 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 trac-hacks.org from Trac 0.10 to 0.11, which involved moving some directories around.

comment:2 Changed 15 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
Action
as closed The owner will remain Michael Renzmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.