Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: info-gnus-english@gnu.org
Subject: offlineimap and gnus expire flags
Date: Sat, 07 Nov 2015 17:10:42 +0100	[thread overview]
Message-ID: <87k2ptg58d.fsf@free.fr> (raw)

To those of you using offlineimap with Gnus, how do you make it
propagate gnus-expire flags (and possibly some other flags)? Does mbsync
handle this problem more easily?

I've tried some offlineimap.py code from
http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html
but it's from 2010 and it's throwing some errors.

--8<---------------cut here---------------start------------->8---
ERROR: ERROR in syncfolder for FreeOffline folder aapt: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/offlineimap/accounts.py", line 450, in syncfolder
    remotefolder.syncmessagesto(localfolder, statusfolder)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 549, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 484, in syncmessagesto_flags
    addflags = selfflags - statusflags
TypeError: unsupported operand type(s) for -: 'list' and 'set'

  unsupported operand type(s) for -: 'list' and 'set'
ERROR: Syncing folder bandsintown [acc: FreeOffline]
  unsupported operand type(s) for -: 'list' and 'set'

Traceback:
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 549, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 484, in syncmessagesto_flags
    addflags = selfflags - statusflags
--8<---------------cut here---------------end--------------->8---




             reply	other threads:[~2015-11-07 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07 16:10 Julien Cubizolles [this message]
2015-11-13 19:06 ` Dan Christensen
2015-11-14  9:38   ` Julien Cubizolles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2ptg58d.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).