FS#18965 - [cgmail] crashes at start
Attached to Project:
Community Packages
Opened by Martin Dratva (raqua) - Monday, 05 April 2010, 11:10 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 10 December 2011, 10:48 GMT
Opened by Martin Dratva (raqua) - Monday, 05 April 2010, 11:10 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 10 December 2011, 10:48 GMT
|
Details
Description:
cGmail notifier doest not work since Gnome was updated to 2.30. Crashes with some keyring complaint. Additional info: $ cgmail ** Message: secret service operation failed: Cannot get secret of a locked object Traceback (most recent call last): File "/usr/bin/cgmail", line 26, in <module> a = AccountsWindow() File "/usr/lib/python2.6/site-packages/cGmail/manager/accountswindow.py", line 56, in __init__ self.amanager = AccountManager() File "/usr/lib/python2.6/site-packages/cGmail/lib/accountmanager.py", line 49, in __init__ self.__keyring_dict_helper = KeyringDictHelper() File "/usr/lib/python2.6/site-packages/cGmail/lib/keyringdicthelper.py", line 96, in __init__ keyring_handler = KeyringHandler() File "/usr/lib/python2.6/site-packages/cGmail/lib/keyringdicthelper.py", line 30, in __init__ self.__data = self.__read() File "/usr/lib/python2.6/site-packages/cGmail/lib/keyringdicthelper.py", line 47, in __read auth_token).get_secret() gnomekeyring.IOError package versions: cgmail 0.5-3 gnome 2.3.0-1 Steps to reproduce: just start cgmail |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Saturday, 10 December 2011, 10:48 GMT
Reason for closing: Fixed
Additional comments about closing: Crash bug since april 2010. Moving to unsupported.
Saturday, 10 December 2011, 10:48 GMT
Reason for closing: Fixed
Additional comments about closing: Crash bug since april 2010. Moving to unsupported.
@Wonder: If you don't want to help with community orphans anymore, let me know.
Either way, you probably know gnome 2.3.0 better than me :P
now back in business.
@raqua please use abs and update to 0.6.1 and see if is working.
http://launchpad.net/cgmail/0.6/0.6.1/+download/cgmail-0.6.1.tar.gz
if is not working, add to this version this patch:
http://launchpadlibrarian.net/42003712/default_keyring.patch
I do not know how to apply patch and right now have no time. I will try to read something about it during week and try to apply that patch.
This was the result:
Phenom:/home/raqua# locate cgmail
/home/raqua/cgmail-0.6.1-1-i686.pkg.tar.xz
/var/lib/pacman/sync/community/cgmail-0.5-3
/var/lib/pacman/sync/community/cgmail-0.5-3/depends
/var/lib/pacman/sync/community/cgmail-0.5-3/desc
Reinstalled cgmail again.
Still the same result. If I add account, it is not twice there now, but cgmail keeps forgetting this info. When I close config window and open it again, that account is not there. I think it is never written to keyring as I can not find anything related to cgmail in there.
Status icon of cgmail running is present, but ps -A | grep cgmail show no result. If I try to run cgmailservice I get a response that this is already running.
Starting cgmail from CLI:
Phenom:~# cgmail
** (cgmail:17567): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (cgmail:17567): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (cgmail:17567): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
/usr/lib/python2.6/site-packages/cGmail/manager/accountswindow.py:72: GtkWarning: Theme file for Vanilla-DMZ has no directories
self.builder2.add_from_file(UI_FILE)
** (cgmailservice:18087): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (cgmailservice:18087): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (cgmailservice:18087): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
seems that is fixed in 0.7 which is not released yet
On the other hand, this: https://bugs.launchpad.net/cgmail/+bug/546747 and this: https://bugs.launchpad.net/ubuntu/+source/gnome-keyring-sharp/+bug/536925 hints that it could be in fact gnome's bug not a cgmail bug.
UPDATE:
tested this and still getting the same error on 32bit
What is not working:
- starting from CLI results in segmentation fault, but starting from menu works (???)
- when I start service and set it to use gnome keyring, it will not sync with gmail
- after closing the GUI and reopening, my account is not there
** (cgmail.py:4564): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (cgmail.py:4564): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (cgmail.py:4564): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/usr/share/cgmail/cgmail.py", line 49, in <module>
a = AccountsWindow()
File "/usr/share/cgmail/cGmail/manager/accountswindow.py", line 58, in __init__
self.amanager = AccountManager()
File "/usr/share/cgmail/cGmail/lib/accountmanager.py", line 51, in __init__
self.__keyring_dict_helper = KeyringDictHelper()
File "/usr/share/cgmail/cGmail/lib/keyringdicthelper.py", line 106, in __init__
keyring_handler = KeyringHandler()
File "/usr/share/cgmail/cGmail/lib/keyringdicthelper.py", line 30, in __init__
self.__data = self.__read()
File "/usr/share/cgmail/cGmail/lib/keyringdicthelper.py", line 39, in __read
keyring = gnomekeyring.get_default_keyring_sync()
gnomekeyring.IOError
x86_64