![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2023
Device: Scribe
|
Requesting help running calibre-debug on MacOS
Hi all,
I've been trying to follow jhowell's instructions regarding CLI conversion of KPF to KFX: https://www.mobileread.com/forums/sh...4&postcount=45 I am using MacOS and running into the following error message: zsh: command not found: calibre-debug I've been troubleshooting this for hours now, looking up other posts about this issue, but I am not too tech-savvy and am having trouble following how to resolve this. I've tried running this command by opening a terminal where the .KPF file is, and also tried running this command by clicking calibre-debug under Applications. I'm at my wit's end, feeling like I'm missing something as I am new to command lines in general... I would greatly appreciate some advice. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See the note at the top of https://manual.calibre-ebook.com/gen...cli-index.html
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, here's how I access the calibre-debug on MacOS. Once you had cded to the MacOS directory, you need to use ./ before the command you want to run (by default, most Linux/Unix shells do not look in the current directory). I've never used the KPF to KFX conversion so can't say if that will actually work.
Code:
Last login: Mon Oct 9 20:47:45 on console david@Davids-Mac / % cd /Applications/calibre.app/Contents/MacOS/ david@Davids-Mac MacOS % ls calibre calibre-parallel ebook-convert ebook-polish lrfviewer calibre-complete calibre-server ebook-device ebook-viewer lrs2lrf calibre-customize calibre-smtp ebook-edit fetch-ebook-metadata markdown-calibre calibre-debug calibredb ebook-meta lrf2lrs web2disk david@Davids-Mac MacOS % ./calibre-debug Welcome to the interactive calibre shell! Use exit to quit >>> exit david@Davids-Mac MacOS % |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2023
Device: Scribe
|
Quote:
calibre-debug -r "KFX Output" -- "your-file-name.kpf" However, if I run this command by clicking calibre-debug in the Calibre.app/Contents/MacOS folder, I get an invalid syntax error - I am guessing this is because the KPF file is not in the system folder where Calibre is installed? If I run this command in the folder where the KPF file is located, I get an error message, command not found, probably because it cannot find the calibre-debug file? I apologize for my lack of experience running terminal commands.. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
/Applications/calibre.app/Contents/MacOS/calibre-debug -r "KFX Output" -- "your-file-name.kpf" |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2023
Device: Scribe
|
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2023
Device: Scribe
|
Jhowell, would you know if it is possible to extract a sideloaded KFX file that had been annotated? Since I’ve read it’s possible to extract notebook files from a Scribe and converted to ePub via Calibre, I am wondering if this is also possible with annotated KFX files that had been sideloaded?
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
However there is little reason to create your own KFX files and sideload them since Amazon will create KFX for you if you use one of the send-to-kindle methods. If you do that you will be able to export the annotations as a PDF. |
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2023
Device: Scribe
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
K3 Debug K3 KUAL Extension installation/running | gonzule | Kindle Developer's Corner | 2 | 09-16-2023 06:06 AM |
Calibre DeBug Mode on MacOS | nepentanova | Calibre | 2 | 08-22-2023 02:32 PM |
running calibre-server via launchd on macOS Big Sur | bhyde | Server | 2 | 06-30-2021 01:11 PM |
How to start Calibre for macOS in debug mode | adrianf | Calibre | 17 | 06-02-2020 05:29 AM |
Can I build Calibre 4.0 on a native macOS machine running OS X El Capitan 10.11.6? | vaboro | Development | 23 | 10-16-2019 04:37 PM |