comps hosed?

Christoph Wickert christoph.wickert at nurfuerspam.de
Thu Jan 25 13:57:42 UTC 2007


For two days I'm getting a pup error now:

> Component: Software Updater
> Summary: TB8a9160cb comps.py:143:parse_package_list:CompsException
> 
> Traceback (most recent call last):
>   File "/usr/sbin/pup", line 659, in ?
>     main()
>   File "/usr/sbin/pup", line 655, in main
>     pup.run()
>   File "/usr/sbin/pup", line 494, in run
>     self.doRefresh()
>   File "/usr/sbin/pup", line 269, in doRefresh
>     self.reposSetup(pbar)
>   File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 153, in reposSetup
>     self.doGroupSetup()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 408, in doGroupSetup
>     self.comps.add(groupfile)
>   File "/usr/lib/python2.4/site-packages/yum/comps.py", line 339, in add
>     group = Group(elem)
>   File "/usr/lib/python2.4/site-packages/yum/comps.py", line 57, in __init__
>     self.parse(elem)
>   File "/usr/lib/python2.4/site-packages/yum/comps.py", line 133, in parse
>     self.parse_package_list(child)
>   File "/usr/lib/python2.4/site-packages/yum/comps.py", line 143, in parse_package_list
>     raise CompsException
> CompsException
> 
> Local variables in innermost frame:
> genre: optinoal
> self: Graphics
> package: digikam
> packagelist_elem: <Element 'packagelist' at 0x8d202a8>
> child: <Element 'packagereq' at 0x8d201b8>

The typo "genre: optinoal" seems to be where the error comes from.
Thanks to Peter Gordon this is already fixed in CVS. How and how often 
is comps being pushed?

Also I see that Micheal Schwendt fixed some errors in comps yesterday. 
Maybe we should think about a way avoid situations like these in the 
future? We should at least take care that _if_ something is wrong with 
comps, it shouldn't get pushed.

Christoph




More information about the fedora-extras-list mailing list