Re: [Evolution] Unable to retrive message

2015-01-26 Thread Joakim Tjernlund
On Fri, 2015-01-23 at 08:08 +0100, Milan Crha wrote:
> On Thu, 2015-01-22 at 10:07 +, Joakim Tjernlund wrote:
> > 
> > (evolution:5585): GLib-GObject-CRITICAL **: g_closure_unref: 
> > assertion 'closure->ref_count > 0' failed
> > 
> > Could you look into the above glib error too? I sent a mail about 
> > that earlier.
> 
> Hi,
> I'm sorry, but no. I told you, also earlier, that the bug is not in 
> Evolution, it's in WebKit. Get a backtrace [1] from it and you'll see 
> it yourself. There is nothing Evolution can do with it, except stop 
> using WebKit, which won't happen.
> 
> [1]   $ gdb evolution --ex r --ex "b g_logv" --ex c --ex bt --ex c
> which runs evolution, then let it finish its initial duties, find
> a way to reproduce the critical warning, then press Ctrl+C once in
> the terminal, which will set the breakpoint, then reproduce
> the warning and if it'll be the first hit, then the shown backtrace
> will provide info from where the warning comes. Feel free to repeat
> the pair of commands "c" followed by "bt" to get more backtraces.
> Quit gdb with a "q" command. As I said in the previous thread,
> it's better to know, than to guess.

After struggling with building webkit with debug sysmbols I managed to
get at backtrace from gdb using the gdb command above, I hope
you can make something out of it.


(evolution:25206): GLib-GObject-CRITICAL **: g_closure_unref: assertion 
'closure->ref_count > 0' failed
^C
Program received signal SIGINT, Interrupt.
0x73a2bbbd in poll () at ../sysdeps/unix/syscall-template.S:81
81  ../sysdeps/unix/syscall-template.S: No such file or directory.
Breakpoint 1 at 0x73d43790: file 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmessages.c, line 
920.
Continuing.
[Thread 0x7fff775f8700 (LWP 25222) exited]
[New Thread 0x7fff775f8700 (LWP 25282)]

