Can't store info in gnome-keyring - no account details saved, can't check mail under Lucid

Bug #546747 reported by phillamg
104
This bug affects 23 people
Affects Status Importance Assigned to Milestone
cGmail
Triaged
High
Francesco Marella

Bug Description

I have cgmail-0.6.1-1ubuntu1 install on a fully updated Lucid system (just past beta 1) and cgmail does not seem to work with the keyring on a brand new user (it worked wonderfully under Karmic).
I've attached a screenshot of a brand new user just launched cgmail and tried to add a new account (default setting use the gnome-keyring to store account info). Nothing is stored in the keyring and whilst the cgmail icon appears, it does not check for mail (there was one item unread in that account). Closing cgmail and restarting it brings up a blank config window with no saved accounts.

Temp workaround: Delete the cgmail folders in .config and .gonf/apps and then set the option to store account info in a plain text file :( Re-start cgmail and add account info. It will work as expected (although the notification bubble has my Google Apps account name a bit messed up, it addes on @gmail.com).

Revision history for this message
phillamg (me-phillg) wrote :
Revision history for this message
phillamg (me-phillg) wrote :
Revision history for this message
phillamg (me-phillg) wrote :

Having just set it up as a plain text file on my real account, I thought I'd try switching from that to gnome-keyring. It seemed to hang cgmail (it went grey) but eventually said it there was mail (although the config window was not responding and I had to Force Quit out of it). On reload it is now set to store the info in the keyring (the password is no longer in the accounts.ini file) however there are four new keyrings that have been created, login_1 to login_4. These were not there previously and it looks as if cgmail is failing to have permission to create the login keyring and so creating a copy of it. It did finally add an entry into my Login keyring and I can close cgmail and re-open it with accounts remembered.

However when I tried the exact same procedure on my clean account, nothing happened (and nothing was added to the keyring) and cgmail did not freeze / stop responding. When I quit cgmail the account disappears as above and I have to delete the two cgmail folders and re-setup from scratch to make it work (with a plain text file) again.

Revision history for this message
phillamg (me-phillg) wrote :

I've just read of a similar bug in Docky's GMail notifier, could it be that the changes to gnome-keyring-sharp for GNOME 2.30 is causing this? I believe it's reported in bug 536925

Revision history for this message
phillamg (me-phillg) wrote :

After recent updates and full reboot cgmail cannot read the account info stored in my default keyring (login) although the entry is still there. Reverts back to "forgetting" account info when set to store in keyring

Revision history for this message
phillamg (me-phillg) wrote :

It seems bug 536925 has been resolved in libgnome-keyring1.0-cil (aka gnome-keyring-sharp) 1.0.0-2ubuntu1.
Quick test on one machine and CGMail is working as expected with the gnome-keyring! :-)
This bug can be closed (assuming I can't do that myself)...

Revision history for this message
Ketil Wendelbo Aanensen (ketilwaa-deactivatedaccount) wrote :

I'm still not able to keep settings if I use gnome-keyring. Lucid, fully updated. I now also have an account that I'm not able to delete by right click, see screenshot of that.

Revision history for this message
phillamg (me-phillg) wrote :

Hmm... it worked on my laptop (i386) but not on my AMD64 desktop and they are both fully up-to-date.

Revision history for this message
phillamg (me-phillg) wrote :

Forgot to add, that the GMail checker under Docky works fine on my desktop so it can't be platform related...

Revision history for this message
mp3foley (mp3foley) wrote :

Having same problems on fully updated Lucid Beta2 install. Will not remember account settings.
Doesn't seem to be even bringing up the icon in the tray either.

Revision history for this message
mp3foley (mp3foley) wrote :

Also got it to work with plain text file option, but could not get work around going when tried then changing to keyring option.
Found "Always show status icon" option under preferences, now icon always shows.

Revision history for this message
Josu Lazkano (josu-lazkano) wrote :

Hello, same problem on Debian Squeeze. cGmail 0.6.1

Regards.

Revision history for this message
anankee (ycarya) wrote :

same problem on Linux Mint 9

Its works with the solution to delete .config/cgmail et .gconf/cgmail and stored the account in plain text file.. but bug with the bullet: twice @gmail.com...

description: updated
Revision history for this message
Connie (diacalc) wrote :

Lucid upgraded from 9.10
In the keyring there is such string that contains wrong symbols. See the attachment

Revision history for this message
Francesco Marella (francesco-marella) wrote :

@Connie: those symbols are normal, string dividers.

After a few tests, I cannot reproduce this bug anymore in Lucid and cGmail 0.6.2.
The gnome keyring package is python-gnomekeyring, please report its version along with the steps to reproduce.

Changed in cgmail:
assignee: nobody → Francesco Marella (francesco-marella)
importance: Undecided → Medium
milestone: none → 0.6.2
status: New → Fix Committed
Changed in cgmail:
status: Fix Committed → Fix Released
Revision history for this message
Francesco Marella (francesco-marella) wrote :

I can finally reproduce this by switching to plain file and then adding a new account.
Looking for a fix now.

Changed in cgmail:
status: Fix Released → Triaged
milestone: 0.6.2 → 0.6.3
importance: Medium → High
Revision history for this message
Tiago Lopes de Azevedo (tiago-azevedo85) wrote :

Same problem in Ubuntu 10.10

Revision history for this message
Norbert (nrbrtx) wrote :

Same problem on 11.04. Only 'Use plain file' works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.