Open josch opened 11 years ago
Can you confirm that you meet the requirements regarding the urwid version?
Hi, my alot setup.py says urwid (>=1.1.0) is required. My python-urwid version is:
$ dpkg -l | grep urwid
ii python-urwid 1.1.1-1 amd64 curses-based UI/widget library for Python
maybe you have an older version installed locally? what does
python -c "import urwid; print urwid.__version__"
say?
alot is one of the only two pieces of software I'm using which I have not installed through my package manager so this would be unlikely. Anyways, here the output:
$ python -c "import urwid; print urwid.__version__"
1.1.1
Thanks. Do you see anything out of the ordinary in this mail? (how do i quickly import this base64 encoded blob for debugging?)
Not really.
Here is the email in plaintext copypasted:
Return-Path: rjn@caps.am
Received: from sci.am ([5.199.197.156]) by mx-ha.web.de (mxweb109) with ESMTP
(Nemesis) id 0Lex9v-1VzB5O3orv-00qn9y for <j.schauer@web.de>; Tue, 05 Nov
2013 09:05:54 +0100
Received: by localhost; Tue, 05 Nov 2013 09:02:22 +0100
ujq hld
From: "Annika Koch" <rjn@caps.am>
Reply-To: "Annika Koch" <rjn@caps.am>
To: okiki@web.de
Subject: Kredit bis 100 000 Euro auch ohne Schufa
Date: Tue, 05 Nov 2013 11:00:22 +0300
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain;
X-Antivirus: avast! (VPS 131020-0, 20.10.2013), Outbound message
X-Antivirus-Status: Clean
Envelope-To: <j.schauer@web.de>
X-UI-Filterresults: unknown:5;V01:K0:rEf3eBZNaXk=:m8pXTm2feE/iWJH4FexDiarJYy
c1xFVUNxOMLpPs6ezeGMoRQCSrgAV/ix07PmJz0H14OTQIh0wdDRsG8fiwBFg6NizVof/S8XO
PGtEJYRtF0gaBAqm0IaHxW+hDObOhavwulH7p4ahikQ4iPxczvLRq7HVkhPZ45BNZx7B+1ZSV
L76J21GsTTwvJ1qNL2jQN2T0glWs1Zk+Z6C1coOeOgQMWfYuitSzh2MqHOBsEVKVjIxdBbz2y
NkZFSU7SIfJwOFyaB++amS/W7LiFut6oCuVOaEvZiy/Ek+RYIUo9uJhShKUF7CqRuzZbRV6QP
GJ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fOn5UwJvnwjfUsdCcqX+zm5a//3YeljEgRhtsi
O0CPoeAFkX6JopJHy6qlIP420dh1QfKWOegUoaCl9NtqsEh5GbJajfe+H/cpmwmYvOsbrd4lq
qKK1NmtLzewu6/PqjyeMwvYuym28NrU+bk8+dZgKRpF2f6Fx+plYKndtAwj9NWZQHPYSThqFu
ZKtfHHCz2SRGBRV2QdFQiJfQg8i/BwhYc/6fY4q+dwrHzrjmmhZlM4px4DTGKcNnOgPJThvJS
q5GjSQKDmpoSY0KofXxR4TwAWtXKalR5
Guten Tag,
SofortKredit von 2000 bis zu 100 000 Euro
Auch ohne Schufa möglich!
Besuchen Sie unsere Webseite unter:
www.akredit9.com
News abmelden
www.akredit9.com/asm
I encode/decode base64 using the base64 program which is part of the coreutils package in Debian/Ubuntu/Mint.
Otherwise any web based encode/decoder will do the same job. I just wanted to avoid any mangling with the text by github.
I see a line of unindented cruft within the headers:
...
Received: by localhost; Tue, 05 Nov 2013 09:02:22 +0100
ujq hld
From: "Annika Koch" <rjn@caps.am>
...
I have done no tests myself, but perhaps this is a source of trouble?
yes, this is certainly a malformed mail because of this string ujq hld
in line 6.
I imported the base64 encoded mail to my local notmuch index and for me, alot does not die
when i open this thread.
In thread mode, it shows the one message, with Annika Koch (08:00am)
as summary
and considers the whole mail as body text from line 6 onwards.
My guess is that we have different versions of notmuch running, mine (master, HEAD: 48f2b3f1bc279f61b78d2cb4b19e8b05e607b125) being less strict than yours.
It seems that in my case, libnotmuch extracts the value for the From
header from this mail,
although the corresponding line is only after the gibberish in line 6.
I suspect that in your case, notmuch did not extract this value, resulting in a message
for which the indexed From-value is None. I would not be surprised if such a scenario causes trouble
for alot.
Could you upgrade notmuch and bindings to current upstream versions and re-index? Does this fix the issue? Otherwise, we'll need to cook up a code snipped to verify my guess :)
Hi,
I just received the following spam (encoded in base64 to make sure it reaches you byte by byte the same):
The decoded data is has an md5sum of 8248c9c326482cd808ab77b336f6100d
When I try to open the thread containing this message in alot (I'm running the master branch) then I get the following error: