Bug 556210

Summary: [abrt] crash detected in gbirthday-0.5.7-0.2b.fc12
Product: [Fedora] Fedora Reporter: Julio Lazarotti <julio.lazarotti>
Component: gbirthdayAssignee: Thomas Spura <tomspur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: mdmpsyd, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:1820aba3
Fixed In Version: 0.6.3-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-02 20:45:01 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:
Attachments:
Description Flags
File: backtrace none

Description Julio Lazarotti 2010-01-17 05:50:13 UTC
abrt 1.0.0 detected a crash.

backtrace
-----
Summary: TB1820aba3 __init__.py:116:sync_to_mem:AttributeError: 'NoneType' object has no attribute 'host'

Traceback (most recent call last):
  File "/usr/bin/gbirthday", line 4, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/gbirthday/__init__.py", line 161, in main
    conf = Conf()
  File "/usr/lib/python2.6/site-packages/gbirthday/__init__.py", line 87, in __init__
    self.sync_to_mem()
  File "/usr/lib/python2.6/site-packages/gbirthday/__init__.py", line 116, in sync_to_mem
    self.MySQL.host = self.settings.get("mysql", "host")
AttributeError: 'NoneType' object has no attribute 'host'

Local variables in innermost frame:
self: <gbirthday.Conf instance at 0xb76dfc6c>
used_db: |mysql
ConfigParser: <module 'ConfigParser' from '/usr/lib/python2.6/ConfigParser.pyc'>

cmdline: /usr/bin/python /usr/bin/gbirthday 
component: gbirthday
executable: /usr/bin/gbirthday
kernel: 2.6.31.9-174.fc12.i686.PAE
package: gbirthday-0.5.7-0.2b.fc12
uuid: 1820aba3

Comment 1 Julio Lazarotti 2010-01-17 05:50:15 UTC
Created attachment 384883 [details]
File: backtrace

Comment 2 Thomas Spura 2010-01-17 11:52:52 UTC
Thanks for the bug report.
(I don't use MySQL...)

This is fixed in the git repository for now, will look into your other bug #554780 before making a new upstream release.

http://gbirthday.git.sourceforge.net/git/gitweb.cgi?p=gbirthday/gbirthday;a=commitdiff;h=2bccc72b1febad7f19aff06bb43bd9689d784ced

Comment 3 Fedora Update System 2010-01-19 12:13:26 UTC
gbirthday-0.6.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gbirthday-0.6.1-1.fc12

Comment 4 Fedora Update System 2010-01-21 00:13:11 UTC
gbirthday-0.6.2-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gbirthday'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0860

Comment 5 Fedora Update System 2010-02-02 20:44:52 UTC
gbirthday-0.6.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.