Good afternoon David.

Do you know somebody who understands the trouble?

Regards,

<font face="arial">Yeison Quintero</font>
System Administrator
<font style="font-size:8pt" face="arial, helvetica, sans-serif">Spanish Connector L.L.C</font>
<font size="1" color="#000000">
<font face="arial, helvetica, sans-serif">Venezuela</font>
</font>
<font style="font-size:x-small;font-family:arial">Phone:</font><font style="font-size:x-small" face="arial, helvetica, sans-serif" color="#0b5394"> 
<u>1-404-480-9188
</u> Ext. <u>
</u>
8012
 </font><font style="font-size:x-small" color="#0b5394"><font face="arial, helvetica, sans-serif">(US)</font>  /  <u style="font-family:arial,helvetica,sans-serif">58</u>
-
<u style="font-family:arial,helvetica,sans-serif">243</u>
-
<u style="font-family:arial,helvetica,sans-serif">242</u>
-
<u style="font-family:arial,helvetica,sans-serif">0470 </u>(Venezuela) </font>
Skype ID: spanishconnector.yeison1
Website: www.spanishconnector.com
<img src="http://i833.photobucket.com/albums/zz257/spanishconnector/linkedin-icon-gif.gif" alt="" width="17" height="17"> Estamos en LinkedIn. Connect with us!
<img src="http://i833.photobucket.com/albums/zz257/spanishconnector/icon_sm_facebook.gif" alt=""> Estamos en Facebook. Like us!
<img src="http://i833.photobucket.com/albums/zz257/spanishconnector/icon_sm_twitter.gif" alt=""> Estamos en Twitter. Follow us!
<img src="http://i833.photobucket.com/albums/zz257/spanishconnector/SpanishConnector-Logo-011.jpg" alt="" width="255" height="51">

2015-07-08 11:33 GMT-04:30 David Bremner <david@tethera.net>:
yquintero <yeison.quintero@spanishconnector.com> writes:

> Good evenning.
>
> I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I have
> been searching the solution to the following code:
>
> Warning: failed to open directory /home/pi/mail: No such file or directory
> Found 0 total files (that's not much mail).
> Error: Cannot create database at /home/pi/mail: No such file or directory.

Did you first run "notmuch setup" and then "notmuch new"?

>
> Firstly I apply these steps before to run notmuch-mutt
>
> 1).- I add the macros:
>
> # 'L' performs a notmuch query, showing only the results
> macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p
> 'notmuch query: ' x; echo \$x
>>~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages
> \$(cat ~/.cache/mutt_terms) | head -n 600 |
> perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show
> only messages matching a notmuch pattern"
> # 'a' shows all messages again (supersedes default <alias> binding)
> macro index a "<limit>all\n" "show all messages (undo limit)"
>
> 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the error does
> not show" but when I try the find with "L" with .muttrc the system shows
> "empty exception"
>

I'm not very familiar with mutt but that doesn't sound like the right
solution to anything. In any case, please get command line notmuch
searches working first, then we can find someone who understands any
remaining issues with notmuch-mutt.