Bug 349651
| Summary: | Unhandled exception in pirut while running pup | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jos van Gisbergen <trychius> |
| Component: | pirut | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | james.antill |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-10-24 00:36:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070925 Fedora/2.0.0.6-10.fc8 Firefox/2.0.0.6 Description of problem: During the "retrieving software information" phase of pup a dialog box pops up saying an unhandled exception occurred in pirut. Version-Release number of selected component (if applicable): pirut-1.3.20-1.fc8 How reproducible: Always Steps to Reproduce: 1. click the pup icon, then wait until the error box pops up 2. 3. Actual Results: Expected Results: Additional info: Error listing: Component: pirut Summary: TB4dd9b21d HalCD.py:109:__getitem__:AttributeError: 'NoneType' object has no attribute 'GetProperty' Traceback (most recent call last): File "/usr/sbin/pup", line 614, in <module> main() File "/usr/sbin/pup", line 610, in main pup.run() File "/usr/sbin/pup", line 449, in run self.doRefresh() File "/usr/sbin/pup", line 267, in doRefresh pbar = self.doRefreshRepos(destroy=False) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 302, in doRefreshRepos self.reposSetup(pbar, thisrepo) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 268, in reposSetup self.doTsSetup() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 64, in doTsSetup return self._getTs() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 78, in _getTs self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 522, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.5/site-packages/yum/repos.py", line 239, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 142, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 199, in _check_db_version if repo.repoXML.repoData.has_key(mdtype): File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 758, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 750, in _getRepoXML self._loadRepoXML(text=self) File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 733, in _loadRepoXML cache=self.http_caching == 'all') File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 563, 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/lib/python2.5/site-packages/pirut/__init__.py", line 162, in pirutCDHandler if not dev["volume.is_mounted"]: File "/usr/lib/python2.5/site-packages/pirut/HalCD.py", line 109, in __getitem__ return self.volumedev.GetProperty(item) AttributeError: 'NoneType' object has no attribute 'GetProperty' Local variables in innermost frame: item: volume.is_mounted self: <pirut.HalCD.HALBlockDevice instance at 0x131b8c0>