Maildir account broken by update?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Maildir account broken by update?

fabien
Dear all,

I'm running Evolution 3.12.9 in Debian (Jessie) to display emails from
an IMAP, POP and MailDir accounts. This is the last version in Jessie,
namely 3.12.9~git20141130.241663-1.
Earlier today a bunch of packages got updated (without any problem,
apparently).

However, when starting Evolution afterwards, the emails related to the
MailDir account could no longer be displayed.

In my preferences/Account/Receiving email page, the directory is now set
to (None) instead of my MailDir folder, and setting it back doesn't
help : opening the page again shows it's back to (None).

Making Evolution re-create a new folders.db didn't help.

Also, trying to create a new MailDir account yields the same problem
than the initial MailDir account. It seems impossible to set the
Directory to something else than (None)...

Any idea?

Best regards,
Fabien



_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

Andre Klapper
On Wed, 2018-07-11 at 22:45 +0200, fabien wrote:

> I'm running Evolution 3.12.9 in Debian (Jessie) to display emails from
> an IMAP, POP and MailDir accounts. This is the last version in Jessie,
> namely 3.12.9~git20141130.241663-1.
> Earlier today a bunch of packages got updated (without any problem,
> apparently).
>
> However, when starting Evolution afterwards, the emails related to the
> MailDir account could no longer be displayed.
>
> In my preferences/Account/Receiving email page, the directory is now set
> to (None) instead of my MailDir folder, and setting it back doesn't
> help : opening the page again shows it's back to (None).

According to the user documentation, account data is stored under
~/.config/evolution/sources/
Are that folder (plus your MailDir folder itself) writable?

> Making Evolution re-create a new folders.db didn't help.
>
> Also, trying to create a new MailDir account yields the same problem
> than the initial MailDir account. It seems impossible to set the
> Directory to something else than (None)...
>
> Any idea?

Cheers,
andre
--
Andre Klapper  |  [hidden email]
https://blogs.gnome.org/aklapper/

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

fabien
On Wed, 2018-07-11 at 23:11 +0200, Andre Klapper wrote:

> On Wed, 2018-07-11 at 22:45 +0200, fabien wrote:
> > I'm running Evolution 3.12.9 in Debian (Jessie) to display emails from
> > an IMAP, POP and MailDir accounts. This is the last version in Jessie,
> > namely 3.12.9~git20141130.241663-1.
> > Earlier today a bunch of packages got updated (without any problem,
> > apparently).
> >
> > However, when starting Evolution afterwards, the emails related to the
> > MailDir account could no longer be displayed.
> >
> > In my preferences/Account/Receiving email page, the directory is now set
> > to (None) instead of my MailDir folder, and setting it back doesn't
> > help : opening the page again shows it's back to (None).
>
> According to the user documentation, account data is stored under
> ~/.config/evolution/sources/
> Are that folder (plus your MailDir folder itself) writable?
>

Yes they are. Sorry I forgot to mention I made these tests also.
Fabien

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

Gnome Evolution - General mailing list
On Thu, 2018-07-12 at 00:10 +0200, fabien wrote:
> On Wed, 2018-07-11 at 23:11 +0200, Andre Klapper wrote:
> > On Wed, 2018-07-11 at 22:45 +0200, fabien wrote:
> > > However, when starting Evolution afterwards, the emails related
> > > to the MailDir account could no longer be displayed.

        Hi,
do you know what had been updated, please? Was even evolution or
evolution-data-server packages updated too? Does it help to downgrade
it/them?

> > > In my preferences/Account/Receiving email page, the directory is
> > > now set to (None) instead of my MailDir folder, and setting it
> > > back doesn't help : opening the page again shows it's back to
> > > (None).

I think there was some UI glitch which showed the path as None even it
had been properly set in the background, but it's a long time since
3.12.9 (the current stable series is 3.28, if you wonder), thus I can
be wrong.

> > According to the user documentation, account data is stored under
> > ~/.config/evolution/sources/
> > Are that folder (plus your MailDir folder itself) writable?
> >
>
> Yes they are. Sorry I forgot to mention I made these tests also.

