[Trac] TracTicket/Subversion Integration

Emmanuel Blot manu.blot at gmail.com
Tue Jul 25 04:42:34 CDT 2006


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 <r.d.wilkerson at gmail.com> 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 <manu.blot at gmail.com> 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
> > Trac at lists.edgewall.com
> > http://lists.edgewall.com/mailman/listinfo/trac
> >
>
>
> --
>
> Rob Wilkerson
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>


-- 
Manu


More information about the Trac mailing list