View Single Post
Old 09-24-2024, 12:53 AM   #9969
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by fetihif112 View Post
First of all, judging by the monthly release dates, is version 4.38 supposed to be the most recent one on PyPI? Because it isn't, it's still at 4.37.
That's my mistake. I've uploaded v4.38 to pypi.

Quote:
Originally Posted by fetihif112 View Post
I'm on Fedora 39, running Calibre 7.3.0, Python 3.12.6. Apparently, the Calibre plugin can use files from the CLI installation when you have both installed. ...
That's some pretty good troubleshooting. I agree with your logic--get_url_search was added in FFF v4.38.

Quote:
Originally Posted by fetihif112 View Post
...
That in and of itself is not a big deal, reinstalling the CLI version whenever I need it takes seconds, but for correctness' sake, how would I go about having Calibre always prioritize its "natiive" version? If it involves error-prone messing with env/path stuff, which I'm unfamiliar with, is there some way of verifying from within Calibre what files it tries to load from where and make troubleshooting easier?
I assume you are using Calibre installed from a Fedora repo of some sort. Which has been modified to use python and dependencies installed on the system. The official Calibre download has it's own versions of python and dependencies bundled in precisely because of this sort of issue.

I am reasonably confident installing the official release of Calibre instead would correct this.

Another option would be to not install FFF CLI and install call the FFF plugin as CLI:

calibre-debug --run-plugin FanFicFare -- --help

It's mostly identical to FFF CLI from pypi except for using your personal.ini from either the library specified by new arg --library-path or your last used library (if I recall correctly, it's late). It does not automatically add or update to the library like the GUI plugin does.
JimmXinu is offline   Reply With Quote