ValueError: Backend could not find uid for message

John Wiegley jwiegley at gmail.com
Mon Feb 13 22:09:35 GMT 2012


I'm seeing a LOT of these lately, usually 1 in every four syncs.  Plus, it
causes my offlineimap to abort so that I have to remember to keep restarting
it.

Any ideas of what to look at?

Thanks,
  John

--8<---------------cut here---------------start------------->8---
Copy message 4512 (6 of 32) RemoteIMAP:Lists/WG21/Reflector -> LocalIMAP
Server supports UIDPLUS but got no APPENDUID appending a message.
ERROR: Backend could not find uid for message, returned 0
Copy message 4513 (7 of 32) RemoteIMAP:Lists/WG21/Reflector -> LocalIMAP
Thread 'Copy message from RemoteIMAP:Lists/WG21/Reflector' terminated with exception:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/threadutil.py", line 155, in run
    Thread.run(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 300, in copymessageto
    new_uid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/folder/UIDMaps.py", line 195, in savemessage
    "%s" % newluid)
ValueError: Backend could not find uid for message, returned 0


Last 5 debug messages logged for Copy message from RemoteIMAP:Lists/WG21/Reflector prior to exception:
thread: Register new thread 'Copy message from RemoteIMAP:Lists/WG21/Reflector' (account 'Gmail')
imap: Returned object from fetching 4509: 'Delivered-To: jwiegley at gmail.com
Received: by 10.220.202.202 with SMTP id ff10csp22980vcb;
        Sun, 12 Feb 2012 05:31:31 -0800 (PST)
Received: by ...ame A::B::C "nominated" here?

Thanks,

- Daniel

'
imap: savemessage: called
imap: savemessage: date: "12-Feb-2012 14:30:50 -0600", content: 'Delivered-To: jwiegley at gmail.com
Received: by 10.220.202.202 with SMTP id ff10csp22980vcb;
        Sun, 12 Feb 2012 05:31:31 -0800 (PST)
Received: ...:B::C "nominated" here?

Thanks,

- Daniel

'
imap: savemessage: returning new UID 0
ERROR: Exceptions occurred during the run!
ERROR: Backend could not find uid for message, returned 0
imap(johnw): Info: Connection closed bytes=227340/15800

--------------------------------------------------------------------------------

Syncing [Gmail]/Trash: IMAP -> MappedIMAP
Server supports UIDPLUS but got no APPENDUID appending a message.
ERROR: Backend could not find uid for message, returned 0
Copy message 4547 (10 of 18) RemoteIMAP:Lists/WG21/Reflector -> LocalIMAP
Copy message 4548 (11 of 18) RemoteIMAP:Lists/WG21/Reflector -> LocalIMAP
Thread 'Copy message from RemoteIMAP:Lists/WG21/Reflector' terminated with exception:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/threadutil.py", line 155, in run
    Thread.run(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 300, in copymessageto
    new_uid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/folder/UIDMaps.py", line 195, in savemessage
    "%s" % newluid)
ValueError: Backend could not find uid for message, returned 0


Last 5 debug messages logged for Copy message from RemoteIMAP:Lists/WG21/Reflector prior to exception:
thread: Register new thread 'Copy message from RemoteIMAP:Lists/WG21/Reflector' (account 'Gmail')
imap: Returned object from fetching 4543: 'Delivered-To: jwiegley at gmail.com
Received: by 10.220.202.202 with SMTP id ff10csp47396vcb;
        Mon, 13 Feb 2012 04:03:01 -0800 (PST)
Received: by ...w0KfQ0K
--------------080408030908050200070004--

'
imap: savemessage: called
imap: savemessage: date: "13-Feb-2012 16:02:06 -0600", content: 'Delivered-To: jwiegley at gmail.com
Received: by 10.220.202.202 with SMTP id ff10csp47396vcb;
        Mon, 13 Feb 2012 04:03:01 -0800 (PST)
Received: ...fQ0K
--------------080408030908050200070004--

'
imap: savemessage: returning new UID 0
ERROR: Exceptions occurred during the run!
ERROR: Backend could not find uid for message, returned 0
imap(johnw): Info: Connection closed bytes=532207/70860
--8<---------------cut here---------------end--------------->8---





More information about the OfflineIMAP-project mailing list