blinkenlights ui broken due to circular import
mail at cbaines.net
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 .
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/init.py does fix the issue for me.
Traceback (most recent call last):
File "setup.py", line 26, in <module>
File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/__init__.py", line 20, in <module>
from offlineimap.init import OfflineImap
File "/tmp/guix-build-offlineimap-7.0.7.drv-0/offlineimap-7.0.7/offlineimap/init.py", 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/threadutil.py", 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/__init__.py", 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/Curses.py", line 27, in <module>
from offlineimap.threadutil import ExitNotifyThread
ImportError: cannot import name ExitNotifyThread
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 955 bytes
Desc: OpenPGP digital signature
More information about the OfflineIMAP-project