[Reportbug-maint] Bug#493362: Bug#493362: closed by "Sandro Tosi" <matrixhasu at gmail.com> (Re: Bug#493362: running reportbug in a directory containing commands.py fails)

Sandro Tosi matrixhasu at gmail.com
Sat Aug 2 14:05:47 UTC 2008


>> We do NOT support ubuntu, please don't report bug here for that distro.
>
> The bug is in Debian, I filed it in debbugs deliberately because thats
> where the bug originates. Its the upstream of the source code. (Or would
> you rather not know about defects in your code?)

I'd like to know real bugs in the code, not the one originated by
hijack the PYTHONPATH.

> When I got your email I was happy because I thought you had checked and
> found I was wrong. But actually, when I followed up and double checked

Of course I check (I don't close bug for the sake of it):

$ ls
commands.py
$ reportbug wnpp
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Sandro Tosi <matrixhasu at gmail.com>' as your from address.
Getting status for wnpp...
Will send report to Debian (per lsb_release).
What sort of request is this? (If none of these things mean anything
to you, or you are trying to report a bug in an
existing package, please press Enter to exit reportbug.)

1 ITP  This is an `Intent To Package'. Please submit a package
description along with copyright and URL in such a
       report.
2 O    The package has been `Orphaned'. It needs a new maintainer as
soon as possible.
3 RFA  This is a `Request for Adoption'. Due to lack of time,
resources, interest or something similar, the current
       maintainer is asking for someone else to maintain this package.
They will maintain it in the meantime, but
       perhaps not in the best possible way. In short: the package
needs a new maintainer.
4 RFH  This is a `Request For Help'. The current maintainer wants to
continue to maintain this package, but they needs
       some help to do this, because their time is limited or the
package is quite big and needs several maintainers.
5 RFP  This is a `Request For Package'. You have found an interesting
piece of software and would like someone else to
       maintain it for Debian. Please submit a package description
along with copyright and URL in such a report.

Choose the request type:
reportbug: exiting due to user interrupt.
$ echo $PYTHONPATH

$

> my results, it turns out you are incorrect; the version in Debian
> suffers the same flaw and the bug report is valid. Now I'm annoyed
> because I have had to track and validate this problem three times
> (Ubuntu, Debian, filed (from laptop which has Ubuntu), and back to
> Debian again to ascertain that your claim that it works fine is false).

is this a problem? you should allow me to help you, not me start
guessing what went wrong on your system.

> Please don't claim that things work fine when they do not.

mh, stop this; I won't comment...

> $ reportbug wnpp
> Warning: no reportbug configuration found.  Proceeding in novice mode.
> Detected character set: us-ascii
> Please change your locale if this is incorrect.
>
> Using 'robertc <robertc at xxxx>' as your from address.
> Getting status for wnpp...
> Traceback (most recent call last):
>  File "/usr/bin/reportbug", line 1827, in <module>
>    main()
>  File "/usr/bin/reportbug", line 850, in main
>    return iface.user_interface()
>  File "/usr/bin/reportbug", line 1090, in user_interface
>    status = reportbug.get_package_status(package)
>  File "/usr/share/reportbug/reportbuglib/reportbug.py", line 304, in
> get_package_status
>    packarg = commands.mkarg(package)
> AttributeError: 'module' object has no attribute 'mkarg'
> $ echo $PYTHONPATH
> :/home/foo
> $ ls
> commands.py
>
> dpkg -l ->
> ii  reportbug    3.44     reports bugs in the Debian distribution
> $ cat /etc/issue
> Debian GNU/Linux lenny/sid \n \l

and again:

morph at zion:~/tmp/deb/python/rep$ ls
commands.py
morph at zion:~/tmp/deb/python/rep$ PYTHONPATH=/home/morph/tmp/deb/python/rep/
morph at zion:~/tmp/deb/python/rep$ echo $PYTHONPATH
/home/morph/tmp/deb/python/rep/
morph at zion:~/tmp/deb/python/rep$ reportbug --version
reportbug 3.44
morph at zion:~/tmp/deb/python/rep$ reportbug wnpp
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Sandro Tosi <matrixhasu at gmail.com>' as your from address.
Getting status for wnpp...
Will send report to Debian (per lsb_release).
What sort of request is this? (If none of these things mean anything
to you, or you are trying to report a bug in an
existing package, please press Enter to exit reportbug.)

1 ITP  This is an `Intent To Package'. Please submit a package
description along with copyright and URL in such a
       report.
2 O    The package has been `Orphaned'. It needs a new maintainer as
soon as possible.
3 RFA  This is a `Request for Adoption'. Due to lack of time,
resources, interest or something similar, the current
       maintainer is asking for someone else to maintain this package.
They will maintain it in the meantime, but
       perhaps not in the best possible way. In short: the package
needs a new maintainer.
4 RFH  This is a `Request For Help'. The current maintainer wants to
continue to maintain this package, but they needs
       some help to do this, because their time is limited or the
package is quite big and needs several maintainers.
5 RFP  This is a `Request For Package'. You have found an interesting
piece of software and would like someone else to
       maintain it for Debian. Please submit a package description
along with copyright and URL in such a report.

Choose the request type:
reportbug: exiting due to user interrupt.

So the problem is on your machine, and hijacking the PYTHONPATH can't
be considered a bug in reportbug: what would happen if you change the
LD_LIBRARY_PATH for a shared-linked C binary?

Sandro

-- 
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