It's actually not a compressed file.  It just has that extension for
some reason.  I assumed the same thing, but it's a plain text python
script.  Strange, I know, but true.

On 7/25/06, Emmanuel Blot <[EMAIL PROTECTED]> wrote:
> 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
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac



--

Rob Wilkerson
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to