[Reportbug-maint] Bug#484534: Bug#484534: reportbug: Possible solution
matrixhasu at gmail.com
Wed Jun 11 22:38:13 UTC 2008
> 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: it would be
thankful if anyone with this problem can check it out.
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