It's the path in the corresponding .source file which matters the most.
When you run evolution from a terminal, does it show anything? I mean
like a runtime warning, not anything with enabled debugging. You can
try to right-click the folder name in the left folder tree and pick
Refresh there, even couple times, if it's available in your version.
Also, checking content of the newly created folders.db file may give
you a chance to see whether evolution(-data-server) found the mails. If
it's there, then you might have set some filter in the Evolution view
for that folder. And as there had been another glitch in the past,
which made it look like the folder has no filter, but it had been
filtered anyway, I suggest to do some filter, like "Subject contains
a", and then clear it.

        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

fabien
Dear all,

I've been waiting for couple of updates before proceeding.




> > > > However, when starting Evolution afterwards, the emails related
> > > > to the MailDir account could no longer be displayed.
>
> Hi,
> do you know what had been updated, please? Was even evolution or
> evolution-data-server packages updated too? Does it help to downgrade
> it/them?
>

$ grep evolution /var/log/dpkg.log
says that libreoffice-evolution:i386 1:5.2.7-1+deb9u4~bpo8+1 has been
installed the day the problem started.

evolution-data-server has been updated yesterday without any consequence.

Trying to remove libreoffice-evolution (with apt-get) says gnome will be removed, so I didn't proceed.






> > > > In my preferences/Account/Receiving email page, the directory is
> > > > now set to (None) instead of my MailDir folder, and setting it
> > > > back doesn't help : opening the page again shows it's back to
> > > > (None).
>
> I think there was some UI glitch which showed the path as None even it
> had been properly set in the background, but it's a long time since
> 3.12.9 (the current stable series is 3.28, if you wonder), thus I can
> be wrong.
>
> > > According to the user documentation, account data is stored under
> > > ~/.config/evolution/sources/
> > > Are that folder (plus your MailDir folder itself) writable?
> > >
> >
> > Yes they are. Sorry I forgot to mention I made these tests also.
>


I should also say that all my data are still in my MailDir folder.






> It's the path in the corresponding .source file which matters the most.
> When you run evolution from a terminal, does it show anything? I mean
> like a runtime warning, not anything with enabled debugging.


Running evolution from terminal yields :
(evolution:3973): libebackend-WARNING **: module_load: /usr/lib/evolution/3.12/modules/evolution-module-rss.so: undefined symbol: em_folder_tree_set_selected
Failed to load module: /usr/lib/evolution/3.12/modules/evolution-module-rss.so

(evolution:3973): camel-local-provider-CRITICAL **: scan_fi: assertion 'path != NULL' failed

(evolution:3973): camel-local-provider-CRITICAL **: scan_dirs: assertion 'path != NULL' failed

(the two last lines being repeated few times and then :)

RSS Plugin enabled (evolution 3.12, evolution-rss 0.3.95)
soup init()

It looks like ths may be the problem... but googling this error didn't help... Any idea?




> You can
> try to right-click the folder name in the left folder tree and pick
> Refresh there, even couple times, if it's available in your version.

Did it... without result.

Best,
Fabien

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

Gnome Evolution - General mailing list
On Tue, 2018-07-31 at 20:22 +0200, fabien wrote:
> Running evolution from terminal yields :
> (evolution:3973): libebackend-WARNING **: module_load:
> /usr/lib/evolution/3.12/modules/evolution-module-rss.so: undefined
> symbol: em_folder_tree_set_selected
> Failed to load module: /usr/lib/evolution/3.12/modules/evolution-
> module-rss.so

        Hi,
I do not know whether this is still relevant for you, thus just in
case, the above warning usually means you've installed incompatible
version of evolution-rss with evolution itself. The evolution-rss needs
to be rebuilt against updated evolution.

> (evolution:3973): camel-local-provider-CRITICAL **: scan_fi:
> assertion 'path != NULL' failed
>
> (evolution:3973): camel-local-provider-CRITICAL **: scan_dirs:
> assertion 'path != NULL' failed

