Closed GoogleCodeExporter closed 8 years ago
Aside: If I run my "pullmail" script outside of mu4e, but while mu4e is open, I
get the error:
mu: mu_store_new_writable: xapian error 'Unable to get write lock on /home/james/.mu/xapian: already locked'
If I leave the script running from cron, should I just hide errors from mu and
leave indexing up to mu4e itself?
Original comment by ja...@ladan.ca
on 13 Mar 2012 at 9:30
Current Xapian versions can only be opened once in read-write mode; which is a
bit annoying if you use mu4e and some downloading in the background...
So, you can either do all the downloading in mu4e, or, if you want to use some
external script, make it terminate the running mu instance (mu4e will recreate
it, when needed).
You can terminate mu gracefully by sending it SIGTERM (2) (e.g., using pkill),
and you can do just before updating the database (add a 1s sleep).
I'll add a note about that to the docs.
Note, in your script, you may want to use
offlineimap -u quiet
to avoid any output.
Thanks,
Dirk.
Original comment by digg...@gmail.com
on 14 Mar 2012 at 12:53
Indexing after 'U' is also fine now that I've changed "~/Mail" to
"/home/james/Mail".
(BTW - I use .offlineimaprc to set the quiet UI :))
Original comment by ja...@ladan.ca
on 16 Mar 2012 at 5:56
Following up on that 'aside' above, thanks for the auto-update feature. Now I
leave email fetching to mu4e and don't bother with cron.
Original comment by ja...@ladan.ca
on 20 Mar 2012 at 8:06
Ah, thanks. Closing this then.
Original comment by digg...@gmail.com
on 20 Mar 2012 at 9:58
Original issue reported on code.google.com by
ja...@ladan.ca
on 13 Mar 2012 at 9:28Attachments: