[Reportbug-maint] Bug#493362: running reportbug in a directory containing commands.py fails

Robert Collins robertc at robertcollins.net
Sat Aug 2 12:47:35 UTC 2008


Package: reportbug
Version: 3.39ubuntu3
Severity: normal

*** Please type your report below this line ***
Getting status for wnpp...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 1764, in <module>
    main()
  File "/usr/bin/reportbug", line 793, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1030, in user_interface
    status = reportbug.get_package_status(package)
  File "/usr/share/reportbug/reportbug.py", line 272, in
get_package_status
    packarg = commands.mkarg(package)
AttributeError: 'module' object has no attribute 'mkarg'
$ ls
commands.py
$ echo $PYTHONPATH
:/home/me/lib/python

I haven't dug deeper to see whether its a system python path issue, or
just
reportbug not being paranoid enough.

-- Package-specific info:
** Environment settings:
EDITOR="vim"
DEBEMAIL="robertc at robertcollins.net"
DEBFULLNAME="Robert Collins"
INTERFACE="text"

** /home/robertc/.reportbugrc:
reportbug_version "2.10.1"
mode standard
ui text
realname "Robert Collins"
email "robertc at robertcollins.net"

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=la.UTF-8, LC_CTYPE=la.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                       0.7.9ubuntu17  Advanced front-end for dpkg
ii  python                    2.5.2-0ubuntu1 An interactive high-level
object-o
ii  python-central            0.6.7ubuntu0.1 register and build utility
for Pyt

reportbug recommends no packages.

-- no debconf information

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20080802/d999b6f1/attachment.pgp 


More information about the Reportbug-maint mailing list