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

[Browser Bookmarks]can‘t search bookmarks for Chrome #16035

Closed
jarviszhb opened this issue Dec 25, 2024 · 5 comments
Closed

[Browser Bookmarks]can‘t search bookmarks for Chrome #16035

jarviszhb opened this issue Dec 25, 2024 · 5 comments
Labels
bug Something isn't working extension: browser-bookmarks Issues related to the browser-bookmarks extension extension Issues related to one of the extensions in the Store

Comments

@jarviszhb
Copy link

jarviszhb commented Dec 25, 2024

Extension

https://raycast.com/raycast/browser-bookmarks

Raycast Version

1.88.4

macOS Version

15.1.1

Description

I was able to use this extension on Edge and Safari, but one day it stopped working on Chrome.

Error:

TypeError: Cannot read properties of undefined (reading 'path')
    at c5 (/Users/jarvis/.config/raycast/extensions/254a620a-7fba-450b-bc17-c2e1ce6809d8/index.js:38:50743)
    at async /Users/jarvis/.config/raycast/extensions/254a620a-7fba-450b-bc17-c2e1ce6809d8/index.js:38:51042

Steps To Reproduce

image

Current Behaviour

No response

Expected Behaviour

No response

@jarviszhb jarviszhb added bug Something isn't working extension Issues related to one of the extensions in the Store labels Dec 25, 2024
@raycastbot raycastbot added the extension: browser-bookmarks Issues related to the browser-bookmarks extension label Dec 25, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented Dec 25, 2024

Thank you for opening this issue!

🔔 @thomaslombart @sasivarnan @ahpatel @chupi33 @tleo19 @jum8ys @selfish @theherk @zhsks311 you might want to have a look.

💡 Author and Contributors commands

The author and contributors of raycast/browser-bookmarks can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@zhsks311
Copy link
Contributor

Have you signed in to Chrome or created a default profile? If not, this issue could occur.

@jarviszhb
Copy link
Author

Have you signed in to Chrome or created a default profile? If not, this issue could occur.

  1. I have signed in to Chrome using my Google account.
  2. Are you asking whether to create a default profile in Chrome or Raycast? If so, I am not sure how to do this.
  3. The issue occurred suddenly; previously, I was able to use this extension to search bookmarks in Chrome.

@zhsks311
Copy link
Contributor

zhsks311 commented Jan 2, 2025

  1. Are you asking whether to create a default profile in Chrome or Raycast? If so, I am not sure how to do this.

Ah, by "Default" I was asking if you had created a profile without logging in at first.

Your issue appears to be a case where the Bookmarks file cannot be found.
Have you recently created or deleted any profiles?

Let's fix this step by step.

  1. Navigate to /Users/{USER_NAME}/Library/Application Support/Google/Chrome directory and check if there are directories named "Default", "Profile {number}"(like 1, 2, 3...)

  2. We need to verify the profiles currently in use in Chrome.
    The file structure should look like this:

{
  "accessibility": ....,
  ....,
  "profile": {
   "info_cache": {
     "Default": { // <-----
       "name": "actual profile name",
       "gaia_name": "Google account name (if exists)",
       ...
     },
     "Profile 2": { // <-----
       "name": "actual profile name",
       "gaia_name": "Google account name (if exists)",
       ...
     },
     ...,,
    }
  }
}

Please check if "Profile {number}" and "Default" exist here.

  1. Access the directory: /Users/{USER_NAME}/Library/Application Support/com.raycast.macos/extensions/254a620a-7fba-450b-bc17-c2e1ce6809d8/com.raycast.api.cache

  2. Open the journal file.

  3. Copy the {Strings} from "Chrome-profile {Strings} number"

image

  1. Check for a file named {Strings} in com.raycast.api.cache

image

  1. Inside, you'll find either "Default" or "Profile {number}" written. Please change this information to match the profile information ("Default", "Profile {number}") you verified in step 2. For the most reliable solution, I recommend first changing it to the profile you're currently using.

@thomaslombart
Copy link
Collaborator

Thanks for bringing this up. It appears that this is a duplicate of issue #15895, so I'll mark it as such.

@thomaslombart thomaslombart closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: browser-bookmarks Issues related to the browser-bookmarks extension extension Issues related to one of the extensions in the Store
Projects
None yet
Development

No branches or pull requests

4 participants