Bridge with gmane in trouble?
Hi all, I tried twice to post a message thru the gmane.org NNTP bridge, but got a "not allowed" error message back... This is not my first news message sent to this ML, so something must be out of order... Anyway, after an upgrade of my Debian sid computer I got version 0.20~rc1 installed; everything seems working great, except my i3 statusbar script: it imports "notmuch.globals", which in turn does a " import local". The latter fails under Python 3, I had to change that to "import notmuch.local" because P3 defaults to absolute imports. Hope this gets thru, Thank you & bye, lele. -- Inviato dal mio cellulare Android con K-9 Mail. -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150506/054db9fc/attachment.html>
Repost: Notmuch 0.20~rc1
Hi all, I notice a small glitch in the latest version. Yesterday I upgraded my Debian sid and got 0.20~rc1, and while it seems working great, my i3 status bar, which displays the number of unread emails, didn't work anymore. A quick look revelead the reason: $ python3 status.py Traceback (most recent call last): File status.py, line 11, in module from notmuch import Query File /usr/lib/python3/dist-packages/notmuch/__init__.py, line 54, in module from .database import Database File /usr/lib/python3/dist-packages/notmuch/database.py, line 24, in module from .globals import ( File /usr/lib/python3/dist-packages/notmuch/globals.py, line 21, in module from version import SOVERSION ImportError: No module named 'version' The first lines of globals.py are: from ctypes import CDLL, Structure, POINTER from version import SOVERSION but Python3 by default uses absolute imports (PEP0328) by default, so I think that for compatibility between Python2 and Python3 that should read from ctypes import CDLL, Structure, POINTER from notmuch.version import SOVERSION Manually tweaking that source fixed the problem for me. Thank youbye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Bridge with gmane in trouble?
Hi all, I tried twice to post a message thru the gmane.org NNTP bridge, but got a not allowed error message back... This is not my first news message sent to this ML, so something must be out of order... Anyway, after an upgrade of my Debian sid computer I got version 0.20~rc1 installed; everything seems working great, except my i3 statusbar script: it imports notmuch.globals, which in turn does a import local. The latter fails under Python 3, I had to change that to import notmuch.local because P3 defaults to absolute imports. Hope this gets thru, Thank you bye, lele. -- Inviato dal mio cellulare Android con K-9 Mail.___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch