Edgewall Software

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1539 closed defect (invalid)

Post-Commit Hook not working (no module named env) — at Version 1

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

Change History (1)

comment:1 by Christopher Lenz, 19 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.

Note: See TracTickets for help on using tickets.