#1602: Fix & cleanup for .bat and .com for commit hook launch on Windows
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: enhancement | Status: new
Priority: low | Milestone:
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: contrib hook windows |
---------------------------------------+------------------------------------
Comment (by anonymous):
When clicking the trac-pre-commit-hook_4bat.2 and another link, there is
an internal error on this page. No files can be downloaded. This is the
error reported -
--------------------------
Trac detected an internal error:
If you think this really should work and you can reproduce it, you should
consider reporting this problem to the Trac team.
Go to http://trac.edgewall.com/ and create a new ticket where you describe
the problem, how to reproduce it. Don't forget to include the Python
traceback found below.
TracGuide — The Trac User and Administration Guide
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 299, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 189, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 289, in
process_request
self._render_view(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 465, in
_render_view
attachment.filename, raw_href, annotations=['lineno'])
File "/usr/lib/python2.3/site-packages/trac/mimeview/api.py", line 407,
in preview_to_hdf
url, annotations)}
File "/usr/lib/python2.3/site-packages/trac/mimeview/api.py", line 259,
in render
content = content.read(mimeview.get_max_preview_size())
NameError: global name 'mimeview' is not defined
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1602>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets