Garulf / Browser-History

Search your Web Browser history
6 stars 6 forks source link

Shows History not found! (Check Logs) #10

Open arnishbaruah opened 1 year ago

arnishbaruah commented 1 year ago

Works with brave but not with chrome.

z1nc0r3 commented 1 year ago

Can you share the Log files, please?

arnishbaruah commented 1 year ago

2023-01-09.txt plugin.log

z1nc0r3 commented 1 year ago

Can you share a screenshot of the issue? Because the logs are almost the same and don't contain any issues.

arnishbaruah commented 1 year ago

Flow Launcher_huLB9Vuocy Flow Launcher_iDD7zH2efx

z1nc0r3 commented 1 year ago

This error happens when the selected browser is not installed in your system. Please ensure you have installed Chrome.

If you've please check the availability of this file. C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\History

arnishbaruah commented 1 year ago

Chrome is my primary browser however the Default directory doesn't exist.

z1nc0r3 commented 1 year ago

Default directory doesn't exist.

This is the issue, but I'm wondering why the Defaultdir is not available. There should be a dir named Defaultwhich contained all user data with a cache, accounts, extensions, etc. Please make sure that Chrome is up-to-date and that you can access history through the Chrome application itself.

arnishbaruah commented 1 year ago

Chrome is up-to-date and I can see the browser history at chrome://history/

marwanm-dev commented 1 year ago

In a recent update for chrome the Default folder got removed.

  1. Enter chrome://version in the address bar and press Enter.
  2. Get the last segment of the 'Profile Path' field e.g. 'Profile 4'.
  3. Go to the plugin folder and replace 'Default' with 'Profile [number]' at the 13th line of browser-history-path\plugin**browsers.py** file as shown here: image

Your welcome.

Garulf commented 1 year ago

In a recent update for chrome the Default folder got removed.

  1. Enter chrome://version in the address bar and press Enter.
  2. Get the last segment of the 'Profile Path' field e.g. 'Profile 4'.
  3. Go to the plugin folder and replace 'Default' with 'Profile [number]' at the 13th line of browser-history-path\pluginbrowsers.py file as shown here: image

Your welcome.

Is this for new installations? I can't reproduce this issue.

I might need to add a profile selection to the Plugin's settings 🤔

marwanm-dev commented 1 year ago

In a recent update for chrome the Default folder got removed.

  1. Enter chrome://version in the address bar and press Enter.
  2. Get the last segment of the 'Profile Path' field e.g. 'Profile 4'.
  3. Go to the plugin folder and replace 'Default' with 'Profile [number]' at the 13th line of browser-history-path\pluginbrowsers.py file as shown here: image

Your welcome.

Is this for new installations? I can't reproduce this issue.

I might need to add a profile selection to the Plugin's settings 🤔

Sadly I don't know python that much, but it's only chrome that needs an automatic way of getting the user default/current Profile since the recent update.