Re: [Evolution] What file does evo utilize on startup to determine if 'this is a first run, and requires initial setup'



On Wed, 2019-04-03 at 14:50 +0000, Reid Thompson via evolution-list
wrote:
Right now, my git build shows in the about dialog 3.32.1.
(but this issue has happened on previous version builds also).

        Hi,
well, it's not an issue, it's part of the Post-release version bump. It
has some pros and cons, of course (in contrast to bump the version
right before the release). No big deal from my side.

where does it look for configured mail accounts?

It asks the evolution-source-registry, which merges .source files from
   ~/.config/evolution/sources/
and
   ~/.cache/evolution/sources/

It looks for those which contain
   [Mail Account]
section, roughly said. It doesn't matter whether it's enabled or not,
just whether there is any. The "On This Computer" and "Search Folders"
are skipped.

You mentioned it mostly happens when you work with VPN. How is your
account configured, directly in Evolution or with (GNOME) Online
Accounts (GOA)? If with GOA, then maybe GOA is waiting for some network
response and doesn't claim the account until it verifies something,
thus the sources are removed (like being invisible). This might not
matter when the account is configured directly in Evolution.

You can check in detail what the source registry does when you run it
like this:
   $ ESR_DEBUG=1 /usr/libexec/evolution-source-registry
The actual path can differ for you. To make things automatic I
sometimes replace the original evolution-source-registry with a script
like this:

   #!/bin/bash
   FILESUFFIX=`date +%Y%m%d-%H%M%S`
   ESR_DEBUG=1 /usr/libexec/evolution-source-registry.orig "$@" &>/var/tmp/esr-${FILESUFFIX}.log

where the evolution-source-registry.orig is the original binary. This
way the log is created also when the service is run by D-Bus. Of
course, you should be careful, because any `make install` in the
evolution-data-server overwrites the script with the built source
registry.
        Bye,
        Milan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]