Problem with OfflineIMAP

Tim Kroeger Tim.Kroeger at ohm-hochschule.de
Mon Jul 23 12:02:19 BST 2012


Dear Dave,

Thank you for your reply.  I forgot to subscibe to the list, so that I 
found your reply only by browsing online through the list.  Never 
mind, I have subscribed now.


Dave Abrahams wrote:

> It appeasrs as though there are no "OfflineIMAP developers" at the
> moment :( See
> http://article.gmane.org/gmane.mail.imap.offlineimap.general/5731

Ah, thank you for that information.

> Can you at least post the contents of the error message itself, minus
> any sensitive information it might contain?

Yes, I have attached now part of the debug output containing the 
error.  It's actually the end of the debug output.  Please let me know 
if you need some other part of the debug output.

> > * After this, despite of the error message, everything seems alright
> > for the moment. 
> 
> I get error messages all the time.  It seems as though OLI is pretty
> resilient, though, and if I just run it again, things go well.

That's what I remember having read somewhere in the documentation as 
well, but ...

> > However, if I run OfflineIMAP again then, it produces another,
> > identical, message in the INBOX/tk folder.  This continues arbitrarily
> > often
> 
> Oh, well sounds like you're in a different boat, then.

... yes, that's the point.

Thank you in advance for your assistance!

Best Wishes,

Tim

-- 
Prof. Dr. Tim Kröger
Georg Simon Ohm University of Applied Sciences
Keßlerplatz 12, Office KA.208            tim.kroeger at ohm-hochschule.de
90489 Nürnberg                                 Phone +49-911-5880-1871
Germany                                        Fax   +49-911-5880-5800
-------------- next part --------------
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] state_change_pending.release
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] [async] CHECK ()
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] state_change_pending.acquire
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] state_change_pending.release
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] _get_untagged_response(OK) => ['[UIDNEXT 217] Predicted next UID']
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] _request_push(NBGN17, CHECK, {}) = NBGN17
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] data=NBGN17 CHECK
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 Folder INBOX/tk [acc: Test] CHECK:NBGN17.ready.wait
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 my.ohmportal.de writer > NBGN17 CHECK\r\n
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 my.ohmportal.de reader poll => [(5, 1)]
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 my.ohmportal.de reader rcvd 27
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.36 my.ohmportal.de reader < NBGN17 OK CHECK completed\r\n
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 my.ohmportal.de handler state_change_free.set
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 my.ohmportal.de handler _request_pop(NBGN17, ('OK', ['CHECK completed'])) = NBGN17
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 my.ohmportal.de handler CHECK:NBGN17.ready.set
2012-07-20 15:16:33 DEBUG: [imap]: savemessage_searchforheader called for X-OfflineIMAP: 3165666340-9523992213
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] [async] UID ('SEARCH', 'HEADER', 'X-OfflineIMAP', '"3165666340-9523992213"')
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] state_change_pending.acquire
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] state_change_pending.release
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] _get_untagged_response(OK) => ['[PERMANENTFLAGS (\\Seen \\Deleted \\Answered \\Forwarded \\Redirected \\Flagged \\Hidden \\Draft $MDNSent)] Permanent flags']
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] _request_push(NBGN18, UID, {}) = NBGN18
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] data=NBGN18 UID SEARCH HEADER X-OfflineIMAP "3165666340-9523992213"
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 Folder INBOX/tk [acc: Test] UID:NBGN18.ready.wait
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.37 my.ohmportal.de writer > NBGN18 UID SEARCH HEADER X-OfflineIMAP "3165666340-9523992213"\r\n
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.45 my.ohmportal.de reader poll => [(5, 1)]
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.45 my.ohmportal.de reader rcvd 249
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.45 my.ohmportal.de reader < * SEARCH 1 1 2 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 9 12 13 14 18 19 20 20 21 22 22 23 23 24 25 26 26 27 27 27 28 28 28 29 29 29 30 31 39 40 41 42 43 44 45 57 58 59 61 62 63 88 89 90 91 92 93 94 95 96 97 98 140 141 199\r\n
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.45 my.ohmportal.de reader < NBGN18 OK UID SEARCH completed\r\n
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 my.ohmportal.de handler untagged_responses[SEARCH] 0 += ["1 1 2 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 9 12 13 14 18 19 20 20 21 22 22 23 23 24 25 26 26 27 27 27 28 28 28 29 29 29 30 31 39 40 41 42 43 44 45 57 58 59 61 62 63 88 89 90 91 92 93 94 95 96 97 98 140 141 199"]
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 my.ohmportal.de handler state_change_free.set
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 my.ohmportal.de handler _request_pop(NBGN18, ('OK', ['UID SEARCH completed'])) = NBGN18
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 my.ohmportal.de handler UID:NBGN18.ready.set
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 Folder INBOX/tk [acc: Test] _get_untagged_response(SEARCH) => ['1 1 2 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 9 12 13 14 18 19 20 20 21 22 22 23 23 24 25 26 26 27 27 27 28 28 28 29 29 29 30 31 39 40 41 42 43 44 45 57 58 59 61 62 63 88 89 90 91 92 93 94 95 96 97 98 140 141 199']
2012-07-20 15:16:33 DEBUG: [imap]:   16:33.48 Folder INBOX/tk [acc: Test] _untagged_response(OK, ?, SEARCH) => ['1 1 2 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 9 12 13 14 18 19 20 20 21 22 22 23 23 24 25 26 26 27 27 27 28 28 28 29 29 29 30 31 39 40 41 42 43 44 45 57 58 59 61 62 63 88 89 90 91 92 93 94 95 96 97 98 140 141 199']
2012-07-20 15:16:33 DEBUG: [imap]: savemessage_searchforheader got initial matchinguids: '1 1 2 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 9 12 13 14 18 19 20 20 21 22 22 23 23 24 25 26 26 27 27 27 28 28 28 29 29 29 30 31 39 40 41 42 43 44 45 57 58 59 61 62 63 88 89 90 91 92 93 94 95 96 97 98 140 141 199'
2012-07-20 15:16:33 DEBUG: [imap]: savemessage_searchforheader: matchinguids now ['1', '1', '2', '2', '3', '3', '4', '4', '5', '5', '5', '6', '6', '6', '7', '7', '7', '7', '8', '8', '9', '12', '13', '14', '18', '19', '20', '20', '21', '22', '22', '23', '23', '24', '25', '26', '26', '27', '27', '27', '28', '28', '28', '29', '29', '29', '30', '31', '39', '40', '41', '42', '43', '44', '45', '57', '58', '59', '61', '62', '63', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '140', '141', '199']
2012-07-20 15:16:33 INFO: ERROR: While attempting to find UID for message with header X-OfflineIMAP, got wrong-sized matchinguids of ['1', '1', '2', '2', '3', '3', '4', '4', '5', '5', '5', '6', '6', '6', '7', '7', '7', '7', '8', '8', '9', '12', '13', '14', '18', '19', '20', '20', '21', '22', '22', '23', '23', '24', '25', '26', '26', '27', '27', '27', '28', '28', '28', '29', '29', '29', '30', '31', '39', '40', '41', '42', '43', '44', '45', '57', '58', '59', '61', '62', '63', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '140', '141', '199']
2012-07-20 15:16:33 INFO: ERROR: Syncing folder INBOX/tk [acc: Test]
  'str' object has no attribute 'tb_frame'
