Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1539 closed defect (invalid)

Post-Commit Hook not working (no module named env)

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.1
Severity: major Keywords: post commit hook module env
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Hi,

i get the following error when trying to use the post-commit-hook from (http://projects.edgewall.com/trac/file/trunk/contrib/trac-post-commit-hook). Don't know if it's important, but i'm using Trac on a Windows machine.

Traceback (most recent call last):
  File "trac-post-commit.py", line 74, in ?
    from trac.env import open_environment
ImportError: No module named env

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 15 years ago

Description: modified (diff)
Milestone: 0.8.2
Resolution: invalid
Status: newclosed

The script you installed is for the development version of Trac and doesn't work with 0.8.1. Use this one instead.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.