Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351606 - mail-client/evolution-2.32.1-r1 does note create addressbook for a newly created user
Summary: mail-client/evolution-2.32.1-r1 does note create addressbook for a newly crea...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 21:46 UTC by Per Öberg
Modified: 2011-07-31 11:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Öberg 2011-01-13 21:46:47 UTC
This bug is reported as per request in Bug 348063 (http://bugs.gentoo.org/show_bug.cgi?id=348063) which seems related to this bug.

After creating a completely new user from scratch and setting up evolution it behaves strangely regarding creation of the addressbook. When I tried to reproduce this bug before reporting I was unable to get the exact same problem as the first time but because it still behaves strangely I believe that my first scenario was just a variation of the same issue. 

THE SCENARIO BELOW HAPPENED ONCE, right after creation of a new user account

1) Start evolution as a new user. First time startup everythings seems fine and dandy, I create my mail-account (an imap account) and nothing more. 
 
2) I restart evolution, I now find that  it hangs for a while on "Formatting
 message", after or during which stdout says
 
> (evolution:17082): libebook-WARNING **: e-book.c:3079: cannot activate book:
> Error calling StartServiceByName for
> org.gnome.evolution.dataserver.AddressBook: Timeout was reached
> 
> (evolution:17082): evolution-mail-WARNING **: search_address_in_addressbooks:
> Unable to create addressbook 'Personal': Error calling StartServiceByName for
> org.gnome.evolution.dataserver.AddressBook: Timeout was reached
> 
> 

3) I now go to contacts to see what's wrong. There I have a "Personal"
addressbook "On This Computer" and after a while I get a popup saying:

"This address book cannot be opened.  Please check that the path
/home/obergtest/.local/share/evolution/addressbook/system exists and that
permissions are set to access it.

Detailed error message: Error calling StartServiceByName for
org.gnome.evolution.dataserver.AddressBook: Timeout was reached"

I naturally checked the permissions and existance of mentioned file/directory
but to no success. Look for example at: 
 
ls -la /home/obergtest/.local/share/evolution/

drwx------ 6 obergtest obergtest 4096 12 jan 22.09 .
drwxr-xr-x 5 obergtest obergtest 4096 12 jan 22.09 ..
drwx------ 3 obergtest obergtest 4096 12 jan 22.09 calendar
-rw-r--r-- 1 obergtest obergtest 2595 12 jan 22.09 categories.xml
drwx------ 5 obergtest obergtest 4096 12 jan 22.11 mail
drwx------ 3 obergtest obergtest 4096 12 jan 22.09 memos
drwx------ 3 obergtest obergtest 4096 12 jan 22.09 tasks
 


THE SCENARIO BELOW HAPPENS over and over again, at least three times in a row, right after creation of a new user account

1) Start evolution as a new user. First time startup everythings seems fine and dandy, I create my mail-account (an imap account) and nothing more. 

2) I check which files are available in the /home/obergtest/.local/share/evolution/ directory and find that the addressbook entry is not there.
 
3) I restart evolution and log in to my mail account. No noticeable problems so far except for a message in stdout

(evolution:12929): evolution-mail-WARNING **: search_address_in_addressbooks: Unable to open addressbook 'Personal': Cannot open book: db error 0x2 (No such file or directory)

4) I check which files are available in the /home/obergtest/.local/share/evolution/ directory and find that the addressbook entry is not there.


5) I now go to Contacts pane and whop de doo, now an addressbook is there, and also a directory entry called addressbook in the /home/obergtest/.local/share/evolution/ directory
 
I find it strange that "calendar" "task" and "memos" directories are all created upon setup but not "addressbook" and it probably should be because the mail conduit tries to use the addressbook before it's created, at least according to the warning message in stdout.

I wouln't call this issue critical since it all works out eventually but it indicates that there is something going on under the surface. Hopefully reporting this makes it easier for someone else experiencing the same issue.

Best
Per Öberg

Reproducible: Sometimes
Comment 1 Pacho Ramos gentoo-dev 2011-01-14 10:38:04 UTC
(In reply to comment #0)
> THE SCENARIO BELOW HAPPENED ONCE, right after creation of a new user account
> 
> 1) Start evolution as a new user. First time startup everythings seems fine and
> dandy, I create my mail-account (an imap account) and nothing more. 
> 
> 2) I restart evolution, I now find that  it hangs for a while on "Formatting
>  message", after or during which stdout says
> 
> > (evolution:17082): libebook-WARNING **: e-book.c:3079: cannot activate book:
> > Error calling StartServiceByName for
> > org.gnome.evolution.dataserver.AddressBook: Timeout was reached
> > 
> > (evolution:17082): evolution-mail-WARNING **: search_address_in_addressbooks:
> > Unable to create addressbook 'Personal': Error calling StartServiceByName for
> > org.gnome.evolution.dataserver.AddressBook: Timeout was reached
> > 
> > 

This looks like upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=637376

I would suggest you to CC on that bug report since it's more likely to be progress there than here.

> 
> 3) I now go to contacts to see what's wrong. There I have a "Personal"
> addressbook "On This Computer" and after a while I get a popup saying:
> 
> "This address book cannot be opened.  Please check that the path
> /home/obergtest/.local/share/evolution/addressbook/system exists and that
> permissions are set to access it.
> 
> Detailed error message: Error calling StartServiceByName for
> org.gnome.evolution.dataserver.AddressBook: Timeout was reached"
> 
> I naturally checked the permissions and existance of mentioned file/directory
> but to no success. Look for example at: 
> 
> ls -la /home/obergtest/.local/share/evolution/
> 
> drwx------ 6 obergtest obergtest 4096 12 jan 22.09 .
> drwxr-xr-x 5 obergtest obergtest 4096 12 jan 22.09 ..
> drwx------ 3 obergtest obergtest 4096 12 jan 22.09 calendar
> -rw-r--r-- 1 obergtest obergtest 2595 12 jan 22.09 categories.xml
> drwx------ 5 obergtest obergtest 4096 12 jan 22.11 mail
> drwx------ 3 obergtest obergtest 4096 12 jan 22.09 memos
> drwx------ 3 obergtest obergtest 4096 12 jan 22.09 tasks
> 
> 

Please open a separate bug in upstream for this problem (bugzilla.gnome.org) and post the link to it here. Thanks

> 
> THE SCENARIO BELOW HAPPENS over and over again, at least three times in a row,
> right after creation of a new user account
> 
> 1) Start evolution as a new user. First time startup everythings seems fine and
> dandy, I create my mail-account (an imap account) and nothing more. 
> 
> 2) I check which files are available in the
> /home/obergtest/.local/share/evolution/ directory and find that the addressbook
> entry is not there.
> 
> 3) I restart evolution and log in to my mail account. No noticeable problems so
> far except for a message in stdout
> 
> (evolution:12929): evolution-mail-WARNING **: search_address_in_addressbooks:
> Unable to open addressbook 'Personal': Cannot open book: db error 0x2 (No such
> file or directory)
> 
> 4) I check which files are available in the
> /home/obergtest/.local/share/evolution/ directory and find that the addressbook
> entry is not there.
> 
> 
> 5) I now go to Contacts pane and whop de doo, now an addressbook is there, and
> also a directory entry called addressbook in the
> /home/obergtest/.local/share/evolution/ directory
> 
> I find it strange that "calendar" "task" and "memos" directories are all
> created upon setup but not "addressbook" and it probably should be because the
> mail conduit tries to use the addressbook before it's created, at least
> according to the warning message in stdout.
> 
> I wouln't call this issue critical since it all works out eventually but it
> indicates that there is something going on under the surface. Hopefully
> reporting this makes it easier for someone else experiencing the same issue.
> 
> Best
> Per Öberg
> 
> Reproducible: Sometimes
> 

And this last problem looks to be related with previous one, then, maybe you should explain this also in the bug you will need to open upstream

Thanks and good luck!
Comment 2 Pacho Ramos gentoo-dev 2011-02-07 11:32:51 UTC
2.32.2 added to the tree, please retry with it and report to upstream if still
valid
Comment 3 Per Öberg 2011-02-08 11:36:30 UTC
(In reply to comment #2)
> 2.32.2 added to the tree, please retry with it and report to upstream if still
> valid
> 

The second behaviour is still valid. It's not, however, a big enough issue to keep this bug report open because in the end everything is sorted out automatically somehow. 



Comment 4 Clemente Aguiar 2011-07-31 10:43:55 UTC
I have the same problem.

I did a fresh install of Gentoo, including Evolution, and the address book is simply not created.

I have tried with the latest evolution version in the tree and the problem persists.

$ qlist -Iv evo
dev-python/evolution-python-2.32.0
gnome-extra/evolution-data-server-2.32.3
gnome-extra/evolution-webcal-2.32.0
mail-client/evolution-2.32.3

Here are the results for evolution-2.32.3:

1. run evolution (but still on the inbox view) I get:

$ evolution 
....
evolution:24916): libebook-WARNING **: e-book.c:3078: cannot activate book: Erro ao invocar StartServiceByName para org.gnome.evolution.dataserver.AddressBook: Foi atingido o tempo limite de espera

(evolution:24916): evolution-mail-WARNING **: search_address_in_addressbooks: Unable to create addressbook 'Pessoal': Erro ao invocar StartServiceByName para org.gnome.evolution.dataserver.AddressBook: Foi atingido o tempo limite de espera

2. I then select "Contacts" view:

(evolution:24916): libebook-WARNING **: e-book.c:3078: cannot activate book: Erro ao invocar StartServiceByName para org.gnome.evolution.dataserver.AddressBook: Foi atingido o tempo limite de espera

(evolution:24916): e-utils-WARNING **: Something called e_alert_dialog_constructed() with a NULL parent window.  This is no longer legal, please fix it.

And at the same time I get a pop-up window with:
----
Incapaz de abrir este livro de endereços.  Certifique-se de que o caminho /home/clemente/.local/share/evolution/addressbook/system existe e de que possui permissões para lhe aceder.

Mensagem de erro detalhada: Erro ao invocar StartServiceByName para org.gnome.evolution.dataserver.AddressBook: Foi atingido o tempo limite de espera
----

If you require any further info, please advise.
Comment 5 Pacho Ramos gentoo-dev 2011-07-31 11:58:26 UTC
Follow this steps please:
1. Update your system, run all additional steps that are usually needed (revdep-rebuild and all what is suggested in /var/log/portage/elog/summary.log).
2. Rebuild "dbus-glib" package
3. Create a new use account
4. Try to create an address bug but be sure you are not hitting bug 372651

If still valid, run evolution with "LC_ALL=C evolution" to get messages in english and open a new bug report with that information instead of using this one to keep it more ordered and also because we still don't know the root cause of this issues and, then, maybe your problem is caused by a different problem even having similar symptoms