You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Lock file is already being held
at /usr/lib/node_modules/@bitwarden/cli/node_modules/proper-lockfile/lib/lockfile.js:68:47
at callback (/usr/lib/node_modules/@bitwarden/cli/node_modules/graceful-fs/polyfills.js:306:20)
at FSReqCallback.oncomplete (node:fs:211:5) {
code: 'ELOCKED',
file: '/home/jds6696/.config/Bitwarden CLI/data.json'
}
Node.js v18.18.2
which is causing exit-code to equal 1 and within the bitwarden-runcmd function which then gets pickuped but misshandled within the follwing if form
(if (eq exit-code 0)
output
(cond ...))
What works for me is replacing (eq exit-code 0) with t for the moment.
I am sure there is a better solution that bypasses this error and also doesn't simply remove the functionality of this clause but this worked for me.
Hope this helps.
The text was updated successfully, but these errors were encountered:
jsilve24
added a commit
to jsilve24/emacs-bitwarden
that referenced
this issue
Dec 19, 2023
Thanks for the report! I just noticed this as well. I've been wanting to rewrite this package to use the REST server that is built into bw-cli which would circumvent a lot of these types of errors. Just need more hours in the day 😞
I started getting this warning after upgrading to newest version (on AUR) of bw-cli and emacs-bitwarden. I tracked the error down.
Relevant error in bw-cli
bitwarden/clients#7126
What this is causing:
The bw cli is giving the following error:
which is causing
exit-code
to equal 1 and within thebitwarden-runcmd
function which then gets pickuped but misshandled within the follwing if formWhat works for me is replacing
(eq exit-code 0)
witht
for the moment.I am sure there is a better solution that bypasses this error and also doesn't simply remove the functionality of this clause but this worked for me.
Hope this helps.
The text was updated successfully, but these errors were encountered: