Stuck in a loop

Mark Foxwell fastfret79 at archlinux.org.uk
Wed Jun 15 22:51:46 BST 2011


Hi,

Just updated to v6.3.4-rc2, but it seems to get stuck in a loop.

I get the following error output on the console with the first two
lines repeated many times:

  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Maildir.py",
line 167, in _getfolders_scandir
    retval.extend(self._getfolders_scandir(root, foldername))
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Maildir.py",
line 163, in _getfolders_scandir
    self.getsep(), self, self.accountname,
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Maildir.py",
line 65, in getsep
    return self.getconf('sep', '.').strip()
  File "/usr/lib/python2.7/site-packages/offlineimap/CustomConfig.py",
line 103, in getconf
    self.getconfig().get)
  File "/usr/lib/python2.7/site-packages/offlineimap/CustomConfig.py",
line 96, in _confighelper_runner
    return apply(defaultfunc, [self.getsection(), option, default])
  File "/usr/lib/python2.7/site-packages/offlineimap/CustomConfig.py",
line 27, in getdefault
    return apply(self.get, [section, option] + list(args), kwargs)
  File "/usr/lib/python2.7/ConfigParser.py", line 605, in get
    d = _Chainmap(vardict, sectiondict, self._defaults)
RuntimeError: maximum recursion depth exceeded

After enabling the debug switch, the following chuck gets debugged many times:

DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root =
/home/mark/Mail/fastfret79 at archlinux.org.uk, extension =
/home/mark/Mail/fastfret79 at archlinux.org.uk/wiki
DEBUG[maildir]:   toppath = /home/mark/Mail/fastfret79 at archlinux.org.uk/wiki
DEBUG[maildir]:   *** top of loop
DEBUG[maildir]:   dirname = tmp
DEBUG[maildir]:   skipping this dir (Maildir special)
DEBUG[maildir]:   *** top of loop
DEBUG[maildir]:   dirname = cur
DEBUG[maildir]:   skipping this dir (Maildir special)
DEBUG[maildir]:   *** top of loop
DEBUG[maildir]:   dirname = new
DEBUG[maildir]:   skipping this dir (Maildir special)
DEBUG[maildir]:   *** top of loop
DEBUG[maildir]:   dirname = /home/mark/Mail/fastfret79 at archlinux.org.uk/wiki
DEBUG[maildir]:   fullname = /home/mark/Mail/fastfret79 at archlinux.org.uk/wiki
DEBUG[maildir]:   This is a maildir folder.
DEBUG[maildir]:   foldername = /home/mark/Mail/fastfret79 at archlinux.org.uk/wiki

I get this with all my accounts with different folders debugged on
each account - i.e. it's the drafts folder on another account etc.

Any ideas what may be causing this and what I can try?

Mark




More information about the OfflineIMAP-project mailing list