Bug 516957 - TypeError: exceptions must be classes or instances, not NotImplementedType
Summary: TypeError: exceptions must be classes or instances, not NotImplementedType
Status: CLOSED DUPLICATE of bug 520232
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F12Blocker, F12FinalBlocker
TreeView+ depends on / blocked
Reported: 2009-08-12 02:39 UTC by John Reiser
Modified: 2009-09-03 07:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-03 07:49:35 UTC
Type: ---

Attachments (Terms of Use)

Description John Reiser 2009-08-12 02:39:51 UTC
Description of problem: From out of the blue (not in response to any known user command) a dialog box appears on the desktop "An internal system error has occurred.  A problem that we were not expecting has occurred.  Please report htis bug in your distribution bugtracker with the error description."  There is no readily-identifiable process associated with the dialog.  There is a scroll box "More details" whose contents I will copy+paste below.

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

How reproducible: unknown; happened twice in same session, a few minutes apart.

Steps to Reproduce:
1. login, run "yum update" (updates anaconda and pungi) and finish yum, wait a couple minutes
Actual results:  Dialog box as in Description, with "More details":
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1195, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 976, in _getFileRepoXML
    cache=self.http_caching == 'all')
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 754, in _getFile
    result = self.mediafunc(local = local, checkfunc = checkfunc, relative = relative, text = text, copy_local = copy_local, url = url, mediaid = self.mediaid, name = self.name, discnum = discnum, range = (start, end))
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2863, in MediaGrabber
    manager = MediaManager()
  File "/usr/share/PackageKit/helpers/yum/yumMediaManager.py", line 101, in __init__
    raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType

Expected results: no dialog box complaining of mysterious error

Additional info:

Comment 1 Steven M. Parrish 2009-08-26 19:12:36 UTC
Please upgrade to the latest PackageKit in rawhide and report if this is still an issue.

Steven M. Parrish - KDE Triage Master
                  - PackageKit Triager
Fedora Bugzappers volunteer triage team

Comment 2 Steve Chapel 2009-08-28 03:10:19 UTC
I'm having the same problem, and yum info PackageKit reports:

Loaded plugins: refresh-packagekit
Installed Packages
Name       : PackageKit
Arch       : x86_64
Version    : 0.5.2
Release    : 0.1.20090824git.fc12
Size       : 1.7 M
Repo       : installed
From repo  : rawhide

Comment 3 Richard Hughes 2009-09-03 07:49:35 UTC

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

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