06-25-2020, 11:40 PM | #1 |
Addict
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Call ebook-edit from command line throws error in all 4.x versions
Never using GUI, all work with Calibre done from command line.
Call to ebook-edit from command line worked OK for me in 3.34. Today upgraded to 4.19 and ran into the error: "Python function terminated unexpectedly [Errno 2] No such file or directory: u'C:\\Program Files\\Calibre2\\app\\src\\pyj\\editor.pyi" Checked 4.0, 4.15 - same error. Is there a way to run ebook editor from command line? |
06-25-2020, 11:48 PM | #2 |
creator of calibre
Posts: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works fine for me. That error indicates you have most likely set CALIBRE_DEVELOP_FROM environment variable. Unset it and you should be fine.
|
Advert | |
|
06-26-2020, 12:09 AM | #3 |
Addict
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
You're right, mea culpa. Now 4.19 OK with ebook-edit.
|
07-08-2020, 05:09 PM | #4 |
Resident Curmudgeon
Posts: 76,370
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-10-2020, 02:20 AM | #5 |
Addict
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
|
Advert | |
|
07-10-2020, 04:03 AM | #6 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
07-10-2020, 07:36 AM | #7 | |
Resident Curmudgeon
Posts: 76,370
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Also, using the GUI makes it easier to find books, change metadata, edit them, store them, and easier to do all the things you are trying to do from the CLI. You are not doing anything easier. You are doing everything much more difficult. And if you want to strip the DRM, good luck with that from the CLI. One more thing that's much easier from the GUI is side loading. Side loading doesn't work from the CLI. Last edited by JSWolf; 07-10-2020 at 07:39 AM. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenate your ebook files from the command line | acabal | Workshop | 9 | 10-05-2016 04:13 AM |
Using ebook-editor in command line | Francois_C | Editor | 12 | 04-17-2015 11:17 AM |
Command line ebook viewer? | anoved | Reading and Management | 1 | 02-13-2012 03:32 PM |
Any command line to edit epub meta data? | bthoven | Calibre | 1 | 03-25-2010 08:26 AM |
Any command line to edit epub meta data? | bthoven | ePub | 2 | 03-25-2010 05:15 AM |