Dave Abrahams | 1 Jun 2012 10:58
Picon
Picon
Favicon
Gravatar

Strange errors


I have a few different issues that are all exhibited here.  These errors
came while shutting down offlineimap with Control-C.  Any help
appreciated; thanks!

--8<---------------cut here---------------start------------->8---
 *** Finished account 'ArchiveSync' in 1138:04
ERROR: Exceptions occurred during the run!
ERROR: Aborting sync, folder '[Gmail].Spam' [acc: 'Spam']
  Error SELECTing mailbox '[Gmail].Spam', server reply:
('NO', ["Mailbox doesn't exist: [Gmail]/Spam"])
ERROR: IMAP server 'BoostProRemote' does not have a message with UID '29931'
ERROR: IMAP server 'BoostProRemote' does not have a message with UID '29947'
ERROR: IMAP server 'BoostProRemote' does not have a message with UID '29949'
ERROR: IMAP server 'BoostProRemote' does not have a message with UID '29950'
ERROR: IMAP server 'BoostProRemote' does not have a message with UID '30177'
ERROR: command: UID => socket error: <class 'socket.error'> - [Errno 54] Connection reset by peer
ERROR: Saving msg folder '[Gmail].All Mail', repo 'BoostProLocal'failed (error). Server reponded:
APPEND command error: BAD ['Invalid internal date.']. Data: JMKO208736 APPEND "[Gmail].All Mail"
(\Seen) "09-Sep-2007 -6:33:06 -0500" {3721}

Message content was: Return-Path: <dave <at> boost-consulting.com>
Received: from murder ([unix socket])
         (authenticated user=dave bits=0)
         by boost-consulting.com (Cyrus ...-----=_NextPart_000_0006_01C7F289.C0CED410--

imap: Info: Server shutting down. in=1475397 out=1131403                                              Copyright 2002-2012 John Goerzen &
contributors 
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/folder/Base.py",
(Continue reading)

Sebastian Spaeth | 2 Jun 2012 13:54
Picon

ANNOUNCE: OfflineImap 6.5.4

Dear all,

OfflineImap 6.5.4 is out, it is the unchanged current 'next' branch. See
Changelog below. We have 13 tests now, that makes it 8 new tests since
the last release. I am determined to catch up with the rather big
backlog of still-unhandled email over the next 2 weeks, please bear with me.

OfflineIMAP v6.5.4 (2012-06-02)
=================================

* bump bundled imaplib2 library 2.29 --> 2.33
* Actually perform the SSL fingerprint check (reported by J. Cook)
* Curses UI, don't use colors after we shut down curses already (C.Höger)
* Document that '%' needs encoding as '%%' in *.conf
* Fix crash when IMAP.quickchanged() led to an Error (reported by sharat87)
* Implement the createfolders setting to disable folder propagation (see docs)

As usual, grab the source from github. It has been tagged as v6.5.4 with
my gpg key. source tar.gz:
https://github.com/spaetz/offlineimap/tarball/v6.5.4
The gpg signature of the release tar is available in the downloads section on github.

Visit us at http://offlineimap.org, read the (improved) docs at
http://docs.offlineimap.org, get the news at http://news.offlineimap.org
or follow offlineimap on twitter.

Best,
Sebastian

_______________________________________________
(Continue reading)

Luis P. Mendes | 2 Jun 2012 19:55
Picon

6.5.4 zero length field name in format

Hi all,

I've already read about this in the archive, but didn't understand
whether there is a patch, where is it or if it is already contemplated
in 6.5.4.

Here's the output:

*** Processing account luislupe
Establishing connection to imap.gmail.com:993
ERROR: While attempting to sync account 'luislupe'
  zero length field name in format
*** Finished account 'luislupe' in 0:01
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'luislupe'
  zero length field name in format

$ python -V
Python 2.6.6

$ offlineimap --version
6.5.4

What do I need to do to solve this issue?

TIA,

Luis

_______________________________________________
(Continue reading)

Tomasz Żok | 2 Jun 2012 20:27
Picon

Re: 6.5.4 zero length field name in format

Hi Luis,

if you get this error, probably you have entries like this in your format
string: {}

In your Python version, it is required that these curly braces are numbered
(starting from zero). So for example:
- INCORRECT:    '{}/{}'
- CORRECT:      '{0}/{1}'

Hope this helps, cheers,
Tomek

On 06/02/12 at 06:55pm, Luis P. Mendes wrote:
> Hi all,
> 
> I've already read about this in the archive, but didn't understand
> whether there is a patch, where is it or if it is already contemplated
> in 6.5.4.
> 
> Here's the output:
> 
> *** Processing account luislupe
> Establishing connection to imap.gmail.com:993
> ERROR: While attempting to sync account 'luislupe'
>   zero length field name in format
> *** Finished account 'luislupe' in 0:01
> ERROR: Exceptions occurred during the run!
> ERROR: While attempting to sync account 'luislupe'
>   zero length field name in format
(Continue reading)

Luis P. Mendes | 2 Jun 2012 20:44
Picon

Re: 6.5.4 zero length field name in format

Hi Tomaz,

You got me lost in this one!

Where should I look for these '{}/{}'?
In /usr/lib64/python2.6/site-packages/offlineimap/
or
elsewhere?

I did a grep there and could find some '{}', but none that resembles {}/{}.

Luis

2012/6/2 Tomasz Żok <tomasz.zok <at> gmail.com>:
> Hi Luis,
>
> if you get this error, probably you have entries like this in your format
> string: {}
>
> In your Python version, it is required that these curly braces are numbered
> (starting from zero). So for example:
> - INCORRECT:    '{}/{}'
> - CORRECT:      '{0}/{1}'
>
> Hope this helps, cheers,
> Tomek
>
>
> On 06/02/12 at 06:55pm, Luis P. Mendes wrote:
>> Hi all,
(Continue reading)

Tomasz Żok | 2 Jun 2012 21:27
Picon

Re: 6.5.4 zero length field name in format

Hi Luis,

I searched for this in my installation (6.5.3.1) and I can see the following
entries:

folder/Base.py:     self.ui.info("[DRYRUN] Copy {} messages from {}[{}] to {}".format(
ui/UIBase.py:       self.info("{}Creating folder {}[{}]".format(
ui/UIBase.py:       self.info("{}Deleting {} messages ({}) in {}".format(
ui/UIBase.py:       self.info("[DRYRUN] {}".format(msg))

I assume similar lines are present in 6.5.4... And this syntax is not supported
by Python 2.6.6.

To fix your error, you should do one of these:
- upgrade to Python 2.7
- modify these files on your own: number the curly braces

If you decide on the second option, note that you should look for any
occurrence of {}, but inside of string (i.e. embedded in quotes "..." or
apostrophes '...'), like the ones listed aboce. A simple grep will give you
also lines like this:

    retval = {}

But these are fine and should not be changes. Here the braces {} are not inside
of string. 

Cheers,
Tomek

(Continue reading)

Luis P. Mendes | 3 Jun 2012 00:42
Picon

Re: 6.5.4 zero length field name in format

Thank you Tomasz for your complete answer. It's working now.

Luis

2012/6/2 Tomasz Żok <tomasz.zok <at> gmail.com>:
> Hi Luis,
>
> I searched for this in my installation (6.5.3.1) and I can see the following
> entries:
>
> folder/Base.py:     self.ui.info("[DRYRUN] Copy {} messages from {}[{}] to {}".format(
> ui/UIBase.py:       self.info("{}Creating folder {}[{}]".format(
> ui/UIBase.py:       self.info("{}Deleting {} messages ({}) in {}".format(
> ui/UIBase.py:       self.info("[DRYRUN] {}".format(msg))
>
>
> I assume similar lines are present in 6.5.4... And this syntax is not supported
> by Python 2.6.6.
>
> To fix your error, you should do one of these:
> - upgrade to Python 2.7
> - modify these files on your own: number the curly braces
>
> If you decide on the second option, note that you should look for any
> occurrence of {}, but inside of string (i.e. embedded in quotes "..." or
> apostrophes '...'), like the ones listed aboce. A simple grep will give you
> also lines like this:
>
>    retval = {}
>
(Continue reading)

Mandar Mitra | 3 Jun 2012 18:45
Picon

no shutdown via q / ctrl-c in 6.5.4

I've just upgraded to 6.5.4 on lubuntu 12.04 (via make clean, make, and
checkinstall to create a deb package) and blinkenlights ui has stopped
responding to q or ctrl-c (don't know about the other interfaces). The
default version that's provided by lubuntu (6.3.4) responds fine to both
q and ctrl-c.

Is this a known problem?

Thanks for any tips,
Mandar.

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Mandar Mitra | 4 Jun 2012 04:47
Picon

Re: no shutdown via q / ctrl-c in 6.5.4

Mandar Mitra wrote (Sun, Jun 03, 2012 at 10:15:58PM +0530):
> I've just upgraded to 6.5.4 on lubuntu 12.04 (via make clean, make, and
> checkinstall to create a deb package) and blinkenlights ui has stopped
> responding to q or ctrl-c (don't know about the other interfaces).

It seems to be working after all. It was just taking longer than usual
to respond. Sorry for not checking more carefully.

mandar.

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Jagadeesh N. Malakannavar | 4 Jun 2012 07:19
Picon

Stiil getting "too many values to unpack" Error

OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
INFO:OfflineImap:OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
ERROR: Exceptions occurred during the run!
WARNING:OfflineImap:ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'REMOTE'
  too many values to unpack
WARNING:OfflineImap:ERROR: While attempting to sync account 'REMOTE'
  too many values to unpack


--

Thanks,
Jagadeesh N.Malakannavar

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Gmane