Modify ↓
#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 )
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 , 21 years ago
| Description: | modified (diff) |
|---|---|
| Milestone: | 0.8.2 |
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



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