You are not logged in.

#1 2019-12-17 10:14:14

dpx
Member
Registered: 2017-01-09
Posts: 31

Offlineimap breaks since update to 7.3.1-1

Since update to offlineimap 7.3.1-1, it breaks. I did not change .offlineimaprc for years and nothing exotic in there. After the crashing stated, I tried adding folderfilter even if I never used it before (tried both 'in' and 'not in' variants) and it has no effect whatsoever on error/crash that happens. Pasted error output, only replaced actual site names with first/second/third.

Any ideas? Is this only happening to me? Since it was working for years and started crashing after update I expect it to happen for more people.

OfflineIMAP 7.3.1
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v2.101 (bundled), Python v2.7.17, OpenSSL 1.1.1d  10 Sep 2019
 *** Processing account dpx@first.com
Account sync sa@second.com:
 Establishing connection to eagle.mxlogin.com:993 (sa@second.com-Remote)
Account sync myname@third.com:
 *** Processing account myname@third.com
Account sync dpx@first.com:
 Establishing connection to eagle.mxlogin.com:993 (dpx@first.com-Remote)
Account sync myname@third.com:
 Establishing connection to eagle.mxlogin.com:993 (myname@third.com-Remote)







Account sync dpx@first.com:










Account sync sa@second.com:









Account sync myname@third.com:
 ERROR: Account myname@third.com: no folder to sync (folderfilter issue?)
 *** Finished account 'myname@third.com' in 0:01
Account sync dpx@first.com:
 ERROR: Account dpx@first.com: no folder to sync (folderfilter issue?)
 *** Finished account 'dpx@first.com' in 0:01
Account sync sa@second.com:
 ERROR: Account sa@second.com: no folder to sync (folderfilter issue?)
 *** Finished account 'sa@second.com' in 0:01
ERROR: Exceptions occurred during the run!
ERROR: Account myname@third.com: no folder to sync (folderfilter issue?)

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 293, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 427, in __sync
    raise OfflineImapError(msg, OfflineImapError.ERROR.REPO)

ERROR: Account dpx@first.com: no folder to sync (folderfilter issue?)

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 293, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 427, in __sync
    raise OfflineImapError(msg, OfflineImapError.ERROR.REPO)

ERROR: Account sa@second.com: no folder to sync (folderfilter issue?)

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 293, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 427, in __sync
    raise OfflineImapError(msg, OfflineImapError.ERROR.REPO)

Offline

#2 2019-12-17 10:33:24

post
Member
Registered: 2015-02-15
Posts: 26

Re: Offlineimap breaks since update to 7.3.1-1

Maybe it's a good time to migrate to another tool, e. g. mbsync/isync, cf. mcgrof. Also:

github.com/OfflineIMAP/offlineimap wrote:

As one of the maintainer of OfflineIMAP, I'd like to put my efforts into imapfw. imapfw is software in development that I intend to replace OfflineIMAP with in the long term.

Offline

#3 2019-12-17 10:51:30

dpx
Member
Registered: 2017-01-09
Posts: 31

Re: Offlineimap breaks since update to 7.3.1-1

I am aware of imapfw but it says 'early stage of development' everywhere. What is preferred tool for imap syncing nowadays? Also confusing why update offlineimap to 7.3.1.-1 last night and break it in the process, even if it is sunsetting and I wasn't aware, tool should not break after update.

Offline

#4 2019-12-17 11:51:52

xerxes_
Member
Registered: 2018-04-29
Posts: 155

Re: Offlineimap breaks since update to 7.3.1-1

I don't understand: why use programs like offlineimap, isync/mbsync, imapfw when there are simpler mail clients like thunderbird, seamonkey, sylpheed or even mutt?

Offline

#5 2019-12-17 12:11:01

dpx
Member
Registered: 2017-01-09
Posts: 31

Re: Offlineimap breaks since update to 7.3.1-1

xerxes_ wrote:

even mutt?

Mutt can in theory work directly with externl server IMAP but that's too slow for any real use.

So we need functioning offlineimap, isync/mbsync or imapfw to be able to use mutt. First you sync external IMAP to local machine, then use mutt with local folders.

Offline

#6 2019-12-17 12:32:28

post
Member
Registered: 2015-02-15
Posts: 26

Re: Offlineimap breaks since update to 7.3.1-1

dpx wrote:
xerxes_ wrote:

even mutt?

IMAP … too slow for any real use.

How is aerc in that respect? (Or meli?)

I generally enjoy Thunderbird (incl. Enigmail, Lightning; not so much its address book format, though).
For trying out the more sophisticated mail search application notmuch including user-defined fields for any mail header (available since 0.29), Thunderbird's mail storage format mbox was not suitable.
Thunderbird does not yet fully support maildir.

Offline

#7 2019-12-17 12:40:17

loqs
Member
Registered: 2014-03-06
Posts: 9,607

Re: Offlineimap breaks since update to 7.3.1-1

https://github.com/OfflineIMAP/offlineimap/issues/640 ?
Just to note as offlineimap is python2 only it will probably be moved to AUR when arch drops python2 support.

Offline

#8 2019-12-17 13:38:27

Trilby
Banned
Registered: 2011-11-29
Posts: 22,631
Website

Re: Offlineimap breaks since update to 7.3.1-1

xerxes_, offlineimap is not a mail client - so asking why not just use some other mail client is a non-sequitor.  None of the alternatives you mentioned does anything like offlineimap.  isync/mbsync does, and I also second that suggestion.  I switched from offlineimap to mbsync quite a while ago and was very happy I did (it's faster and has seemed far more stable).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2019-12-18 00:42:20

dpx
Member
Registered: 2017-01-09
Posts: 31

Re: Offlineimap breaks since update to 7.3.1-1

I have replaced offlineimap with isync/mbsync and it works decently well. Additional .mbsyncrc example I used to combine with what we have in wiki can be found here.

Offline

#10 2019-12-19 01:57:55

ectospasm
Member
Registered: 2015-08-28
Posts: 44

Re: Offlineimap breaks since update to 7.3.1-1

loqs wrote:

https://github.com/OfflineIMAP/offlineimap/issues/640 ?
Just to note as offlineimap is python2 only it will probably be moved to AUR when arch drops python2 support.

Thus OfflineIMAP 7.3.2 hasn't yet hit the Arch Community repository.  I didn't learn about OfflineIMAP's pending sunset until I was troubleshooting the very issue upstream #640 documents.  I use OfflineIMAP at home and at work, switching to an alternative is not a trivial task right now.  I'm emailing the Arch maintainer of OfflineIMAP now, if 7.3.2 doesn't get posted soon I'll have to implement an alternative.

Offline

#11 2019-12-19 02:18:55

loqs
Member
Registered: 2014-03-06
Posts: 9,607

Re: Offlineimap breaks since update to 7.3.1-1

You could locally build 7.3.2 Arch_Build_System#Retrieve_PKGBUILD_source_using_Git
Update the pkgver to 7.3.2,  then run updpkgsums from pacman-contrib to download the new version and update the checksum.
Then see Makepkg#Usage to build and install the package.

Offline

#12 2019-12-19 02:21:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,302
Website

Re: Offlineimap breaks since update to 7.3.1-1

ectospasm wrote:

I'm emailing the Arch maintainer of OfflineIMAP now, if 7.3.2 doesn't get posted soon I'll have to implement an alternative.

Or, you could just downgrade and wait for the new version to hit our repos...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2019-12-19 02:58:19

Trilby
Banned
Registered: 2011-11-29
Posts: 22,631
Website

Re: Offlineimap breaks since update to 7.3.1-1

ectospasm wrote:

I use OfflineIMAP at home and at work, switching to an alternative is not a trivial task right now.

Why is it not trivial?  You don't need to change anything on your mail server/provider.  You don't need to change anything about your local maildirs.  You just install mbsync, set up the config file (which is trivial compared to configuring offlineimap), then disable one service and enable the other.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#14 2019-12-19 15:32:20

ajyoon
Member
Registered: 2019-12-19
Posts: 1

Re: Offlineimap breaks since update to 7.3.1-1

My offlineimap broke as well with 7.3.1-1. Instead of downgrading (which I'm sure would have worked) I just switched to the offlineimap-git version on aur with yaourt and it works again.

Offline

#15 2019-12-22 13:12:37

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 134
Website

Re: Offlineimap breaks since update to 7.3.1-1

Tanks for that. I ave just spent a couple of hours wondering what te problem with retrieving mail was. I haven't changed my .offlineimaprc for a few years.

Offline

#16 2019-12-22 13:27:59

dpx
Member
Registered: 2017-01-09
Posts: 31

Re: Offlineimap breaks since update to 7.3.1-1

I did try git version but it didn't work either. Word of warning, mbsync transition is not always straightforward. Since I was using wildcard import on both onlineimap and mbsync, maildir tree structure differs between those two, so there is good chance you'll have to change mutt rc files to point at the right places.

Offline

Board footer

Powered by FluxBB