abrt 1.0.7 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/bin/gbirthday component: gbirthday executable: /usr/bin/gbirthday kernel: 2.6.31.12-174.2.22.fc12.i686.PAE package: gbirthday-0.6.3-1.fc12 reason: databases.py:229:parse:AttributeError: 'NoneType' object has no attribute 'list_addressbooks' release: Fedora release 12 (Constantine) backtrace ----- databases.py:229:parse:AttributeError: 'NoneType' object has no attribute 'list_addressbooks' 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 187, in main addressbook.reload() File "/usr/lib/python2.6/site-packages/gbirthday/addressbook.py", line 85, in reload database.parse(addressbook=self, conf=self.conf) File "/usr/lib/python2.6/site-packages/gbirthday/databases.py", line 229, in parse for book in evolution.ebook.list_addressbooks(): AttributeError: 'NoneType' object has no attribute 'list_addressbooks' Local variables in innermost frame: evolution: <module 'evolution' from '/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc'> addressbook: <gbirthday.addressbook.AddressBook instance at 0xb73b860c> self: <gbirthday.databases.Evolution instance at 0xb739fbec> conf: <gbirthday.Conf instance at 0xb76faa6c>
Created attachment 397585 [details] File: backtrace
Thanks for the bug report. How can this be reproduced? I don't see, why there shouldn'd be an evolution addressbook. If you don't have a evolution addressbook and use 'just' the other databases, you could try disabling evolution in the preferences, so this is unlikely to happen again. (If it does not work you could adjust your settings manually in ~/.gbirthdayrc) Could you please post your ~/.gbirthdayrc?
Hi Thomas, Thanks for the explanation. I thought the birth reminder is not only for the evolution. I use Thunderbirds now, but not Evolution. It would be better to rename gbirthday for evolution gbirthday or to have a check for such type of problems. I removed the birthreminder from the preferences. Thanks a lot! Youry PS But in any case that's a small bug.
Hmm, it started with a birthday reminder just for evolution and the rest was added after that. The problem is, when gbirthday is initially started something has to be guessed by default. The only thing, which comes to my mind, to solve this is: Check if there is a evolution book and if not, advise to disable in preferences like here in the bug... :) I think, I'll implement this, but maybe you have another idea...
Hi Thomas, I just found that my Evolution is still working well and I have 2 Contacts databases in Evolution: the first is connected to gmail account and second one is local. and I have the following in ~/.gbirthdayrc: [main] notify_future_bdays = 0 csv_files = None firstday = -2 databases = Evolution|Lightning lastday = 30 [mysql] username = database = name_row = name date_row = date host = localhost table = person password = port = 3306 Thanks, Youry PS By the way, I had no such problems before for about a year. This problem just started couple weeks ago. I used Fedora 11 and then upgraded to Fedora 12 about month or two ago. PPS I moved from Evolution to Thunderbirds, because had a problem with gmail calendar, but I see that problem is already solved.
Does that mean now gbirthday works again with evolution contacts? Or is the crash still there? (If you have 2 databases in Evolution, gbirthday should get them properly.)
Now I don't have any problem with gbirthday for the last couple day, but I did nothing. I simply started Evolution and checked the address book. Thanks, Youry
The next time, gbirthday will silently ignore, that you don't have an evolution addressbook. Fixed in git: http://gbirthday.git.sourceforge.net/git/gitweb.cgi?p=gbirthday/gbirthday;a=commitdiff;h=d5365c4d5cba014fbcb9e7ac97291cce3de4727e Because this bug seems to be solved for you, backporting this fix, is not nessessary. If you continue to have this problem, give me a holler and I'll do the backporting. If not, this will go into the next version of gbirthday (currently not planed, maybe next week, maybe next month). Closing as UPSTREAM.
gbirthday-0.6.4-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gbirthday-0.6.4-1.fc12
gbirthday-0.6.4-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gbirthday-0.6.4-1.fc11
gbirthday-0.6.4-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gbirthday-0.6.4-1.fc13
gbirthday-0.6.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
gbirthday-0.6.4-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
gbirthday-0.6.4-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.