blinkenlights ui broken due to circular import
Christopher Baines
mail at cbaines.net
Fri Oct 7 21:35:27 BST 2016
Hey,
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/init.py does fix the issue for me.
Thanks again,
Chris
1:
Traceback (most recent call last):
File "setup.py", line 26, in <module>
import offlineimap
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...
Name: signature.asc
Type: application/pgp-signature
Size: 955 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20161007/24391a7c/attachment-0002.sig>
More information about the OfflineIMAP-project
mailing list