Hi Niels,

First a thank you for testing it out.

On Mon, Sep 24, 2012 at 02:18:24PM +0200, Niels den Otter wrote:
> Hello Suvayu,
> 
> On Monday, 24 September 2012, Suvayu Ali wrote:
> > I wrote a small address book program for use with mutt based on
> > the notmuch email indexer.  I thought notmuch users on the list
> > might be interested to try this out.
> > 
> >   <https://github.com/suvayu/nbook>
> 
> Interesting idea. It would be nice if the e-mail address would be
> sorted on last-seen, to ensure you have the last address of the
> person you are looking for.
> 

That is a nice idea.  I'll see if I can retrieve that information from
notmuch.  However I'm not sure if the maildir format keeps the
information when an email was last read.

> However; at this moment it's not working for me at all. Is there a limit to 
> the
> number of e-mails that are searched?
> 
>   otter@sambal:~/bin$ ./nbook "niels den otter"
>   Error opening 
> /home/otter/OfflineMail/SURFnet/INBOX/cur/1338539898_0.4620.sambal,U=986381,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S:
>  Too many open files
>   Traceback (most recent call last):
>     File "./nbook", line 167, in <module>
>     File "./nbook", line 72, in __init__
>     File "/usr/lib/python2.7/dist-packages/notmuch/message.py", line 233, in 
> get_header
>   notmuch.errors.NullPointerError

I can replicate this error when I search for my name.  But it works with
any other name where I expect to have lots of results.  I'll look into
it, however you have to be a bit patient since I'm a Python newbie.  :-p

Thanks a lot for reporting the issue.  :)


> Kind regards,
> 
> Niels den Otter

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to