Bug 465722 - Click Package collections -> An internal system error has occurred on Add/Remove Software.
Summary: Click Package collections -> An internal system error has occurred on Add/Re...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-06 02:06 UTC by sangu
Modified: 2008-10-06 08:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-06 02:27:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sangu 2008-10-06 02:06:08 UTC
Description of problem:
Click Package collections  -> An internal system error has occurred on Add/Remove Software.

Messages in error dialog 

Error Type: <type 'exceptions.ZeroDivisionError'>
Error Value: integer division or modulo by zero
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2018, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2015, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 582, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 547, in dispatch_command
    self.search_group(options, searchterms)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 389, in search_group
    self._handle_collections(fltlist)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 348, in _handle_collections
    step = int(800/len(collections))

Version-Release number of selected component (if applicable):
0.3.5-1.fc10

How reproducible:
always

Steps to Reproduce:
1. Launch Add/Remove Software
2. Click Package collections
3.
  
Actual results:


Expected results:


Additional info:
PackageKit-yum-0.3.5-4.fc10.i386

Comment 1 sangu 2008-10-06 02:27:51 UTC
After clicking Refresh package lists,  "Package collections" works well.

Not a bug?

Comment 2 Richard Hughes 2008-10-06 08:41:07 UTC
Sure, the bus is we shouldn't show a backtrace when the group list needs refreshing. I've fixed this in:

commit dfbe8255f9332eda3f03f0615aa573577a8b05fe
Author: Richard Hughes <richard>
Date:   Mon Oct 6 09:37:08 2008 +0100

    yum: don't backtrace when we have no groups and we try to search group on co


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