[Reportbug-maint] Bug#484534: Bug#484534: reportbug: Possible solution

Sandro Tosi matrixhasu at gmail.com
Wed Jun 11 22:38:13 UTC 2008

Hi Neil,

> The problem seems to be due to the use of python -S in the shebang line.
> The -S option disables 'import site' on initialization. If I edit
> /usr/bin/reportbug and remove the -S, the problem goes away.
> The conventional shebang line for python scripts is #!/usr/bin/env
> python. However, I can see that reportbug might want to eliminate the
> possibility of a non-standard python (eg from /usr/local) so just taking
> the -S off is probably the right thing to do.

Thanks a lot for this hint! I've checked and it works fine (may dirs
were left out with "-S"), thus I've just committed that change to our
svn repository (it will be included in the next release). In the
meantime, I've prepared a preliminary package here[1]: it would be
thankful if anyone with this problem can check it out.


[1] http://matrixhasu.altervista.org/debian/reportbug_3.42_all.deb

Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Reportbug-maint mailing list