06-25-2020, 10:40 PM | #1 |
Addict
Posts: 229
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, 10:48 PM | #2 |
creator of calibre
Posts: 43,992
Karma: 22669822
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-25-2020, 11:09 PM | #3 |
Addict
Posts: 229
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, 04:09 PM | #4 |
Resident Curmudgeon
Posts: 74,537
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-10-2020, 01:20 AM | #5 |
Addict
Posts: 229
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
|
Advert | |
|
07-10-2020, 03:03 AM | #6 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
07-10-2020, 06:36 AM | #7 | |
Resident Curmudgeon
Posts: 74,537
Karma: 129670952
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 06:39 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenate your ebook files from the command line | acabal | Workshop | 9 | 10-05-2016 03:13 AM |
Using ebook-editor in command line | Francois_C | Editor | 12 | 04-17-2015 10:17 AM |
Command line ebook viewer? | anoved | Reading and Management | 1 | 02-13-2012 02:32 PM |
Any command line to edit epub meta data? | bthoven | Calibre | 1 | 03-25-2010 07:26 AM |
Any command line to edit epub meta data? | bthoven | ePub | 2 | 03-25-2010 04:15 AM |