Bug 601372 - [abrt] crash in gbirthday-0.6.4-1.fc13: databases.py:458:add:AttributeError: 'NoneType' object has no attribute 'close'
Summary: [abrt] crash in gbirthday-0.6.4-1.fc13: databases.py:458:add:AttributeError: ...
Alias: None
Product: Fedora
Classification: Fedora
Component: gbirthday   
(Show other bugs)
Version: 13
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:83cd4088
: 619232 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-07 19:33 UTC by John Perdikouris
Modified: 2011-06-27 17:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-06-27 17:44:37 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (925 bytes, text/plain)
2010-06-07 19:33 UTC, John Perdikouris
no flags Details

Description John Perdikouris 2010-06-07 19:33:21 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gbirthday
component: gbirthday
executable: /usr/bin/gbirthday
package: gbirthday-0.6.4-1.fc13
reason: databases.py:458:add:AttributeError: 'NoneType' object has no attribute 'close'
release: Fedora release 13 (Goddard)

databases.py:458:add:AttributeError: 'NoneType' object has no attribute 'close'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gbirthday/status_icon.py", line 559, in finish_add
    db.add(name.get_text(), datetime.date(*calend))
  File "/usr/lib/python2.6/site-packages/gbirthday/databases.py", line 458, in add
AttributeError: 'NoneType' object has no attribute 'close'

Local variables in innermost frame:
msg: AttributeError("'NoneType' object has no attribute 'execute'",)
qry: "INSERT INTO person (name, date) VALUES ('\xce\x98\xce\xbf\xce\xb4\xcf\x89\xcf\x81\xce\xae\xcf\x82 \xce\x9b\xce\xb1\xce\xb8\xce\xbf\xcf\x8d\xcf\x81\xce\xb7\xcf\x82', '1981-09-18')"
self: <gbirthday.databases.MySQL instance at 0x20aa050>
birthday: '1981-09-18'
name: '\xce\x98\xce\xbf\xce\xb4\xcf\x89\xcf\x81\xce\xae\xcf\x82 \xce\x9b\xce\xb1\xce\xb8\xce\xbf\xcf\x8d\xcf\x81\xce\xb7\xcf\x82'

Comment 1 John Perdikouris 2010-06-07 19:33:23 UTC
Created attachment 421929 [details]
File: backtrace

Comment 2 Thomas Spura 2010-06-07 20:21:28 UTC
Thanks for the bug report.

Unfortunately, I don't use mysql, so I probably can't fix this on my own, so paches welcome ;)

I mailed the other author of gbirthday about this, but he's busy atm.
This could take a while, to get fixed...


Comment 3 Thomas Spura 2010-07-29 08:29:46 UTC
*** Bug 619232 has been marked as a duplicate of this bug. ***

Comment 4 john colucci 2011-01-06 16:19:13 UTC
Package: gbirthday-0.6.5-2.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)

How to reproduce
1.just rebooted could not load
2. keep happening when i reboot or initalize

Comment 5 Sushovan Mukherjee 2011-02-27 19:22:52 UTC
Package: gbirthday-0.6.5-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)

How to reproduce
1. Open Pref
2. Tick on MySQL
3. Entered login Info
4. Save & Close

Comment 6 Bug Zapper 2011-06-02 11:41:01 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 7 Bug Zapper 2011-06-27 17:44:37 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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