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

FFF doesn't open Links in Chrome for Browser Cache #1142

Open
M3We opened this issue Jan 10, 2025 · 3 comments
Open

FFF doesn't open Links in Chrome for Browser Cache #1142

M3We opened this issue Jan 10, 2025 · 3 comments

Comments

@M3We
Copy link

M3We commented Jan 10, 2025

I've had this feature working for a while, and then did a bunch of updates over Christmas, and suddenly items no longer open in Chrome to populate the cache. I've gone through troubleshooting and isolated it to the "open_pages_in_browser:true" is not working.

System Info:

  • Mac OS
  • Calibre 7.23
  • FFF v4.41.0
  • Chrome build: Version 131.0.6778.205

Personal.ini

[defaults]
## Some sites also require the user to confirm they are adult for
## adult content.  Uncomment by removing '#' in front of is_adult.
is_adult:true
browser_cache_path:/Users/<user>/Library/Caches/Google/Chrome/Default/Cache/Cache_Data

browser_cache_age_limit:3.0
open_pages_in_browser:true

[epub]
## include images from img tags in the body and summary of stories.
## Images will be converted to jpg for size if possible.  Images work
## in epub format only.  To get mobi or other format with images,
## download as epub and use Calibre to convert.
include_images:true

[www.fanfiction.net]
## browser cache will only be used if use_browser_cache:true and ONLY
## for fanfiction.net right now.  Requires a browser_cache_path set in
## [defaults].
use_browser_cache:true
use_browser_cache_only:true
open_pages_in_browser:true
@JimmXinu
Copy link
Owner

If you run Calibre in Debug mode (under Calibre's Preferences drop down), the log should show whether FFF is trying to open pages or not.

We had a very similar problem a couple months ago and the solution was for FFF to call Calibre's 'open in browser' method instead of the Python library version.

At the time, a user said they could configure a different browser for Calibre specifically.

I've never used that setting, but it appears to be openers_by_scheme in Calibre > Preferences > Tweaks. That may help.

@M3We
Copy link
Author

M3We commented Jan 12, 2025

Opened with Debug - Got the following:

	open page in browser: https://www.fanfiction.net/s/12510179/1/Meddling-with-Potions
	tries:None
	
	This plugin does not support QPlatformServices::openUrl() for 'https://www.fanfiction.net/s/12510179/1/Meddling-with-Potions'.
	QDesktopServices::openUrl() failed for url: PyQt6.QtCore.QUrl('https://www.fanfiction.net/s/12510179/1/Meddling-with-Potions')

(Let me know if there's anyything else in the logs I should look at)

RE openers_by_scheme - Currently reading the doco on making it work

@JimmXinu
Copy link
Owner

I do not believe the plugin in This plugin does not support ... is the Calibre plugin, I believe it's a Qt thing. Google search finds the same error else where.

So maybe Calibre's openers_by_scheme will help, but it looks like it's outside anything I can help with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants