Re: [Evolution] Unable to open address book

2014-04-21 Thread Milan Crha
On Sun, 2014-04-20 at 18:18 +0200, Ralf Mardorf wrote:
 I upgraded from 3.10.4 to 3.12.1 and then downgraded back to 3.10.4,
 because 3.12.1 is to buggy for my taste.

Hi,
makes sense, going forth and back doesn't work, internal format of
addressbook summaries changed for 3.12.x.

 The address book is in
 ~/.local/share/evolution/addressbook/system/

Close evolution, make sure evolution-addressbook-factory is also closed,
and then restore that folder's content.

 a link to ~/.local/share/evolution/addressbook/system-address-book
 didn't work,

Weird, the path is clearly wrong. Evolution should report the previous
path.

 deleting ~/.cache/evolution didn't help.

Makes sense, there are stored only remote data, not local (On This
Computer books are stored 'on this computer', aka they are local).

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Unable to open address book

2014-04-20 Thread Ralf Mardorf
Hi,

I upgraded from 3.10.4 to 3.12.1 and then downgraded back to 3.10.4,
because 3.12.1 is to buggy for my taste.

Unable to open address book

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

Detailed error message: Unable to connect to 'Personal': Error
introspecting unknown summary field 'file_as_localized'

The address book is in
~/.local/share/evolution/addressbook/system/
a link to ~/.local/share/evolution/addressbook/system-address-book
didn't work, deleting ~/.cache/evolution didn't help.

How can I get back the address book? I have a complete backup of my Arch
Linux, including home. Is there something I could restore from a backup
to solve the issue?

Happy Easter!
Ralf

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Unable to open address book

2013-05-07 Thread Gavin Simpson
Dear List,

I started using Linux Mint 14 after being a Fedora user for many years.
I backed up my data and settings using the Backup Menu item (File 
Backup Evolution Data...) on my Fedora 18 laptop and used the backup
file whilst setting up Evolution on my Desktop where I installed Linux
Mint 14.

When switching to the Contacts view I get an error message with the
following details:

Unable to open address book
This address book cannot be opened.  Please check that the
path /home/gavin/.local/share/evolution/addressbook/system-address-book
exists and that permissions are set to access it.
Detailed error message: Cannot open book: db error 0x8703
(DB_RUNRECOVERY: Fatal error, run database recovery)

When restoring from the Evolution backup it created:

$ ls -l ~/.local/share/evolution/addressbook/system
total 10352
-rw-r--r-- 1 gavin gavin69632 Apr 15 10:46 addressbook.db
-rw-r--r-- 1 gavin gavin 5549 Dec 15  2011 addressbook.db.summary
-rw-r--r-- 1 gavin gavin29696 Apr 15 10:46 contacts.db
-rw-r- 1 gavin gavin 10485760 Apr 29 23:23 log.01
drwx-- 2 gavin gavin 4096 Feb 11 21:42 photos

but Evolution seems to want
~/.local/share/evolution/addressbook/system-address-book. So I shutdown
Evolution, killed the address book background process and copied
~/.local/share/evolution/addressbook/system to
~/.local/share/evolution/addressbook/system-address-book and restarted
my system. Unfortunately that did not solve the problem.

In Linux Mint 14 I am running Evolution 3.6.2.

Anyone have suggestions as to what to try next so I can fix this
problem?

All the best,

Gavin
-- 
Gavin Simpson, PhD  [t] +1 306 337 8863
Adjunct Professor, Department of Biology[f] +1 306 337 2410
Institute of Environmental Change  Society [e] gavin.simp...@uregina.ca
523 Research and Innovation Centre  [tw] @ucfagls
University of Regina
Regina, SK S4S 0A2, Canada


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Unable to open address book on half of local address books.

2012-03-19 Thread Milan Crha
On Sat, 2012-03-17 at 19:18 +1100, Nick Jenkins wrote:
 Sometime after I upgraded from Evo 2.32 to Evo 3.2.2, I noticed that
 there are some local address books that I could no longer view.
 Specifically, when clicking on them, it doesn't show any contacts, but
 it shows the following error message in red:
 
   Unable to open address book
 
   This address book cannot be opened.  This either means that an
 incorrect URI was entered, or the server is unreachable.
 
   Detailed error message: Invalid source
 ---
 
 And if I start evolution from a console, I see this in the console
 when
 the above error appears:
 ---
   (evolution:7449): libebook-WARNING **: e_book_client_new: Cannot get
 book from factory: Invalid source
 ---
 
 There are 12 local address books: 6 where this happens, and another 6
 that work fine. 