2012-07-20 15:16:33 INFO: ['  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 526, in syncmessagesto\n    action(dstfolder, statusfolder)\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 409, in syncmessagesto_copy\n    register = 0)\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 366, in copymessageto\n    exc_info()[2]))\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/ui/UIBase.py", line 147, in error\n    self._msg(traceback.format_tb(exc_traceback))\n', '  File "/usr/lib/python2.7/traceback.py", line 76, in format_tb\n    return format_list(extract_tb(tb, limit))\n', '  File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb\n    f = tb.tb_frame\n']
2012-07-20 15:16:33 INFO: ERROR: ERROR in syncfolder for Test folder INBOX/tk: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 446, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 526, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 409, in syncmessagesto_copy
    register = 0)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 366, in copymessageto
    exc_info()[2]))
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/ui/UIBase.py", line 147, in error
    self._msg(traceback.format_tb(exc_traceback))
  File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
    return format_list(extract_tb(tb, limit))
  File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb
    f = tb.tb_frame
AttributeError: 'str' object has no attribute 'tb_frame'

  'str' object has no attribute 'tb_frame'
2012-07-20 15:16:33 INFO: *** Finished account 'Test' in 0:01
2012-07-20 15:16:33 WARNING: ERROR: Exceptions occurred during the run!
2012-07-20 15:16:33 WARNING: ERROR: While attempting to find UID for message with header X-OfflineIMAP, got wrong-sized matchinguids of ['1', '1', '2', '2', '3', '3', '4', '4', '5', '5', '5', '6', '6', '6', '7', '7', '7', '7', '8', '8', '9', '12', '13', '14', '18', '19', '20', '20', '21', '22', '22', '23', '23', '24', '25', '26', '26', '27', '27', '27', '28', '28', '28', '29', '29', '29', '30', '31', '39', '40', '41', '42', '43', '44', '45', '57', '58', '59', '61', '62', '63', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '140', '141', '199']
2012-07-20 15:16:33 INFO: ERROR: 'str' object has no attribute 'tb_frame'
2012-07-20 15:16:33 WARNING: ERROR: Exceptions occurred during the run!
2012-07-20 15:16:33 WARNING: ERROR: Syncing folder INBOX/tk [acc: Test]
  'str' object has no attribute 'tb_frame'
2012-07-20 15:16:33 WARNING: 
Traceback:
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 526, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 409, in syncmessagesto_copy
    register = 0)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 366, in copymessageto
    exc_info()[2]))
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/ui/UIBase.py", line 147, in error
    self._msg(traceback.format_tb(exc_traceback))
  File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
    return format_list(extract_tb(tb, limit))
  File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb
    f = tb.tb_frame

2012-07-20 15:16:33 WARNING: ERROR: ERROR in syncfolder for Test folder INBOX/tk: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 446, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 526, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 409, in syncmessagesto_copy
    register = 0)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 366, in copymessageto
    exc_info()[2]))
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/ui/UIBase.py", line 147, in error
    self._msg(traceback.format_tb(exc_traceback))
  File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
    return format_list(extract_tb(tb, limit))
  File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb
    f = tb.tb_frame
AttributeError: 'str' object has no attribute 'tb_frame'

  'str' object has no attribute 'tb_frame'
2012-07-20 15:16:33 WARNING: ERROR: 'str' object has no attribute 'tb_frame'


More information about the OfflineIMAP-project mailing list