![]() |
#1 |
Zealot
![]() Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Calibre 5.71 - CLI - Message error when adding books/exporting data
Windows 10 - Calibre 5.71
When I add books or export data through a batch file, I get this error message (since calibre v5.xx) : Code:
Could not contact the running instance of calibre (<-- free translation from french...) Failed to connect to Listener at: \\.\pipe\CalibreGUI-adminx with error: QLocalSocket::connectToServer: Invalid name QWidget: Must construct a QApplication before a QWidget |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What is your batch file doing exactly?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Here it is (only relevant parts, the whole script is checking various things before, not related to calibre)
Add books : Code:
calibre-debug -s calibredb --library-path %biblio% add -d %dest% 1>nul 2>&1 Code:
calibre-debug --export-all-calibre-data %destination% %calibre% > nul Strange, I've been using this script for years. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well the first couple of lines of the eror message will happen if there was no running calibre to shutdown. The last lineis a bug and will be fixed in the next release. Note that if you want to avoid the first two lines use
calibre -s instead of calibre-debug -s |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre issues with adding books using cli | klackerz | Calibre | 1 | 07-06-2018 06:06 AM |
Adding books on cli leads to error | johnny_cgn | Calibre | 11 | 06-26-2018 04:12 AM |
Error message - adding books | Squash0001 | Library Management | 3 | 01-24-2015 12:04 PM |
Error message when auto adding books | Rachel | Library Management | 3 | 04-08-2012 12:27 PM |
Calibre Error Message - Now I have NO BOOKS | SmiLynnLady | Calibre | 10 | 07-14-2011 05:12 AM |