Hi,
I recall one issue with address book definitions not being migrated
properly. It should be fixed in current sources, but I do not have exact
change handy. Try this command:
   $ gconftool-2 --get /apps/evolution/addressbook/sources | grep file:
which should usually return no lines, but for you, I believe, it'll
return 6 hits, while using grep local: will return about 7 hits for
you (one is a 'base_uri' in the 'group' element). All the books should
be identified by their local:UID 'uri', or the best they should not
have any 'uri' set, but only 'relative_uri', which is basically the same
as their 'uid'.

If you grep for 1220503344.8082.1@redux, which is the first folder in
your addressbooks directory, then you may ideally get something like
this around that value (I use 'XXX' instead of '1220503344.8082.1@redux'
for better readability).
   group uid=YYY
  name=On This Computer
  base_uri=local:
  readonly=no
...
source uid=XXX
name=newlocal
relative_uri=XXX
   properties.../properties
/source
...
   /group

In case the source will contain also 'uri' then it looks like this
uri=local:XXX, note of no double forward slashes after 'local:', but
as I said above, the On This Computer sources doesn't need uri key.

I hope I didn't get too much into detail, as for you it should be just
about getting rid of file:// and replace it with local:, and bonus
points if you get rid of uri, inside sources of On This Computer group
(other groups can have the 'uri' attribute mandatory). To edit the key
use gconf-editor, because it allows you to edit the key by group, not as
a whole list of groups. Of course, make a copy of the original value
first, thus you'll have a chance to return to something, if anything
goes wrong.

Any change in the key requires restart of evolution and
e-addressbook-factory process (it's run on demand, thus killing it
before making changes is sufficient).
Hope that helps,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Unable to open address book on half of local address books.

2012-03-19 Thread Nick Jenkins
   $ gconftool-2 --get /apps/evolution/addressbook/sources | grep file:
 which should usually return no lines, but for you, I believe, it'll
 return 6 hits

It did indeed!

 as for you it should be just about getting rid of file:// and
 replace it with local:, and bonus points if you get rid of uri,
 inside sources of On This Computer group
 (other groups can have the 'uri' attribute mandatory). To edit the key
 use gconf-editor, because it allows you to edit the key by group, not
 as a whole list of groups. Of course, make a copy of the original
 value first, thus you'll have a chance to return to something, if
 anything goes wrong.

Perfect! Yes, it works great now! Woohoo!

So summarise the solution steps in case anyone experiences the same
later on: run gconf-editor , navigate to apps/evolution/addressbook ,
double-click on sources , expand the window that appears, click on the
one with name=On This Computer, click edit, copy the edit list value
text, paste it into 2 text editor windows (one to edit, one to keep as a
backup), in the edit version go and delete the uri=file://x
parts, paste it back into the edit list value box, click OK, click OK
again, close the gconf-editor, File - Quit out of evolution, wait for
the window to close, then in a terminal do an evolution
--force-shutdown, wait 20 seconds, do a ps auxwf | grep
e-addressbook-factory to confirm the process is no longer running, then
restart evolution, and check all the local address books open, and they
should all work.

 Hope that helps

It most definitely helps! Thank you very much indeed. :-)

-- All the best,
Nick.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Unable to open address book on half of local address books.

2012-03-17 Thread Nick Jenkins
Hi all,

Sometime after I upgraded from Evo 2.32 to Evo 3.2.2, I noticed that
there are some local address books that I could no longer view.
Specifically, when clicking on them, it doesn't show any contacts, but
it shows the following error message in red:

  Unable to open address book

  This address book cannot be opened.  This either means that an
incorrect URI was entered, or the server is unreachable.

  Detailed error message: Invalid source
---

And if I start evolution from a console, I see this in the console when
the above error appears:
---
  (evolution:7449): libebook-WARNING **: e_book_client_new: Cannot get
