[Reportbug-maint] Bug#616455: AttributeError: 'NoneType' object has no attribute 'group'

Kevin Ryde user42 at zip.com.au
Tue Apr 26 20:22:25 UTC 2011


Sandro Tosi <morph at debian.org> writes:
>
> $ python bts616455.py fvwm

Ah, that succeeds.  But I copied some of the prints to the real one and
it dies on an fvwm-icons entry containing only

    Package: fvwm-icons
    Status: install ok not-installed
    Priority: optional
    Section: x11

Which I presume is being picked out because it's a "Recommends:" of
fvwm.  Does that look like everyone else's failing cases too?

Is that entry normal for dpkg?  Those not-installeds seem to get left
behind by old packages, but fvwm-icons still exists.  Don't think I've
had it installed.  I use apt all the time now, so dunno if it crept in
from an old update available or dselect something.




found paragraph:
Package: fvwm-icons
Status: install ok not-installed
Priority: optional
Section: x11


packop: (u'fvwm-icons',)
statob: (u'install ok not-installed',)
versob: None
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2127, in <module>
    main()
  File "/usr/bin/reportbug", line 1052, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1698, in user_interface
    utils.get_dependency_info(package, recommends, "recommends") +
  File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 639, in get_dependency_info
    for info in get_package_info(dependencies):
  File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 595, in get_package_info
    vers = versob.search(p).group('vers')
AttributeError: 'NoneType' object has no attribute 'group'





More information about the Reportbug-maint mailing list