Breakpoint 1, g_logv (log_domain=0x74060166 "GLib-GObject", 
log_level=G_LOG_LEVEL_CRITICAL, 
format=0x73db0bca "%s: assertion '%s' failed", 
args=args@entry=0x7fffc948)
at 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmessages.c:920
920 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmessages.c: No 
such file or directory.
#0  g_logv (log_domain=0x74060166 "GLib-GObject", 
log_level=G_LOG_LEVEL_CRITICAL, format=0x73db0bca "%s: assertion '%s' 
failed", 
args=args@entry=0x7fffc948) at 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmessages.c:920
#1  0x73d43bd2 in g_log (log_domain=, 
log_level=, format=)
at 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmessages.c:1071
#2  0x76003a55 in operator= (optr=0x0, this=0x7fffdc0ee2c8) at 
./Source/WTF/wtf/gobject/GRefPtr.h:142
#3  WebCore::GObjectEventListener::gobjectDestroyed (this=0x7fffdc0ee2a0) at 
Source/WebCore/bindings/gobject/GObjectEventListener.cpp:61
#4  0x7403ae9f in weak_refs_notify (data=0x2dc7980) at 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/gobject/gobject.c:2572
#5  0x7403bd0c in g_object_unref (_object=0x359c110)
at 
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/gobject/gobject.c:3075
#6  0x76002c1c in WebKit::DOMObjectCache::clearByFrame 
(frame=)
at Source/WebCore/bindings/gobject/DOMObjectCache.cpp:109
#7  0x757dfb0e in WebCore::FrameLoader::commitProvisionalLoad 
(this=0x7fffdc037c88) at Source/WebCore/loader/FrameLoader.cpp:1817
#8  0x757c5fad in WebCore::DocumentLoader::commitLoad 
(this=0x7fffdc04cb00, 
data=0x7fffdc030780 "\n\n\n\nEvolution Mail 
Display\n\n  

Re: [Evolution] Cannot see contacts/addressbook from imported data

2015-01-26 Thread Milan Crha
On Sun, 2015-01-25 at 16:48 +0100, edmund wrote:
> -
> Unable to open address book
> 
> This address book cannot be opened.  Please check that the
> path /home/ed/.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'
> 

Hi,
it seems to me that you took a backup from a newer evolution and 
restored it in an older evolution. There had been done some changes in 
the stored format in contacts between the two versions, which results 
in that "Detailed error message".

You cannot restore your contacts this way, the internal format change 
doesn't allow to restore from the newer evolution. What you can do is 
to use certain command line tools and restore your contacts by an 
import. That might be done this way:

a) close evolution and make sure evolution-addressbook-factory process
   is not running (possibly kill it, when it's shown in `ps ax | grep 
evolution`)
b) extract the contacts from the too new database:
   $ sqlite3 
/home/ed/.local/share/evolution/addressbook/system-address-book/contacts.db 
"SELECT VCARD from folder_id;">contacts.vcf
   By the way, I have it stored at ~/.local/share/evolution/addressbook/system/.
c) move away the folder:
   /home/ed/.local/share/evolution/addressbook/system-address-book
   thus evolution will recreate it the next start
d) run evolution, switch to Contacts view and check you can select
   the On This Computer/Personal addressbook; it will be shown empty,
   but you will be able to select it and no error will be shown
e) from menu: File->Import->Single file->select the contacts.vcf
   from step b), the vCard format will be chosen for you; click Next,
   select On This Computer/Personal, then continue till the import
   wizard will not finish.

After this the Personal address book will show the contacts as before.

Hope it helps,
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


Re: [Evolution] Unable to retrive message

2015-01-26 Thread Milan Crha
On Mon, 2015-01-26 at 08:39 +, Joakim Tjernlund wrote:
> 
> After struggling with building webkit with debug sysmbols I managed 
> to get at backtrace from gdb using the gdb command above, I hope
> you can make something out of it.
> 

Hi,
yes, it does come from WebKit and matches backtrace from
https://bugs.webkit.org/show_bug.cgi?id=127474
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


Re: [Evolution] Cannot see contacts/addressbook from imported data

2015-01-26 Thread edmund
On Mon, 26 Jan 2015 10:58:42 +0100
Milan Crha  wrote:

> On Sun, 2015-01-25 at 16:48 +0100, edmund wrote:
> > -
> > Unable to open address book
> > 
> > This address book cannot be opened.  Please check that the
> > path /home/ed/.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'
> > 
> 
> Hi,
> it seems to me that you took a backup from a newer evolution and 
> restored it in an older evolution. 

Well actually it is the other way around, old backup restored in a
newer version.
I had similar problems before and that is why I ditched evolution
now I try it again an see no improvement.
Import export tools that don't work are bugs in my opinion.

> There had been done some changes
> in the stored format in contacts between the two versions, which
> results in that "Detailed error message".
> 
> You cannot restore your contacts this way, the internal format change 
> doesn't allow to restore from the newer evolution. What you can do is 
> to use certain command line tools and restore your contacts by an 
> import. That might be done this way:
> 
> a) close evolution and make sure evolution-addressbook-factory process
>is not running (possibly kill it, when it's shown in `ps ax | grep
> evolution`) b) extract the contacts from the too new database:
>$
> sqlite3 
> /home/ed/.local/share/evolution/addressbook/system-address-book/contacts.db
> "SELECT VCARD from folder_id;">contacts.vcf By the way, I have it
> stored at ~/.local/share/evolution/addressbook/system/. c) move away
> the
> folder: /home/ed/.local/share/evolution/addressbook/system-address-book
> thus evolution will recreate it the next start d) run evolution,
> switch to Contacts view and check you can select the On This
> Computer/Personal addressbook; it will be shown empty, but you will
> be able to select it and no error will be shown e) from menu:
> File->Import->Single file->select the contacts.vcf from step b), the
> vCard format will be chosen for you; click Next, select On This
> Computer/Personal, then continue till the import wizard will not
> finish.
> 
> After this the Personal address book will show the contacts as before.

Thanks a lot I will try that.
I hope the evolution coders realize some time that they have to make
sure the import export tools must be working and not change it in every
release or update.
> 
> Hope it helps,
> Milan

Edmund
> 
> ___
> 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-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] Cannot see contacts/addressbook from imported data

2015-01-26 Thread Milan Crha
On Mon, 2015-01-26 at 11:36 +0100, edmund wrote:
> 
> Well actually it is the other way around, old backup restored in a 
> newer version.
> I had similar problems before and that is why I ditched evolution 
> now I try it again an see no improvement.
> Import export tools that don't work are bugs in my opinion.
> 

Hi,
that's odd. Do you have exact version numbers of the evolution's 
backup and the version you restore it at, please? I do not see an 
exact version in this thread, but you mentioned it in the "Address 
Book not Accessible" thread, where you stated you restore at 3.10.4. 
Having a version of the evolution where the backup was made will be 
helpful. I think, when you open the backup tar.gz file, then it has 
some .xml file at the top level which corresponds to GConf or 
GSettings data, which should contain the version information too.

One thing, there is a difference between export/import and 
backup/restore. Those two operations are completely different in 
evolution. While import uses some standard format to operate with, the 
restore restores underlying data and lets the evolution(-data-server) 
run a migration code for those data. That works fine for me, though I 
update between consecutive versions usually (for example for regular 
users from 3.8 to 3.10, then from 3.10 to 3.12, and so on - even 
'second' numbers are stable releases).
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


Re: [Evolution] Unable to retrive message

2015-01-26 Thread Joakim Tjernlund
On Fri, 2015-01-23 at 08:08 +0100, Milan Crha wrote:
> On Thu, 2015-01-22 at 10:07 +, Joakim Tjernlund wrote:
> > 
> 
> > 
> >   MIME content conversion
> > failed.
> > 
> 
> ...but the server failed to provide it, with the above error. It can be that 
> this error is incorrectly handled by the evolution-ews and produces the 
> useless error you see in the UI. I do not know 
> what could be a better option for this situation, because the server is 
> failing, thus the message cannot be retried in a way evolution-ews expects it.
> Bye,
> Milan



It would be helpful if error msg in evolution contained more details though,
now is seems like everything maps to:
  Unable to retrive message
  Failed to move message cache file
The actual error msg "MIME content conversion failed" is not seen anywhere.

 Jocke
___
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] Evolution 3.10.4 forgetting passwords

2015-01-26 Thread Ove Edfors
Dear all,

I'm using Evolution 3.10.4 with evoultion-ews (on a Linux Mint 17.1
desktop) to access my e-mail and calendars on an Exchange server.
Evolution keeps "forgetting passwords" and typically give the error
message "Cannot create calendar object: Authentication failed" when I
enter a new event in the calendar. When this happens it doesn't seem to
recover and the only solution I have found (by searching on the net) is
to erase Evolution passwords from the default keyring in Seahorse and
restart Evolution again. Evolution asks for the passwords again and it
seems to solve the problem temporarily. Unfortunately, it appears again
and again.

Is there a known remedy for this? 

Regards,

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