Complete.Org: Mailing Lists: Archives: offlineimap: August 2006:
exception while syncing
Home

exception while syncing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: exception while syncing
From: Frank Thieme <frank@xxxxxxxxxxx>
Date: Fri, 11 Aug 2006 18:25:41 +0200

Hi,

I get an error message and cannot sync anymore my IMAP Server and
Maildir. This started mon or tue this week. The only thing I changed
(to try to recover from these errors) is updating from version 4.0.11 to
4.0.13. But as I said the errors were first.

I did an 'offlineimap -1 -o -d' to produce the following debugging
output. After that I have 1, 2 or 3 new messages in Drafts on my IMAP
account with this content:

---snip---
=02=80=80X-OfflineIMAP-x1957881961-66746869656d65494d4150-447261667473: 115=
5313015-0489555232802-v4.0.13=02=80=80=80
---snip---

I don't know what to do.

regards

Frank

Thread 'New msg sync from Drafts' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py", line 1=
53, in run
    Thread.run(self)
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/offlineimap/folder/Base.py", line =
207, in syncmessagesto_neguid_msg
    successuid =3D tryappend.savemessage(uid, message, flags)
  File "/usr/lib/python2.4/site-packages/offlineimap/folder/IMAP.py", line =
237, in savemessage
    headervalue)
  File "/usr/lib/python2.4/site-packages/offlineimap/folder/IMAP.py", line =
173, in savemessage_searchforheader
    return long(matchinguids[0])
ValueError: invalid literal for long():


Last 50 debug messages logged for New msg sync from Drafts prior to excepti=
on:
imap: savemessage: initial content is: '\x02\x00\x00\x00'
imap: savemessage: new headers are: X-OfflineIMAP-x1957881961-66746869656d6=
5494d4150-447261667473: 1155313015-0489555232802-v4.0.13
imap: savemessage_addheader: called to add X-OfflineIMAP-x1957881961-667468=
69656d65494d4150-447261667473: 1155313015-0489555232802-v4.0.13
imap: savemessage_addheader: insertionpoint =3D -1
imap: savemessage_addheader: leader =3D '\x02\x00\x00'
imap: savemessage_addheader: newline =3D 'X-OfflineIMAP-x1957881961-6674686=
9656d65494d4150-447261667473: 1155313015-0489555232802-v4.0.13'
imap: savemessage_addheader: trailer =3D '\x02\x00\x00\x00'
imap: savemessage: new content is: '\x02\x00\x00X-OfflineIMAP-x1957881961-6=
6746869656d65494d4150-447261667473: 1155313015-0489555232802-v4.0.13\x02\x0=
0\x00\x00'
imap: savemessage: new content length is 102
imap:   16:55.16 > CFNM6 APPEND Drafts () "11-Aug-2006 18:16:55 +0200" {102}
imap:   16:55.20 < + OK
imap:   16:55.20        matched r'\+( (?P<data>.*))?' =3D> (' OK', 'OK')
imap:   16:55.21 write literal size 102
imap:   16:55.31 < * 1 EXISTS
imap:   16:55.32        matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<d=
ata2>.*))?' =3D> ('1', 'EXISTS', None, None)
imap:   16:55.32 untagged_responses[EXISTS] 1 +=3D ["1"]
imap:   16:55.33 < * 1 RECENT
imap:   16:55.33        matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<d=
ata2>.*))?' =3D> ('1', 'RECENT', None, None)
imap:   16:55.34 untagged_responses[RECENT] 1 +=3D ["1"]
imap:   16:55.34 < CFNM6 OK Append completed.
imap:   16:55.35        matched r'(?P<tag>CFNM\d+) (?P<type>[A-Z]+) (?P<dat=
a>.*)' =3D> ('CFNM6', 'OK', 'Append completed.')
imap:   16:55.36 > CFNM7 CHECK
imap:   16:55.39 < CFNM7 OK Check completed.
imap:   16:55.40        matched r'(?P<tag>CFNM\d+) (?P<type>[A-Z]+) (?P<dat=
a>.*)' =3D> ('CFNM7', 'OK', 'Check completed.')
imap: savemessage: first attempt to get new UID
imap: savemessage_searchforheader called for X-OfflineIMAP-x1957881961-6674=
6869656d65494d4150-447261667473: 1155313015-0489555232802-v4.0.13
imap:   16:55.42 > CFNM8 UID SEARCH HEADER X-OfflineIMAP-x1957881961-667468=
69656d65494d4150-447261667473 "1155313015-0489555232802-v4.0.13"
imap:   16:55.46 < * SEARCH
imap:   16:55.46        matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' =3D=
> ('SEARCH', None, None)
imap:   16:55.46 untagged_responses[SEARCH] 0 +=3D [""]
imap:   16:55.46 < CFNM8 OK Search completed.
imap:   16:55.46        matched r'(?P<tag>CFNM\d+) (?P<type>[A-Z]+) (?P<dat=
a>.*)' =3D> ('CFNM8', 'OK', 'Search completed.')
imap:   16:55.47 untagged_responses[SEARCH] =3D> ['']
imap: savemessage_searchforheader got initial matchinguids: ''
imap: savemessage_searchforheader: matchinguids now ['']
imap: savemessage: first attempt to get new UID failed.  Going to run a NOO=
P and try again.
imap:   16:55.48 untagged responses dump:
                EXISTS: "0" "1"
                PERMANENTFLAGS: "(\Answered \Flagged \Deleted \Seen \Draft =
\*)"
                READ-WRITE: ""
                UIDNEXT: "15"
                FLAGS: "(\Answered \Flagged \Deleted \Seen \Draft)"
                UIDVALIDITY: "1131060390"
                RECENT: "0" "1"
imap:   16:55.50 > CFNM9 NOOP
imap:   16:55.54 < CFNM9 OK NOOP completed.
imap:   16:55.54        matched r'(?P<tag>CFNM\d+) (?P<type>[A-Z]+) (?P<dat=
a>.*)' =3D> ('CFNM9', 'OK', 'NOOP completed.')
imap: savemessage_searchforheader called for X-OfflineIMAP-x1957881961-6674=
6869656d65494d4150-447261667473: 1155313015-0489555232802-v4.0.13
imap:   16:55.55 > CFNM10 UID SEARCH HEADER X-OfflineIMAP-x1957881961-66746=
869656d65494d4150-447261667473 "1155313015-0489555232802-v4.0.13"
imap:   16:55.59 < * SEARCH
imap:   16:55.59        matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' =3D=
> ('SEARCH', None, None)
imap:   16:55.59 untagged_responses[SEARCH] 0 +=3D [""]
imap:   16:55.59 < CFNM10 OK Search completed.
imap:   16:55.60        matched r'(?P<tag>CFNM\d+) (?P<type>[A-Z]+) (?P<dat=
a>.*)' =3D> ('CFNM10', 'OK', 'Search completed.')
imap:   16:55.60 untagged_responses[SEARCH] =3D> ['']
imap: savemessage_searchforheader got initial matchinguids: ''
imap: savemessage_searchforheader: matchinguids now ['']




[Prev in Thread] Current Thread [Next in Thread]