Opened 12 years ago
Last modified 12 years ago
#10287 closed defect
Error on commit — at Version 7
Reported by: | Ryan J Ollos | Owned by: | Michael Renzmann |
---|---|---|---|
Priority: | normal | Component: | TracHacks |
Severity: | normal | Keywords: | |
Cc: | Steffen Hoffmann, osimons | Trac Release: | 0.10 |
Description (last modified by )
I've seen the following error on commit:
post-commit hook failed (exit code 1) with output: /srv/trac-hacks.org/svn/trachacks/hooks/post-commit: line 47: /var/trac/trachacks010/log/trac-hacks-post-commit.log: No such file or directory
Change History (7)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → assigned |
---|---|
Trac Release: | 0.12 → 0.10 |
Should be fixed now. Please test and report back.
comment:3 Changed 12 years ago by
hasienda mentioned on IRC last evening that the post-commit hook is still not working, and I'm seeing the same thing. I had to manually insert ticket/8690.
comment:4 Changed 12 years ago by
Here is a hint. I still received the following email, even though there was not a comment inserted in the ticket:
#10292: Line number IDs are not necessarily unique --------------------+--------------------------------------------------- --------------------+---- Reporter: rjollos | Owner: rjollos Type: defect | Status: new Priority: normal | Component: LinenoMacro Severity: normal | Keywords: Release: 0.12 | --------------------+--------------------------------------------------- --------------------+---- In [11941], the `IHTMLPreviewAnnotator` that is utilized was changed to `trac.mimeview.api.LineNumberAnnotator`, which includes an anchor for each line number. If there is more than one line-numbered code block in a resource, then the line numbers will not be unique. This was brought to my attention in the ticket for adding the feature to the Trac core, t:#10834. -- Ticket URL: <https://trac-hacks.org/ticket/10292> Trac Hacks - Plugins Macros etc. <http://trac-hacks.org> Trac Hacks - Hosting for Trac Plugins, Macros, etc.
comment:5 Changed 12 years ago by
I ran a touch /srv/trac-hacks.org/trac/log/trac-hacks-post-commit.log
, and after a commit the file is populated with:
Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/local/bin/trac-post-commit-hook-010", line 71, in <module> import re ImportError: No module named re
comment:6 Changed 12 years ago by
comment:7 Changed 12 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
It looks like there are a couple of changes needed in
/srv/trac-hacks.org/svn/trachacks/hooks/post-commit
, and maybepre-revprop-change
as well.I'm too tired to deal with this now, but will make the changes and test in the morning if someone doesn't beat me to it.