Re: "No MTP devices." and "No devices." folders persist, others invisible to exmh
[email protected] Wed, 25 Jul 2018 12:35:51 -0400
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============4854937849693446567==
Content-Type: multipart/signed; boundary="==_Exmh_1532536551_2847P";
micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
--==_Exmh_1532536551_2847P
Content-Type: text/plain; charset=us-ascii
On Wed, 25 Jul 2018 08:21:14 -0700, Kevin Cosgrove said:
> I woke this morning to exmh having only two folders, "No MTP devices."
> and "No devices.". This is the content of ~/Mail/.folders so I
> removed that file and exmh reset the contents to the same again.
That's.... weird. Almost like you had a cellphone that wasn't talking
to the machine you're running exmh on.
> nmh finds my folders just fine. The two odd folders are not reported
> by 'folders' of nmh.
The code in lib/flist.c that builds .folders:
set bogus [catch {exec folders -all -fast -recurse} raw]
set raw [split $raw \n]
if {$bogus} {
set ix [lsearch -glob $raw "* * *"]
I wonder if there's two 'folders' binaries on the system, one
from nmh and another from some MTP handling package, and
your commandline is picking up the nmh one and exmh is finding
the other.
> What's going on? I haven't changed exmh nor updated my system in a long
> time, let alone while I was sleeping.
It's quite possible that it's been a loaded gun pointed at your
foot for a while - there's this code:
} elseif {![info exists flist(allfolders)]||
[file mtime $flist(cacheFile)] > $flist(cacheFileMtime)} {
set in [open $flist(cacheFile)]
set flist(allfolders) [FlistSort [split [read $in] \n]]
which basically means that it will just read in $mhProfile(path)/.folders
unless something has touched it. But that should end up re-running 'folders',
so if exmh finds the two oddities again it means the 'folders' binary it
ran blew up again....
--==_Exmh_1532536551_2847P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Comment: Exmh version 2.8.0 04/21/2017
iQEVAwUBW1im5o0DS38y7CIcAQJPMQf+MzcsrSTWW4lSCwcJDjInDWaZQwxZU2p3
zOiiODtBni+Gs5NYZjHoedJ9IEt7URnMnp7Zz7M+ZDVWEfIo5M8hhmBfHAs5g64S
CP2md4nNjHe/PQfby4XU/wBXGbAzjfMA5nhS7U2MWcoDcj/UyJd3OzkePVlVy+Pd
UONzti7/X6MjwvfMrKkc9CqhYygtobx+mtsogQgnmr1NXyx0jH6sIjDE3ulMeEQW
5slsMgjrgAhpq5uZWYMyztt8PYwlGGo4qb9+3z4oEuARInXB6/fVuNxJUmQax9U7
ukuFCt5rEbsjDNz/qAcFaOvOF/ITeYbd6tIMYrRoiYULAkfuIw0gHQ==
=68ya
-----END PGP SIGNATURE-----
--==_Exmh_1532536551_2847P--
--===============4854937849693446567==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
--===============4854937849693446567==--