[Trac] TracTicket/Subversion Integration

Emmanuel Blot manu.blot at gmail.com
Tue Jul 25 03:34:37 CDT 2006


> When attempting to run the script "manually", I get this fun error:
> sys:1: DeprecationWarning: Non-ASCII character '\x8b' in file
> /usr/share/doc/trac/contrib/trac-post-commit-hook.gz on line 1,

.gz are compressed files and cannot be executed. (think of a ZIP file).
You need to decompress the file first:

gunzip trac-post-commit-hook.gz #will decompress in-place
or
gunzip -c trac-post-commit-hook.gz > trac-post-commit-hook #to keep
the original, gzipped file

HTH,
Manu


More information about the Trac mailing list