Bug 224366 - genre: optinoal
Summary: genre: optinoal
Keywords:
Status: CLOSED DUPLICATE of bug 224292
Alias: None
Product: Fedora
Classification: Fedora
Component: digikam
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Marcin Garski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-25 13:38 UTC by Mattias Ellert
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-25 14:06:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2007-01-25 13:38:28 UTC
Description of problem:

Software updater crashes...

Version-Release number of selected component (if applicable):

The version picked up by software updater

How reproducible:

Every time:

Steps to Reproduce:

Run software updater

Actual results:

Crash

Expected results:

No crash

Additional info:

The thrown exception is:

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 0x9fe22a8>
child: <Element 'packagereq' at 0x9fe21b8>

I think it is digikam's fault because the exception says "package: digikam", but
if someone else is to blame please reassign the bug.

Line 143 in usr/lib/python2.4/site-packages/yum/comps.py says:

if genre not in ('mandatory', 'default', 'optional', 'conditional'):
    raise CompsException

So the Software Updater crashes because of the typo, i.e. "optinoal" instead of
"optional".

Comment 1 Michael Schwendt 2007-01-25 14:06:15 UTC

*** This bug has been marked as a duplicate of 224292 ***


Note You need to log in before you can comment on or make changes to this bug.