Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107742 - net-mail/offlineimap-4.0.11 crash
Summary: net-mail/offlineimap-4.0.11 crash
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 107688
  Show dependency tree
 
Reported: 2005-09-30 15:03 UTC by Andrej Kacian (RETIRED)
Modified: 2005-09-30 15:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2005-09-30 15:03:57 UTC
When "offline syncing" my IMAP mailbox with ~4000 mails in ~60 folders, I get
this crash after completing synchronization of some amount of folders:

Thread 'Account sync tichodaria' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153,
in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/accounts.py", line 113, in
syncrunner
    self.sync()
  File "/usr/lib/python2.3/site-packages/offlineimap/accounts.py", line 133, in sync
    remoterepos.syncfoldersto(localrepos)
  File "/usr/lib/python2.3/site-packages/offlineimap/repository/Base.py", line
105, in syncfoldersto
    destfolders = dest.getfolders()
  File "/usr/lib/python2.3/site-packages/offlineimap/repository/Maildir.py",
line 144, in getfolders
    self.folders = self._getfolders_scandir(self.root)
  File "/usr/lib/python2.3/site-packages/offlineimap/repository/Maildir.py",
line 109, in _getfolders_scandir
    for dirname in os.listdir(toppath) + ['.']:
OSError: [Errno 2] No such file or directory: '/home/ticho/OfflineImapMaildir'


Last 50 debug messages logged for Account sync tichodaria prior to exception:
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"Cron.daria"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "Cron.daria"
imap: dequote() returning: Cron.daria
imap: dequote() called with input: Cron.daria
imap: imapsplit() called with input: (\HasNoChildren) "." "MISC.TB"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"MISC.TB"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "MISC.TB"
imap: dequote() returning: MISC.TB
imap: dequote() called with input: MISC.TB
imap: imapsplit() called with input: (\HasNoChildren) "." "ADMIN.aide"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"ADMIN.aide"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "ADMIN.aide"
imap: dequote() returning: ADMIN.aide
imap: dequote() called with input: ADMIN.aide
imap: imapsplit() called with input: (\HasNoChildren) "." "ADMIN.virusreport"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"ADMIN.virusreport"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "ADMIN.virusreport"
imap: dequote() returning: ADMIN.virusreport
imap: dequote() called with input: ADMIN.virusreport
imap: imapsplit() called with input: (\HasNoChildren) "." "ADMIN.kerberos"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"ADMIN.kerberos"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "ADMIN.kerberos"
imap: dequote() returning: ADMIN.kerberos
imap: dequote() called with input: ADMIN.kerberos
imap: imapsplit() called with input: (\HasNoChildren) "." "ADMIN.nagios"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"ADMIN.nagios"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "ADMIN.nagios"
imap: dequote() returning: ADMIN.nagios
imap: dequote() called with input: ADMIN.nagios
imap: imapsplit() called with input: (\HasNoChildren) "." "ynet_sk.porty"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"ynet_sk.porty"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "ynet_sk.porty"
imap: dequote() returning: ynet_sk.porty
imap: dequote() called with input: ynet_sk.porty
maildir: _GETFOLDERS_SCANDIR STARTING. root = /home/ticho/OfflineImapMaildir,
extension = None
maildir:   toppath = /home/ticho/OfflineImapMaildir

(/home/ticho/OfflineImapMaildir *does* exist, and my .offlineimaprc is an exact
copy of the sample minimal config file installed into /usr/share/doc)
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-09-30 15:06:11 UTC
The re: comment #1, "exact copy" of course implies "with adjusted values for my
settings (paths, server hostname/user). Just FYI. :)
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-09-30 15:10:03 UTC
offlineimap-4.0.8 works nicely on the same account, with the same .offlineimaprc
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-09-30 15:27:49 UTC
Sorry, this was caused by offlineimap's annoying curses screen cleanup after
completion. Previous crash message (target dir not created) was staring at me
when it completed its job.