blinkenlights ui broken due to circular import

Christopher Baines mail at
Fri Oct 7 21:35:27 BST 2016


Thanks for writing offlineimap, I haven't quite got in to using it
yet, but I'm quite excited by the possibility.

I was trying to work out why the blinkenlights didn't work for me,
and I realised that its a bug in offlineimap, as the import ends up
being circular [1].

Not quite sure how best to fix this, but I can confirm that moving
the "from offlineimap.ui..." import line one line up in
offlineimap/ does fix the issue for me.

Thanks again,


Traceback (most recent call last):
  File "", line 26, in <module>
    import offlineimap
  File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/", line 20, in <module>
    from offlineimap.init import OfflineImap
  File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/", line 30, in <module>
    from offlineimap import globals, threadutil, accounts, folder, mbnames
  File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/", line 25, in <module>
    from offlineimap.ui import getglobalui
  File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/ui/", line 29, in <module>
    from offlineimap.ui import Curses
  File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/ui/", line 27, in <module>
    from offlineimap.threadutil import ExitNotifyThread
ImportError: cannot import name ExitNotifyThread

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 955 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the OfflineIMAP-project mailing list