![]() |
#3061 |
Enthusiast
![]() Posts: 38
Karma: 68
Join Date: Sep 2014
Location: Australia
Device: Kobo Clara 2E
|
Automatic - default settings. AFAIK - I have never changed anything there. And definitely not changed anything since I removed it and reinstalled!
Last edited by trishau; 08-07-2024 at 01:23 AM. Reason: sp |
![]() |
![]() |
![]() |
#3062 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,422
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
||
![]() |
![]() |
![]() |
#3063 | ||||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2022
Device: Kobo Forma
|
Quote:
Code:
Traceback (most recent call last): File "/usr/lib64/calibre/calibre/gui2/ui.py", line 147, in __init__ ac = self.init_iaction(action) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/calibre/calibre/gui2/ui.py", line 165, in init_iaction ac = action.load_actual_plugin(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/calibre/calibre/customize/__init__.py", line 659, in load_actual_plugin ac = getattr(importlib.import_module(mod), cls)(gui, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 205, in exec_module exec(compiled, module.__dict__) File "calibre_plugins.koboutilities.action", line 40, in <module> from six.moves.configparser import SafeConfigParser ImportError: cannot import name 'SafeConfigParser' from 'configparser' (/usr/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'? Quote:
(Also, don't know about the quality of the packaging on other distros, but I'm on Gentoo where everything is built from source and where "download the binary from the website" is not an acceptable solution.) |
||||
![]() |
![]() |
![]() |
#3064 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,102
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Yes you do want to run the calibre binary from the calibre website. My system has Python 3.12.3 installed but runs calibre with no problems.
Spoiler:
Note that the calibre binary has its own version of python. bernie Quote:
|
|
![]() |
![]() |
![]() |
#3065 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2022
Device: Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#3066 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,422
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#3067 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,195
Karma: 57978778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
As to compiling from source.
The source may be fine, and the OS distribution messed up a dependency |
![]() |
![]() |
![]() |
#3068 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra 2
|
Thanks, @WovenTales, for identifying the issue with deprecated stuff in python 3.12. I made a very small patch, following what the python changelog says, and it works great on my calibre. Here's my patched version if anyone's interested. All I did was change SafeConfigParser to ConfigParser in 4 locations. I also bumped the version to 2.17.2 and added a change to the changelog, and added a quick note to the about.txt message for a new source code location. Seems to work great on my machine.
Does anyone know how to get in touch with the cbhaley person who seems to be maintaining this plugin's release? New to the forum and unsure how to do that. Quote:
|
|
![]() |
![]() |
![]() |
#3069 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra 2
|
Here's a copy of the source in my zip file for 2.17.2 if anyone wants it: https://github.com/damccull/Kobo-Utilities
|
![]() |
![]() |
![]() |
#3070 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,868
Karma: 7036359
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
That person is me.
I'm not going to release this until calibre itself uses python 3.12. Doing otherwise is supporting distro builds that change fundamental calibre dependencies, and there be dragons. There are incompatibilities between python 3.11 and 3.12 that affect calibre. Once @kovidgoyal has dealt with those I will look at what is necessary to update the plugin. |
![]() |
![]() |
![]() |
#3071 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,509
Karma: 74358018
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |