Comments (9)
I don't use snap, but yeah likely it stops you from writing outside some specific dirs. You can use a custom --muhome
(or MUHOME
); see manpage and mu4e-mu-home
for mu4e
(see the manual). Or you can just build mu
yourself, and things should work with the defaults.
Good luck!
from mu.
Hmmm... Perhaps mu is already running? That could lock the database.
from mu.
Nothing in ps ax
and there is no xapian directory. Is there an other way to look for?
And shouldn't there be another error message?
from mu.
Even reboot
and logging in via tty and just running that mu
command does not work. And I cannot see a permission problem. When I try it with sudo
it works and tells me using directory: /root/snap/maildir-utils/629/.cache/mu/xapian
so maybe it should use /home/martin/snap/...
instead of my /home/martin/.cache/...
?
Maybe there is just a configuration mistake ant the snap
is not allowed to write to ~/.cache
?
from mu.
Another error message?
Anyway, you can try to see if it works for some other dir:
mu init --muhome=/tmp/bla --maildir=~/Maildir
and you could try to run mu init
with strace
, to see if there's some underlying error.
from mu.
mu init --muhome=/home/martin/foo --maildir=~/Maildir
works fine.
mu init --muhome=/home/martin/.foo --maildir=~/Maildir
gives the error.
Using strace
on both commands the main difference is that on the later with the error the line
recvmsg(3,` {msg_namelen=112}, 0) = -1 EAGAIN (Resource temporarily unavailable)
But I don't really understand that.
from mu.
on the other hand --muhome="/home/martin/snap/maildir-utils/current/.cache/mu"
works fine, but then I have to do that witch all the time. Shouldn't it be there by default?
Interestingly sudo -u martin mu init --maildir /home/martin/Maildir/
uses /home/martin/snap/maildir-utils/629/.cache/mu/xapian
when using with the user martin
. So what is wrong in my config?
from mu.
unset XDG_CACHE_HOME
before running mu init
seems to solve the problem now mu
uses /home/martin/snap/maildir-utils/629/.cache/mu/xapian
and even mu index
works fine. But in emacs mu4e would not start seems it loads the variable from somewhere. :(
Now I need to find out what is setting this variable on startup or login and why.
Finally I found it just for people who want to know the anser:
I tried ubuntuDDE desktop, see https://itsfoss.com/install-deepin-ubuntu/
the "offical ppa" instructions will install the file /etc/profile.d/deepin-xdg-dir.sh
which is setting the XDG_CACHE_HOME
and that makes mu
installed via snap
to fail. The profile is not loaded when using sudo
. I don't need deepin, was just curious so this is easy to fix.
from mu.
Thanks for your time!
from mu.
Related Issues (20)
- [mu bug] Wrong type argument: char-or-string-p, nil with SOME attachments HOT 3
- [mu4e rfe] Duplicate Message Indication HOT 3
- [mu4e bug] Garbled headers when editing a saved msg with no body HOT 4
- [mu4e bug] mu4e-compose-pre-hook is broken in v1.12+ HOT 4
- [mu4e rfe] Save all attachments in one time HOT 2
- Unable to set bookmark from mu4e view HOT 1
- [mu4e bug] Saved drafts not deleted after send HOT 7
- Encoding issue for some types of emails HOT 8
- [misc] [mu4e] [documentation] Incomplete sentence on section `5.6.2 MIME-part actions` HOT 2
- [mu4e rfe] Adding mailing list commands HOT 1
- Broken `meson setup` command in `README.org`
- [mu4e rfe] Way to jump between fields in compose mode HOT 1
- [misc] [mu4e] [documentation] install instructions for HOT 1
- mu4e-compose-pre-hook not triggering anymore HOT 1
- [mu4e bug] How to silence tip on `user-mail address` HOT 2
- [misc] support a post imapnotify `mu index` while mu4e is running HOT 2
- [mu/mu4e bug] updates made via mu4e not visible to external mu queries anymore HOT 4
- [mu4e rfe] Opening attachments directly in external programs HOT 1
- [mu4e bug] mu loses track of messages marked as (un)read in mu4e HOT 5
- [mu4e bug] Attachments with identical name: mu4e-view-save-attachments can only save one HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mu.