![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
calibredb export with GUI open
Not a bug, but more 'lack of information'
I have a script that runs calibredb export to export files to a flat folder If I run it and the GUI is open (because I forgot/didn't notice) it just ends -- no message Could you add a message to the effect that the GUI is open and maybe return an error code that I can trap? Last edited by phossler; 12-11-2020 at 04:03 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to run against an open calibre you can do so by running the content server from within the GUI and asking calibredb to connect to the server with -with-library. As for printing an error message, it does do so already, and exists with a non-zero exit code.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I'm too old to multi-task, so I 'usually' only do one thing at a time
I do see that it was my VBS script window that must have cleared the error message (capture1.jpg) since when I run calibredb manually (capture.jpg) I do get the error message and a ERRORLEVEL = 1 I'll modify the script to test ERRORLEVEL and tell me that I need to close the GUI Sorry to bother for a user mistake |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preferred formats in calibredb export | halloleo | Library Management | 3 | 03-30-2020 03:24 AM |
calibredb.exe export template question | phossler | Calibre | 0 | 10-31-2019 03:47 PM |
calibredb won't export catalog after upgrade to 3.1.1 | jvorzimmer | Library Management | 4 | 06-26-2017 10:52 PM |
Calibredb export | phossler | Library Management | 18 | 07-18-2015 07:15 PM |
CalibreDB Export Progress Indication?? | phossler | Calibre | 2 | 01-26-2015 09:02 PM |