Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years agoI get an error every time I run `op`.
System Information
Macbook Pro 2021 (M1)
op version: 2.5.1
Every time I run op , I receive the following error:
couldn't start daemon: open /var/run/user/501/op-daemon.pid: no such file ...
Former Member
3 years agowhen I echo'd $TMPDIR
, I got back an entirely different directory:
/var/folders/rr/4p_t05vx7q16xls8nsyx7hlh0000gn/T/
(I imagine that the subdirectory of /var/folders/rr
changes name with each session?)
I did a bit more troubleshooting and decided to run rg
. And lo, it would appear that $XDG_RUNTIME_DIR
was actually set by a script then subsequently unset once another script had finished running. (Don't ask.) In the interim, op
would get called.
So, I fixed that.
Now it works.
User error..
You devs? Did a great job. No debugging required, no hunting down. etc...
Mea culpa.
Have a great day!