The trace you sent:

File "/usr/share/doc/trac/contrib/trac-post-commit-hook.gz", line 1
 —/åBtrac-post-commit-hookšIV>ÍR5±biÅ

looks like binary, not text.

What does the "file" command tell about this file?

Manu

On 7/25/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
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



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

Reply via email to