Bug 188237

Summary: TB3c1b0dfc yumexmain.py:595:doPref:AttributeError: 'NoneType'
Product: [Fedora] Fedora Reporter: Robert Elsner <elsner>
Component: yumexAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: chitlesh, extras-qa
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: 2006-04-18 13:27:47 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:

Description Robert Elsner 2006-04-07 11:41:35 UTC
Description of problem:
Yumex crashes.

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

How reproducible:
100% on my machine.

Steps to Reproduce:
1. Open Yumex (no refresh on start) and do nothing (especially not refresh the
repo list).
2. Open the preferences dialog and then hit "cancel" without changig anything.
3. Yumex crashes
  
Actual results:
I got this Traceback

Component: yumex
Version: 0.99.16
Summary: TB3c1b0dfc yumexmain.py:595:doPref:AttributeError: 'NoneType' object
has no attribute 'yumexconf'

Traceback (most recent call last):
  File "/usr/share/yumex/yumexmain.py", line 209, in on_EditPreferences
    self.doPref()
  File "/usr/share/yumex/yumexmain.py", line 595, in doPref
    self.yumexbase.yumexconf = self.settings
AttributeError: 'NoneType' object has no attribute 'yumexconf'

Local variables in innermost frame:
self: <__main__.YumexMainApplication instance at 0xb79e926c>

Expected results:
At least I would expect it not to crash ;).

Additional info:
Mail me if you got additional questions.

Comment 1 Tim Lauridsen 2006-04-07 11:49:34 UTC
I will take a look, at why this error occours and fix it.


Comment 2 Tim Lauridsen 2006-04-18 13:27:47 UTC
Fixed in next release 0.99.17, to be released soon.

Comment 3 Tim Lauridsen 2006-04-24 06:06:52 UTC
*** Bug 189703 has been marked as a duplicate of this bug. ***