book from factory: Invalid source
---

There are 12 local address books: 6 where this happens, and another 6
that work fine.

And in terms of what's on the file system, the 12 directories for the 12
local address books all look reasonably similar:

$ ls -Ral ~/.local/share/evolution/addressbook/
/home/nickj/.local/share/evolution/addressbook/:
total 56
drwx-- 14 nickj nickj 4096 2011-06-15 09:34 .
drwx--  8 nickj nickj 4096 2012-03-16 12:17 ..
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1220503344.8082.1@redux
drwx--  2 nickj nickj 4096 2012-02-13 13:20 1220589553.14241.3@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1220589571.14241.4@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1220589651.14241.6@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1220589678.14241.7@redux
drwx--  2 nickj nickj 4096 2012-01-14 16:18 1220589710.14241.8@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1220589758.14241.9@redux
drwx--  2 nickj nickj 4096 2012-01-14 16:18 1220589766.14241.10@redux
drwx--  2 nickj nickj 4096 2012-01-14 16:18 1267677591.2477.7@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1268345403.3506.3@redux
drwx--  2 nickj nickj 4096 2012-02-23 16:12 1301312958.6975.3@redux
drwx--  2 nickj nickj 4096 2012-01-30 21:01 system

/home/nickj/.local/share/evolution/addressbook/1220503344.8082.1@redux:
total 232
drwx--  2 nickj nickj   4096 2012-02-23 16:12 .
drwx-- 14 nickj nickj   4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 311296 2011-06-09 11:32 addressbook.db
-rw-r--r--  1 nickj nickj   5838 2011-06-09 11:32 addressbook.db.summary
-rw-r--r--  1 nickj nickj  26624 2012-02-23 16:12 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589553.14241.3@redux:
total 80
drwx--  2 nickj nickj  4096 2012-02-13 13:20 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 45056 2012-02-13 13:20 addressbook.db
-rw-r--r--  1 nickj nickj  4306 2011-12-13 10:36 addressbook.db.summary
-rw-r--r--  1 nickj nickj 22528 2012-02-13 13:20 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589571.14241.4@redux:
total 168
drwx--  2 nickj nickj  4096 2012-02-23 16:12 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 98304 2011-03-14 18:48 addressbook.db
-rw-r--r--  1 nickj nickj 15042 2011-03-14 18:48 addressbook.db.summary
-rw-r--r--  1 nickj nickj 45056 2012-02-23 16:12 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589651.14241.6@redux:
total 80
drwx--  2 nickj nickj  4096 2012-02-23 16:12 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 45056 2010-03-04 15:42 addressbook.db
-rw-r--r--  1 nickj nickj  4647 2010-03-04 15:42 addressbook.db.summary
-rw-r--r--  1 nickj nickj 22528 2012-02-23 16:12 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589678.14241.7@redux:
total 88
drwx--  2 nickj nickj  4096 2012-02-23 16:12 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 81920 2010-08-25 12:39 addressbook.db
-rw-r--r--  1 nickj nickj  3118 2010-08-25 12:39 addressbook.db.summary
-rw-r--r--  1 nickj nickj 16384 2012-02-23 16:12 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589710.14241.8@redux:
total 40
drwx--  2 nickj nickj  4096 2012-01-14 16:18 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 12288 2008-09-06 17:44 addressbook.db
-rw-r--r--  1 nickj nickj  1148 2008-09-06 17:45 addressbook.db.summary
-rw-r--r--  1 nickj nickj 14336 2012-01-14 16:18 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589758.14241.9@redux:
total 52
drwx--  2 nickj nickj  4096 2012-02-23 16:12 .
drwx-- 14 nickj nickj  4096 2011-06-15 09:34 ..
-rw-r--r--  1 nickj nickj 24576 2009-11-06 16:32 addressbook.db
-rw-r--r--  1 nickj nickj   972 2009-11-06 16:32 addressbook.db.summary
-rw-r--r--  1 nickj nickj 14336 2012-02-23 16:12 contacts.db

/home/nickj/.local/share/evolution/addressbook/1220589766.14241.10@redux:
total 84
drwx--  2 nickj nickj  4096 2012-01-14 16:18 .
drwx-- 14 nickj nickj