Fresh install 6.4.3-rc2

Ivan Semin ivun at wirebyte.com
Wed Jun 29 07:26:31 UTC 2011


Hello!

I am using offlineimap for about half a year already to sync gmail
with local imap account. Now I have decided to backup the local copy
to another server. So I have a fresh install of 6.4.3-rc2 and python
2.6 (from yum on centos). The install didn't work on python 2.4 by the
way.

I have set up the local imap mailbox and the remote imap mailbox with
readonly=yes in offlineimaprc. It connected and logged in to both,
copied the folder structure and then died with the following in
stderr:

WARNING: ERROR attempting to copy message 3 for account Data:Traceback
(most recent call last):
  File "/usr/lib/python2.6/site-packages/offlineimap/folder/Base.py",
line 272, in copymessageto
    newuid))
TypeError: %d format: a number is required, not NoneType


The full output is the following:

OfflineIMAP 6.3.4-rc2
Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>

This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account Data
Copying folder structure from IMAP to MappedIMAP
Establishing connection to exchange.something.com:143.
Establishing connection to 127.0.0.1:143.
Syncing A_Kenny Data: IMAP -> MappedIMAP
Syncing Apple Mail To Do: IMAP -> MappedIMAP
Syncing Deleted Messages: IMAP -> MappedIMAP
Copy message 3 IMAP[A_Kenny Data] -> MappedIMAP[A_Kenny Data]
Syncing Drafts: IMAP -> MappedIMAP
Copy message 4 IMAP[A_Kenny Data] -> MappedIMAP[A_Kenny Data]
Thread 'Copy message 3 from A_Kenny Data' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/offlineimap/threadutil.py",
line 140, in run
    Thread.run(self)
  File "/usr/lib64/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/site-packages/offlineimap/folder/Base.py",
line 272, in copymessageto
    newuid))
TypeError: %d format: a number is required, not NoneType


Last 14 debug messages logged for Copy message 3 from A_Kenny Data
prior to exception:
thread: Register new thread 'Copy message 3 from A_Kenny Data' (account 'Data')
imap: Returned object from fetching 3: 'Delivered-To: max at something.com
X-OfflineIMAP: 407542658-446174614c6f63616c-415f4b656e6e792044617461-1295644663-0231223493626-v6.2.0
Received: by 1...==

------=_NextPart_000_0085_01CB3370.D6A914F0--
'
imap: savemessage: called
imap: savemessage: new header is: X-OfflineIMAP: 1351832608-785950266
imap: savemessage_addheader: called to add X-OfflineIMAP: 1351832608-785950266
imap: savemessage_addheader: insertionpoint = 34
imap: savemessage_addheader: leader = 'Delivered-To: max at something.com'
imap: savemessage_addheader: newline = '\r\nX-OfflineIMAP: 1351832608-785950266'
imap: savemessage_addheader: trailer = '\r\nX-OfflineIMAP:
407542658-446174614c6f63616c-415f4b656e6e792044617461-1295644663-0231223493626-v6.2.0\r\nReceived:
by 10.216.181.83 with SMTP id k61cs220149wem; Wed, 4 Aug 2010\r\n
01:03:52 -0700 (PDT)\r\nReceived: by 10.151.24.18 with SMTP id
b18mr9956997ybj.369.1280909030300; Wed,\r\n 04 Aug 2010 01:03:50 -0700
(PDT)\r\nReturn-Path: <kenny at somethingelements.com>\r\nReceived: from
smtp113.biz.mail.re2.yahoo.com (smtp113.biz.mail.re2.yahoo.com\r\n
[66.196.116.98]) by mx.google.com with SMTP id\r\n
6si20049397ybj.52.2010.08.04.01.03.48; Wed, 04 Aug 2010 01:03:50 -0700
(PDT)\r\nReceived-SPF: neutral (google.com: 66.196.116.98 is neither
permitted nor\r\n denied by best guess record for domain of
kenny at somethingelements.com)\r\n
client-ip=66.196.116.98;\r\nAuthentication-Results: mx.google.com;
spf=neutral (google.com: 66.196.116.98\r\n is neither permitted nor
denied by best guess record for domain of\r\n
kenny at somethingelements.com)
smtp.mail=kenny at somethingelements.com\r\nReceived: (qmail 73331
invoked from network); 4 Aug 2010 08:03:48 -0000\r\nReceived: from
kennyPC (kenny at 112.119.134.46 with login) by\r\n
smtp113.biz.mail.re2.yahoo.com with SMTP; 04 Aug 2010 01:03:30 -0700
PDT\r\nX-Yahoo-SMTP: XJ1.Eh6swBAYGQGBCPj09mfHMSYqig--\r\nX-YMail-OSG:
tZUbmkUVM1nUXw5z7UMliHDF3boG68UT2lHXwplp8NrVprq\r\n
8Q6fAImbr2lR1V4lC0cCi35CZh7MoieU3vEOgQAIQbDgG48ydTMFeZjETTHz\r\n
6f_gRpH4Z2d8fFblv08ueF0jMHLk.wS0vUqAAstaAF0.sh1mLcC3vyC3TD5g\r\n
v1a8zeo9qqo8BrbD4yR6o9bhndEC7zjtSGtUaEq27PWq3RGzKhLtCI6wUrO8\r\n
vrWZV9IYZ9nomRETSZPJ5yMxQ82zugVc3ZPEV4ZHQV6aclGN7M224nAi4ZIJ\r\n
Gity8uJUBWhnlO7x4xrwFCADkVFjogPLKs66Twtt2TVeRbf1g5Lao4KbUMnI\r\n
YotIK6al4LRoFR3_tE7osxGSvPS30n.6kHIh191fXEFd8Hkti7mTs8ZbXNeY
03Vp1Zcmv9A--\r\nX-Yahoo-Newman-Property: ymail-3\r\nReply-To:
<kenny at somethingelements.com>\r\nFrom: "Kenny - something Elements"
<kenny at somethingelements.com>\r\nTo: <max at something.com>\r\nSubject:
Taron Collection\r\nDate: Wed, 4 Aug 2010 00:59:41
-0700\r\nOrganization: something Elements\r\nMessage-ID:
<008401cb33ab$8307ecf0$8917c6d0$@com>\r\nMIME-Version:
1.0\r\nContent-Type: multipart/mixed;\r\n
boundary="----=_NextPart_000_0085_01CB3370.D6A914F0"\r\nX-Mailer:
Microsoft Office Outlook 12.0\r\nthread-index:
AcsvawrCbNWXfM3rS7yWL0e1xCYQGADGKTXAAEmyctA=\r\nContent-Language:
en-us\r\nx-cr-hashedpuzzle: eMg= A9XA BkpF DBox E4us FBy3 FZ+I F/zC
GMBJ HvRb HziT H+Ze\r\n IR4P Iryr IsVa\r\n
K8hZ;1;bQBhAHgAQABhAGwAbABlAGcAcgBvAHMAaABvAHAAcwAuAGMAbwBtAA==;Sosha1_v1;7;{1EF6B108-3091-471A-BE48-28E49722D3E5};awBlAG4AbgB5AEAAdABpAG0AZQBsAGUAcwBzAGUAbABlAG0AZQBuAHQAcwAuAGMAbwBtAA==;Wed,\r\n
04 Aug 2010 07:56:11
GMT;VABhAHIAbwBuACAAQwBvAGwAbABlAGMAdABpAG8AbgA=\r\nx-cr-puzzleid:
{1EF6B108-3091-471A-BE48-28E49722D3E5}\r\n\r\n\r\n------=_NextPart_000_0085_01CB3370.D6A914F0\r\nContent-Type:
multipart/alternative;\r\n\tboundary="----=_NextPart_001_0086_01CB3370.D6A914F0"\r\n\r\n\r\n------=_NextPart_001_0086_01CB3370.D6A914F0\r\nContent-Type:
text/plain;\r\n\tcharset=us-ascii\r\nContent-Transfer-Encoding:
7bit\r\n\r\n \r\n\r\n

<about 600KB of mail body here>

=_NextPart_000_0085_01CB3370.D6A914F0--\r\n'
imap: savemessage: date: "04-Aug-2010 00:59:41 -0800", content:
'Delivered-To: max at something.com
X-OfflineIMAP: 1351832608-785950266
X-OfflineIMAP: 407542658-446174614c6f63616c-415f4b656e6e792044617461-12956446...

------=_NextPart_000_0085_01CB3370.D6A914F0--
'
imap: savemessage_searchforheader called for X-OfflineIMAP: 1351832608-785950266
imap: savemessage_searchforheader got initial matchinguids: '3'
imap: savemessage_searchforheader: matchinguids now ['3']
imap: savemessage: returning new UID 3



Any ideas? I suspect there could be a problem with APPENDing a
message, because I never tried that on this new server yet, but anyway
it's impossible to understand that from the log.

Regards, Ivan.



More information about the OfflineIMAP-project mailing list