Bug 427188
| Summary: | Pirut Crashes with "AttributeError: 'NoneType' object has no attribute 'samearch'" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | santhosh varma <varma.santhosh> |
| 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: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-01-02 14:26:07 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: Opera/9.24 (X11; Linux i686; U; en) Description of problem: Pirut when started crashes immediately. the dump of the error is attached. Component: pirut Summary: TBaa979ac4 priorities.py:88:exclude_hook:AttributeError: 'NoneType' object has no attribute 'samearch' Traceback (most recent call last): File "/usr/sbin/pirut", line 483, in <module> main() File "/usr/sbin/pirut", line 479, in main pm.run() File "/usr/sbin/pirut", line 407, in run self.doRefresh() File "/usr/sbin/pirut", line 423, in doRefresh self.doRefreshRepos(self._onlyrepo) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 339, in doRefreshRepos self.reposSetup(pbar, thisrepo) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 303, in reposSetup self.doTsSetup() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 63, in doTsSetup return self._getTs() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 77, in _getTs self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 393, in _getSacks self.plugins.run('exclude') File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 169, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/priorities.py", line 88, in exclude_hook if opts.samearch: AttributeError: 'NoneType' object has no attribute 'samearch' Local variables in innermost frame: conduit: <yum.plugins.MainPluginConduit instance at 0x9755fac> commands: None opts: None Version-Release number of selected component (if applicable): pirut-1.3.28-1.fc8 , kernel-2.6.23.1-42.fc8 How reproducible: Always Steps to Reproduce: 1.Installed FC8 i386 version 2. updated yum and yum.conf as stated in the http://www.fedorafaq.org/ fc8 page 3. when starting pirut it crashes now. Yum works without any problems Actual Results: When pirut is started it immediately crashes. Expected Results: Pirut should have run normally asking for the cd source. Additional info: