Bug 546539

Summary: [abrt] crash detected in gbirthday-0.5.4-1.fc12
Product: [Fedora] Fedora Reporter: aslowik
Component: gbirthdayAssignee: Thomas Spura <tomspur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: julio.lazarotti, kethorse, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:38fab21e
Fixed In Version: 0.5.5-2.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-18 04:38:57 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 aslowik 2009-12-11 06:39:54 UTC
abrt 1.0.0 detected a crash.

backtrace
-----
Summary: TB38fab21e databases.py:352:add:NameError: global name 'time' is not defined

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gbirthday/status_icon.py", line 544, in finish_add
    db.add(name.get_text(), datetime.date(*calend))
  File "/usr/lib/python2.6/site-packages/gbirthday/databases.py", line 352, in add
    create_time = str(int(time.time()) * 1000000)
NameError: global name 'time' is not defined

Local variables in innermost frame:
uuid: <module 'uuid' from '/usr/lib/python2.6/uuid.pyc'>
event_end: 1274997600000000
self: <gbirthday.databases.Lightning instance at 0x9fd57ac>
event_start: 1274911200000000
name: urodziny Agaty
birthday: 2010-05-26
event_date: 1274824800
uid: daa7469c-b240-43a9-9104-434ef92970df

cmdline: /usr/bin/python /usr/bin/gbirthday 
component: gbirthday
executable: /usr/bin/gbirthday
kernel: 2.6.31.6-162.fc12.i686
package: gbirthday-0.5.4-1.fc12
uuid: 38fab21e

Comment 1 aslowik 2009-12-11 06:39:57 UTC
Created attachment 377675 [details]
File: backtrace

Comment 2 Thomas Spura 2009-12-13 01:46:06 UTC
Thanks for reporting this.

Unfortunately I don't use Lightning, so I can't be for sure, if this now actually works.

But this should be fixed in the git repository.
I'm currently waiting on another possibly big bug and want to wait a bit for a next release.

Could you please test the new version, till making a new release?

http://tomspur.fedorapeople.org/bug/gbirthday-0.5.4-2.fc12.noarch.rpm

Comment 3 Thomas Spura 2009-12-14 16:50:10 UTC
The link from above is not obsolete.

I'll update as soon the infrastructure works again...

Could take a few hours, or a few days...

Comment 4 Fedora Update System 2009-12-15 09:29:43 UTC
gbirthday-0.5.5-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gbirthday-0.5.5-1.fc12

Comment 5 Fedora Update System 2009-12-16 00:10:24 UTC
gbirthday-0.5.5-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gbirthday-0.5.5-2.fc12

Comment 6 Fedora Update System 2009-12-18 04:38:42 UTC
gbirthday-0.5.5-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.