[prev in list] [next in list] [prev in thread] [next in thread] 

List:       evolution
Subject:    Re: [Evolution] What file does evo utilize on startup to determine if 'this is a first run, and requ
From:       Reid Thompson via evolution-list <evolution-list () gnome ! org>
Date:       2019-04-03 19:03:57
Message-ID: 08177ce62f816b0823ec4903fcfb7a483428b320.camel () omnicell ! com
[Download RAW message or body]

On Wed, 2019-04-03 at 17:10 +0200, Milan Crha via evolution-list wrote:
> 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/


Contents of those two directories.

$ cd .config/evolution/sources/
[14:41:41][7s] rthompso@raker3> ~/.config/evolution/sources 
$ ls -rlt
total 117
-rw-r--r-- 1 rthompso staff  288 Jul 29  2014 system-proxy.source
-rw-r--r-- 1 rthompso staff  224 Feb 22  2016 vfolder.source
-rw-r--r-- 1 rthompso staff  280 Feb 22  2016 local.source
-rw-r--r-- 1 rthompso staff  128 May  2  2016 system-memo-list.source
-rw-r--r-- 1 rthompso staff  128 May  2  2016 system-task-list.source
-rw------- 1 rthompso staff   89 Jul 20  2016 1420482556.3582.2@raker3.source
-rw------- 1 rthompso staff  486 Aug 16  2016 1459194168.3830.0@raker3.source
-rw------- 1 rthompso staff  362 Jan  5  2017 1415136111.3372.2@raker3.source
-rw------- 1 rthompso staff  472 Sep 14  2017 1471379729.14581.6@raker3.source
-rw------- 1 rthompso staff  148 Jan  3  2018 ccae5ed3d3de2ffeee1aaff0a60e7ff458b17f9d.source
-rw------- 1 rthompso staff  246 Jan  3  2018 afc9dc64e5640cc16de078a6ac793aa4e854f9ef.source
-rw------- 1 rthompso staff  332 Jan  3  2018 2958741907fadb121cb69d8d587fa59856087236.source
-rw------- 1 rthompso staff  587 Jan  3  2018 1fa5e6be9e9f52bb7050beaae23c50d259e01e68.source
-rw------- 1 rthompso staff  241 Jan  3  2018 b5b647c3aaddb3bbea00314cdca09c38aba43f97.source
-rw------- 1 rthompso staff  576 Jan  3  2018 27520fac9488144eaad7555cda8f592ddf098c9a.source
-rw------- 1 rthompso staff  322 Jan  3  2018 50a8272d0bff51f5cc1a8975b4b28b1bf36d413e.source
-rw------- 1 rthompso staff 1079 Jan 16  2018 10b7c81d748657555aa4977a78f248d4e1c06f9c.source
-rw------- 1 rthompso staff  617 Jan 31 16:24 1474296229.27009.10@raker3.source
-rw------- 1 rthompso staff  702 Jan 31 16:24 1412012850.3569.4@raker3.source
-rw------- 1 rthompso staff  702 Jan 31 16:24 1412012936.3569.10@raker3.source
-rw------- 1 rthompso staff  633 Feb  4 14:24 1475506744.14309.4@raker3.source
-rw-r--r-- 1 rthompso staff  250 Feb  4 14:24 birthdays.source
-rw-r--r-- 1 rthompso staff  184 Feb 22 13:15 system-calendar.source
-rw------- 1 rthompso staff 1064 Feb 28 14:31 8ae2c58bb262cbddb3ee0ca7a1e950af7c0c30cb.source
-rw------- 1 rthompso staff  323 Mar 14 10:47 f2a6af312ef6e1a84f2cdc87bef9f42eab34580b.source
-rw------- 1 rthompso staff  636 Apr  3 09:45 1472492549.15621.11@raker3.source
[14:41:42][0s] rthompso@raker3> ~/.config/evolution/sources


$ cd ~/.cache/evolution/sources/
[14:41:56][0s] rthompso@raker3> ~/.cache/evolution/sources 
$ ls -rlt
total 17
drwxr-xr-x 2 rthompso staff  2 Apr  3 07:00 trash
drwx------ 2 rthompso staff 20 Apr  3 12:45 8ae2c58bb262cbddb3ee0ca7a1e950af7c0c30cb

> 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.

Files with [Mail Account] in /home/rthompso/.config/evolution/sources

$ cd -
/home/rthompso/.config/evolution/sources
[14:52:20][0s] rthompso@raker3> ~/.config/evolution/sources  

$ rg "\[Mail Account\]"
50a8272d0bff51f5cc1a8975b4b28b1bf36d413e.source
10:[Mail Account]

vfolder.source
8:[Mail Account]

local.source
8:[Mail Account]

2958741907fadb121cb69d8d587fa59856087236.source
10:[Mail Account]

f2a6af312ef6e1a84f2cdc87bef9f42eab34580b.source
10:[Mail Account]

Dates for files in /home/rthompso/.config/evolution/sources:

$ rg -l "\[Mail Account\]" | xargs ls -l
-rw------- 1 rthompso staff 332 Jan  3  2018 2958741907fadb121cb69d8d587fa59856087236.source
-rw------- 1 rthompso staff 322 Jan  3  2018 50a8272d0bff51f5cc1a8975b4b28b1bf36d413e.source
-rw------- 1 rthompso staff 323 Mar 14 10:47 f2a6af312ef6e1a84f2cdc87bef9f42eab34580b.source
-rw-r--r-- 1 rthompso staff 280 Feb 22  2016 local.source
-rw-r--r-- 1 rthompso staff 224 Feb 22  2016 vfolder.source


No files with [Mail Account] in /home/rthompso/.cache/evolution/sources
$ cd -
/home/rthompso/.cache/evolution/sources
[14:51:26][0s] rthompso@raker3> ~/.cache/evolution/sources
$ rg "\[Mail Account\]"
[14:51:29][0s] rthompso@raker3> ~/.cache/evolution/sources
$ 

> 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.

?  how can I tell ?  I configured my accounts from within the evolution
gui.

> 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.

the next time it happens i should be able to get info using this.

thanks again Milan.

reid

>         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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic