[Zen Browser] Error: Zen Browser browser is not installed
Extension
https://www.raycast.com/Keyruu/zen-browser
Raycast Version
1.88.4
macOS Version
15.2
Description
Using any command for this extension shows the error "π¨Error: Zen Browser browser is not installed This extension depends on Zen browser. You must install it to continue. If you have Homebrew installed then press β (Enter Key) to install Zen browser. Click here if you want to download manually."
I originally installed Zen manually (copy .app to Apps folder). When troubleshooting I tried deleting zen browser from my apps and installing using brew install --cask zen-browser.
Steps To Reproduce
- Zen Browser is installed and open. Zen Browser.app is in Applications like a normal install.
- Install Zen Brower extension from raycast extension store.
- Use any command. For example search for and select
Search Bookmarks.
Current Behaviour
Error is displayed "π¨Error: Zen Browser browser is not installed This extension depends on Zen browser. You must install it to continue. If you have Homebrew installed then press β (Enter Key) to install Zen browser. Click here if you want to download manually."
Expected Behaviour
Able to choose or execute command.
Thank you for opening this issue!
π @Keyruu @theherk you might want to have a look.
π‘ Author and Contributors commands
The author and contributors of Keyruu/zen-browser can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
@wunder-one this error comes when checking !existsSync(dbPath) where dbPath is constructed here. So it is looking in ~/Library/Application Support/zen/Profiles/ followed by either a profile directory ending in ".Default (alpha)" or a custom one you've set in the extension's configuration. Can you check what is in that directory or if you set a value in the extension's settings.
Hi, I have the same issue. This is my content of ~/Library/Application Support/zen/Profiles/
lgo0q6d5.Default (release)
scthac0w.default
Seems the default profile name may have changed. Let's verify that first, before we consider updating the default attribute. Can you try setting Profile Directory Suffix property in the extension's preferences to Default (release)? Also verify places.sqlite exists in that path.
places.sqlite is present in my Default (release) directory.
I set Default (release) as Profile Directory Suffix and bookmarks are now visible.
But now once I pick any of bookmarks, Zen opens but picked website is not opening. When Zen is opened and I pick any bookmark - Zen pops up to top but nothing more happens (no new tab, no picked website). When Zen is closed and I pick any bookmark - Zen opens and pops up to top.
Interesting, that sounds suspiciously like #16280 which I just fixed a few days back. I don't actually no how extensions update (if immediate or not). Any chance you can uninstall and reinstall the extension?
Sure. I just did and it is still the same.
Interesting. Can you attempt to run:
osascript -e '
tell application "Zen Browser"
activate
repeat while not frontmost
delay 0.1
end repeat
tell application "System Events"
keystroke "t" using {command down}
keystroke "l" using {command down}
keystroke "a" using {command down}
key code 51
keystroke "duckduckgo.com"
key code 36
end tell
end tell'
Just to see if something else is hanging us up. This is how the extension does its thing.
Since I'm unable to recreate this locally, it is a bit tough to troubleshoot. So if you're able to debug locally with the repository version, that would be superb.
I do not know how to run repository version π€ can you share some docs/tutorial how to do it? I ran above script and it opened duckduckgo.com in Zen correctly.
You can check out This guide; Contribute to an Extension. Basically clone the repository, cd to extensions/zen-browser, do an npm i and npx @raycast/api@latest dev. And if you get a chance, that would be very helpful. Perhaps @Keyruu will be able to recreate the issue or have some insight.
I done it but didn't get any output or anything. Sorry, I am not familiar with node.js. Then let's wait for @Keyruu :)
Sorry I didn't see these updates sooner. Could this be because zen browser recently moved into beta and the profile folder new ends in .Default (beta) instead of .Default (alpha)?
It seems that was the issue. I went into the settings for this extension, and updated the Profile Directory Suffix from .Default (alpha) to .Default (beta) and that resolved the issue.
It's also curious that @kaminski-karol has a directory with the extension Default (release) while I have .Default (beta).
Sorry I didn't see these updates sooner. Could this be because zen browser recently moved into beta and the profile folder new ends in
.Default (beta)instead of.Default (alpha)?
Yes @wunder-one, I recommended that change above. Unfortunately for @kaminski-karol, while it did reveal the bookmarks, they applescript that opens them wasn't working.
I also can't reproduce this... I am on the newest version of Zen which is 1.7.1b.
I also can't reproduce this... I am on the newest version of Zen which is 1.7.1b.
I just updated Zen to 1.7.2b (Firefox 134.0.2) (aarch64) and it is still the same
i experienced the same issue after changing the profile name like @wunder-one suggested it works
deep link to the profiles management screen in zen about:profiles
Solved the issue similarly to @JacobAtchley and @wunder-one.
@theherk - I'm thinking about submitting a PR to either:
- change the error message to suggest that the user try and update their profile suffix (using
about:profiles), or - expand the search for default profiles to include:
Default (beta),Default (release), and thenDefault (*anything*)as a fallback.
Thoughts on one or even both of those changes?
Sounds like good plans but the latter seems the best if you pick just one. Thank you.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
Resolved in #16937. This can be closed.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it π
You can also catch us in Slack if you want to discuss this.