ERROR in syncfolder for (username) folder INBOX : null byte in argument for long()

chris coleman christocoleman at yahoo.com
Tue Apr 26 20:05:27 BST 2011


Hello,

Offlineimap has been working fine since I repaired the most recent error in the 
data files about a week ago (thanks to your help locating the bad data in the ).

Now today this error comes up... I'm suspecting bad data, but I looked in the 
same file, and it seemed correct at first look... no garbage characters, all in 
number:number format .  


I'm running 6.2.0 (I believe it's really 6.2.0.2) included with debian lenny.

The user is anxious to have their local and remote mailboxes sync up again...

I know the bad data is probably in the file 
~/.offlineimaprc/Repository-IMAPLocal(username)/UIDMapping/INBOX since it is the 
one with the timestamp of 10:12 this morning, the last time the user reports 
receiving any new mail in their INBOX...

Any idea how to quickly locate and repair the bad data ( or other ) that is 
causing of this crash ??  


Chris




Folder sync <username>[INBOX]: DEBUG[imap]: dequote() called with input: INBOX
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.48 > EAFM4 SELECT INBOX
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * FLAGS (\Answered 
\Flagged \Draft \Deleted \Seen NonJunk $Forwarded $MDNSent $Label1 Junk $label3 
b&-w_pers_lines_contact $label2 $label4 $label5)
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('FLAGS', ' (\\Answered \\Flagged \\Draft 
\\Deleted \\Seen NonJunk $Forwarded $MDNSent $Label1 Junk $label3 
b&-w_pers_lines_contact $label2 $label4 $label5)', '(\\Answered \\Flagged 
\\Draft \\Deleted \\Seen NonJunk $Forwarded $MDNSent $Label1 Junk $label3 
b&-w_pers_lines_contact $label2 $label4 $label5)')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[FLAGS] 
0 += ["(\Answered \Flagged \Draft \Deleted \Seen NonJunk $Forwarded $MDNSent 
$Label1 Junk $label3 b&-w_pers_lines_contact $label2 $label4 $label5)"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [PERMANENTFLAGS 
(\Answered \Flagged \Draft \Deleted \Seen NonJunk $Forwarded $MDNSent $Label1 
Junk $label3 b&-w_pers_lines_contact $label2 $label4 $label5 \*)]  

Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [PERMANENTFLAGS (\\Answered 
\\Flagged \\Draft \\Deleted \\Seen NonJunk $Forwarded $MDNSent $Label1 Junk 
$label3 b&-w_pers_lines_contact $label2 $label4 $label5 \\*)]  ', 
'[PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen NonJunk 
$Forwarded $MDNSent $Label1 Junk $label3 b&-w_pers_lines_contact $label2 $label4 
$label5 \\*)]  ')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 0 
+= ["[PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen NonJunk 
$Forwarded $MDNSent $Label1 Junk $label3 b&-w_pers_lines_contact $label2 $label4 
$label5 \*)]  "]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('PERMANENTFLAGS', ' (\\Answered 
\\Flagged \\Draft \\Deleted \\Seen NonJunk $Forwarded $MDNSent $Label1 Junk 
$label3 b&-w_pers_lines_contact $label2 $label4 $label5 \\*)', '(\\Answered 
\\Flagged \\Draft \\Deleted \\Seen NonJunk $Forwarded $MDNSent $Label1 Junk 
$label3 b&-w_pers_lines_contact $label2 $label4 $label5 \\*)')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[PERMANENTFLAGS] 0 += ["(\Answered \Flagged \Draft \Deleted 
\Seen NonJunk $Forwarded $MDNSent $Label1 Junk $label3 b&-w_pers_lines_contact 
$label2 $label4 $label5 \*)"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * 20957 EXISTS
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?' => ('20957', 'EXISTS', None, 
None)
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[EXISTS] 0 += ["20957"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * 0 RECENT
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?' => ('0', 'RECENT', None, None)
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[RECENT] 0 += ["0"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [UNSEEN 1]  
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [UNSEEN 1]  ', '[UNSEEN 1]  ')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 1 
+= ["[UNSEEN 1]  "]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('UNSEEN', ' 1', '1')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[UNSEEN] 0 += ["1"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [UIDVALIDITY 
1287685250]  

Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [UIDVALIDITY 1287685250]  ', 
'[UIDVALIDITY 1287685250]  ')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 2 
+= ["[UIDVALIDITY 1287685250]  "]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('UIDVALIDITY', ' 1287685250', 
'1287685250')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[UIDVALIDITY] 0 += ["1287685250"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [UIDNEXT 77695]  
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [UIDNEXT 77695]  ', '[UIDNEXT 
77695]  ')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 3 
+= ["[UIDNEXT 77695]  "]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('UIDNEXT', ' 77695', '77695')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[UIDNEXT] 0 += ["77695"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [NOMODSEQ] Sorry, 
modsequences have not been enabled on this mailbox
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [NOMODSEQ] Sorry, modsequences 
have not been enabled on this mailbox', '[NOMODSEQ] Sorry, modsequences have not 
been enabled on this mailbox')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 4 
+= ["[NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('NOMODSEQ', None, None)
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[NOMODSEQ] 0 += [""]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < * OK [URLMECH INTERNAL]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [URLMECH INTERNAL]', '[URLMECH 
INTERNAL]')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 untagged_responses[OK] 5 
+= ["[URLMECH INTERNAL]"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('URLMECH', ' INTERNAL', 
'INTERNAL')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[URLMECH] 0 += ["INTERNAL"]
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 < EAFM4 OK [READ-WRITE] 
Completed
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'(?P<tag>EAFM\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('EAFM4', 'OK', 
'[READ-WRITE] Completed')
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('READ-WRITE', None, None)
Folder sync <username>[INBOX]: DEBUG[imap]:   44:48.49 
untagged_responses[READ-WRITE] 0 += [""]
WARNING: ERROR in syncfolder for <username> folder  INBOX : null byte in 
argument for long()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110426/a3bc4edf/attachment.html>


More information about the OfflineIMAP-project mailing list