Bug: notmuch new chokes on dangling symlinks and quits

Subject: Bug: notmuch new chokes on dangling symlinks and quits

Date: Sun, 26 Jan 2014 14:18:46 +0100

To: notmuch

Cc:

From: Gregor Zattler


Dear notmuch developers,

notmuch new quits operation if it hit's a dangling symlink:


Error reading file /home/grfz/notmuch2/Mail/findex/cur/123456789.684055.mairix:2,: No such file or directory
Note: A fatal error was encountered: Something went wrong trying
to read or write a file Processed 85 total files in 1s (47
files/sec.)


I consider this to be a bug.  Instead notmuch should simply
ignore the symlink.

This is especially problematic while indexing a huge amount of
mail the first time and notmuch hits the dangling symlink at an
early stage of indexing.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

Thread: