Bibliophagist
Posts: 46,410
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I've run into an issue when ejecting a Kobo ereader either using the Smart Eject plugin or using the Eject this device option on the Device menu. calibre version is 7.26.103 running from latest source on Windows 11, Kobo Utilities version is 2.18.4 (the test version). I also—if I did the steps properly—have reported the issue on the calibre bug tracker.
Error message is:
Spoiler:
Code:
calibre, version 7.26.103
ERROR: Unhandled exception: <b>TypeError</b>:expected str, bytes or os.PathLike object, not NoneType
calibre 7.26.103* embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: ACSM Input (0, 1, 0) && LCPL Input (0, 0, 5) && Gather KFX-ZIP (from KFX Input) (2, 22, 0) && DeDRM (10, 0, 9) && AZW6 Image Merge (1, 1, 1) && Package KFX (from KFX Input) (2, 22, 0) && ACSM Input Plugin GUI Extension (0, 1, 0) && Apple Books covers (0, 2, 0) && Backup Configuration Folder (1, 1, 2) && Barnes & Noble (1, 5, 6) && Count Pages (1, 13, 6) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 2, 5) && EpubMerge (3, 2, 0) && EpubSplit (3, 10, 0) && FanFicFare (4, 43, 0) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 5) && Goodreads (1, 8, 2) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 22, 0) && From KFX (2, 22, 0) && KFX Input (2, 22, 0) && Set KFX metadata (from KFX Output) (2, 14, 0) && KFX Output (2, 14, 0) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 7) && Kobo Metadata (1, 10, 0) && Kobo Utilities (2, 18, 4) && Modify ePub (1, 8, 5) && Obok DeDRM (10, 0, 9) && Open With (1, 8, 4) && OverDrive Libby (0, 2, 3) && Quality Check (1, 13, 16) && Resize Cover (1, 2, 1) && ScrambleEbook (0, 6, 0) && SmartEject (2, 6, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 318, in _on_device_connection_changed
File "calibre_plugins.koboutilities.action", line 380, in rebuild_menus
File "calibre_plugins.koboutilities.action", line 2665, in get_device
File "d:\calibre\calibre-master\src\calibre\devices\kobo\driver.py", line 185, in device_version_info
File "ntpath.py", line 108, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
Edit: report on calibre bug tracker rejected as third party plugin issue.
Edit 2: Went to change the customization and got an error. Found a block of garbage at the end of the KoboUtilities.json file so renamed and rebuilt. Worked once and then back to the error when ejecting. The .json file still looked okay.
Last edited by DNSB; 03-13-2025 at 02:52 PM.
|