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

Sandro Tosi morph at debian.org
Thu Apr 28 20:57:55 UTC 2011


On Tue, Apr 26, 2011 at 22:22, Kevin Ryde <user42 at zip.com.au> wrote:
> Sandro Tosi <morph at debian.org> writes:
>>
>> $ python bts616455.py fvwm
>
> Ah, that succeeds.

that's because I used a try..except around the whole problematic code :)

>  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

that translated in a 'dpkg -l' output is:

$ COLUMNS=60 dpkg -l fvwm-icons
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
in  fvwm-icons     <none>         (no description available)

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

yep it is, even if it seems in a quite messed state.

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

That package is in a "not-installed" state, so I'm going to filter out
these kind of packages before retrieving information (that they are
missing).

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