I believe the two above are the problem. Evolution tries to refresh the
folder, but the account doesn't have properly set the path to the root
directory of that account. As I said earlier, there had been similar
issue in the past, which is already fixed, but your ancient version
might have it still broken.

There's a chance to fix this manually, by editing corresponding .source
file in ~/.config/evolution/sources/, it's the one which mentions

   BackendName=maildir

in which you can see also something like this, taken from the
local.source file:

   [Maildir Backend]
   Path=/home/user/.local/share/evolution/mail/local

Your account might have the Path key empty. Make sure evolution-source-
registry process is not running, then edit the corresponding .source
file, change the Path key to the appropriate path, then restart the
machine (thus the background processes are run in the correct order, an
`evolution --force-shutdown` might do the trick too, even there had
been some changes around what is stopped and what not in the past too).

        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

fabien
Hi,

On Mon, 2018-08-20 at 12:10 +0200, Milan Crha via evolution-list wrote:

> On Tue, 2018-07-31 at 20:22 +0200, fabien wrote:
> > Running evolution from terminal yields :
> > (evolution:3973): libebackend-WARNING **: module_load:
> > /usr/lib/evolution/3.12/modules/evolution-module-rss.so: undefined
> > symbol: em_folder_tree_set_selected
> > Failed to load module: /usr/lib/evolution/3.12/modules/evolution-
> > module-rss.so
>
> Hi,
> I do not know whether this is still relevant for you,


It is, and I thank you for keeping track of this topic.



thus just in
> case, the above warning usually means you've installed incompatible
> version of evolution-rss with evolution itself.

Well... The packages versions are those of an up-to-date Debian/Jessie :
apt list evolution-rss
Listing... Done
evolution-rss/oldstable,now 0.3.95~20140414-2+b1 i386 [installed]
fabien@debian:~$ apt list evolution
Listing... Done
evolution/oldstable,now 3.12.9~git20141130.241663-1+b1 i386 [installed]


The evolution-rss needs

> to be rebuilt against updated evolution.
>
> > (evolution:3973): camel-local-provider-CRITICAL **: scan_fi:
> > assertion 'path != NULL' failed
> >
> > (evolution:3973): camel-local-provider-CRITICAL **: scan_dirs:
> > assertion 'path != NULL' failed
>
> I believe the two above are the problem. Evolution tries to refresh the
> folder, but the account doesn't have properly set the path to the root
> directory of that account. As I said earlier, there had been similar
> issue in the past, which is already fixed, but your ancient version
> might have it still broken.
>
> There's a chance to fix this manually, by editing corresponding .source
> file in ~/.config/evolution/sources/, it's the one which mentions
>
>    BackendName=maildir
>
> in which you can see also something like this, taken from the
> local.source file:
>
>    [Maildir Backend]
>    Path=/home/user/.local/share/evolution/mail/local
>
> Your account might have the Path key empty.

Unfortunately, checking these .source files yields that all the Path keys are correct...
So I guess the only option is to rebuild evolution-rss. Sticking to these instructions I guess :
https://wiki.gnome.org/Apps/Evolution/Building ?

Should I choose a particular branch?

Bye,
Fabien


Make sure evolution-source-

> registry process is not running, then edit the corresponding .source
> file, change the Path key to the appropriate path, then restart the
> machine (thus the background processes are run in the correct order, an
> `evolution --force-shutdown` might do the trick too, even there had
> been some changes around what is stopped and what not in the past too).
>
> Bye,
> Milan
>
> _______________________________________________
> evolution-list mailing list
> [hidden email]
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list




_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Maildir account broken by update?

Gnome Evolution - General mailing list
On Tue, 2018-08-28 at 20:44 +0200, fabien wrote:
> Unfortunately, checking these .source files yields that all the Path
> keys are correct...
> So I guess the only option is to rebuild evolution-rss.

        Hi,
the maildir issue and the evolution-rss issue are two independent
things.

> Sticking to these instructions I guess :
> https://wiki.gnome.org/Apps/Evolution/Building ?
>
> Should I choose a particular branch?

Use the master branch, but a simple evolution-rss package rebuild
should help as well, if it has new enough sources.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list