Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will not automatically create the org.mlfs.comrp.bw folder #20

Open
th815 opened this issue Jul 30, 2024 · 1 comment
Open

Will not automatically create the org.mlfs.comrp.bw folder #20

th815 opened this issue Jul 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@th815
Copy link

th815 commented Jul 30, 2024

[15:52:38.575] STDERR: Bitwarden Accelerator[Script Filter] touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/sync: No such file or directory
lib/status.sh: line 6: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/status: No such file or directory
[15:52:38.576] Bitwarden Accelerator[Script Filter] { "items": 
[ {}
, {
  "title": "Login to Bitwarden"
, "arg": "login", "subtitle": "Default [email protected]"}
, {
  "title": "Configure Workflow"
, "arg": "workflow", "subtitle": "Opens in Alfred Preferences"}
]
 }
[15:52:39.551] Bitwarden Accelerator[Script Filter] Processing complete
[15:52:39.552] Bitwarden Accelerator[Script Filter] Passing output 'login' to Arg and Vars
[15:52:39.554] Bitwarden Accelerator[Arg and Vars] Processing complete
[15:52:39.556] Bitwarden Accelerator[Arg and Vars] Passing output 'login' to Conditional
[15:52:39.558] Bitwarden Accelerator[Conditional] Processing complete
[15:52:39.560] Bitwarden Accelerator[Conditional] Passing output 'login' to Call External Trigger
[15:52:39.564] Bitwarden Accelerator[Run Script] Running directly with argument ''
[15:52:41.843] ERROR: Bitwarden Accelerator[Run Script] touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/sync: No such file or directory
lib/status.sh: line 6: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/status: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/sync: No such file or directory
/Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.732992FB-74DC-47E0-B2EC-30D1348EF7F6/login.sh: line 40: jq: command not found
/Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.732992FB-74DC-47E0-B2EC-30D1348EF7F6/login.sh: line 40: jq: command not found
/Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.732992FB-74DC-47E0-B2EC-30D1348EF7F6/login.sh: line 45: jq: command not found
[15:52:41.845] Bitwarden Accelerator[Run Script] Processing complete
[15:52:41.845] Bitwarden Accelerator[Run Script] Passing output '' to Conditional
[15:52:48.772] Bitwarden Accelerator[Script Filter] Queuing argument '(null)'
[15:52:48.880] Bitwarden Accelerator[Script Filter] Script with argv '(null)' finished
[15:52:48.882] STDERR: Bitwarden Accelerator[Script Filter] touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
touch: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/collection_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_id: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/organization_name: No such file or directory
cat: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/sync: No such file or directory
lib/status.sh: line 6: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/org.mlfs.corp.bw/status: No such file or directory

When I manually created the directory, it worked normally.

@ajrosen ajrosen self-assigned this Aug 1, 2024
@ajrosen
Copy link
Owner

ajrosen commented Aug 1, 2024

Hi @th815, and thank you for the bug report.

How did you install the Bitwarden CLI? Or, where is the bw executable?

Also, did you get a dialog offering to install it?

I see that the cache sub-directory is only created when the workflow finds bw in a certain location. It looks in:

/usr/local/bin
/opt/{homebrew,local}/bin
/usr/local/Cellar/bitwarden-cli/*/bin
/opt/homebrew/Cellar/bitwarden-cli/*/bin

If it's not there, the directory is never created.

@ajrosen ajrosen added the bug Something isn't working label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants