Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2026, 02:48 PM   #1
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Error: Connection is busy in another thread

Is there a problem with creating an Export of the library in Calibre 9.8?

I've done this for many years, making an Export of my library from my Windows 11 machine and importing it to my Linux Mint machine. Today I'm getting a failure to import after just a few seconds:

calibre, version 9.8.0*ERROR: Failed: Failed to import data. Click "Show details" for more information.
Traceback (most recent call last):*File "calibre\gui2\dialogs\exim.py", line 156, in run_action*File "calibre\utils\exim.py", line 478, in import_data*File "calibre\db\cache.py", line 3804, in import_library*File "calibre\db\cache.py", line 1863, in update_path*File "calibre\db\backend.py", line 2076, in update_path*File "calibre\db\backend.py", line 2008, in update_paths_in_db*apsw.ThreadingViolationError: Connection is busy in another thread

The reason I suspect the creation of the Export files is that I have an older version of Calibre (version 9.6) and I get the same error on import. I've tried re-exporting the data and making sure Calibre is closed before coping the files to a flash drive. I've tried importing the files to Linux Mint as well as several Windows 11 machines and i always get the error message.

Any ideas?
Metapath is offline   Reply With Quote
Old 05-09-2026, 05:35 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,243
Karma: 29630732
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There are no changes to export/import in 9.8 or 9.7 or 9.6. You likely have a third party plugin installed causing issues. Run as calibre --ignore-plugins
kovidgoyal is offline   Reply With Quote
Old 05-09-2026, 07:46 PM   #3
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
There are no changes to export/import in 9.8 or 9.7 or 9.6. You likely have a third party plugin installed causing issues. Run as calibre --ignore-plugins
Thanks Kovid, i'll give that a try.
There was a new plugin i tried out week, but I removed it before doing the export.
Metapath is offline   Reply With Quote
Old 05-10-2026, 11:01 AM   #4
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Quote:
Originally Posted by Metapath View Post
Thanks Kovid, i'll give that a try.
There was a new plugin i tried out week, but I removed it before doing the export.
The --ignore-plugins argument took care of the issue. Thanks again.
Still a mystery why the problem persisted after removal of the offending plugin (Count Pages).
I'll spend some time rebuilding a new library and test after each new plugin, just in case it was a different plug-in.
Metapath is offline   Reply With Quote
Old 05-11-2026, 08:42 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 83,314
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Metapath View Post
The --ignore-plugins argument took care of the issue. Thanks again.
Still a mystery why the problem persisted after removal of the offending plugin (Count Pages).
I'll spend some time rebuilding a new library and test after each new plugin, just in case it was a different plug-in.
It's not Count Pages. I've been using that for a very long time with no issues.
JSWolf is online now   Reply With Quote
Old 05-11-2026, 03:18 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,757
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If it is as you say. Count pages is running into a BAD BOOK while running that is tripping things.

If you did not start a count job, then it is not running. It needs to open each (selected) book, to do the count. No job, no counting.
theducks is offline   Reply With Quote
Old 05-13-2026, 08:56 AM   #7
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Thanks for the input guys. I've installed Count Pages again. However, I have one remaining issue, if you don't mind helping...(should this be posted in the Plugins section?)

When I click Download from selected (or all) sources, I get the following error:
Could not analyze some statistics – No identifiers for selected download sources

I have tried adding additional sources but still get the error. I even recreated the custom columns in Calibre using floating point numbers instead of integers.

Any ideas what causes the error?
Thanks again.
Metapath is offline   Reply With Quote
Old 05-13-2026, 11:10 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,757
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Metapath View Post
Thanks for the input guys. I've installed Count Pages again. However, I have one remaining issue, if you don't mind helping...(should this be posted in the Plugins section?)

When I click Download from selected (or all) sources, I get the following error:
Could not analyze some statistics – No identifiers for selected download sources

I have tried adding additional sources but still get the error. I even recreated the custom columns in Calibre using floating point numbers instead of integers.

Any ideas what causes the error?
Thanks again.

{identifiers}
is a standard column. ISBN:1234567890123 is an EXAMPLE entry.There are others that may do better depending on country
theducks is offline   Reply With Quote
Old 05-13-2026, 10:07 PM   #9
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Quote:
Originally Posted by theducks View Post

{identifiers}
is a standard column. ISBN:1234567890123 is an EXAMPLE entry.There are others that may do better depending on country
Thank you, but I don't understand how that helps me get rid of the error message. I notice there is an Identifiers column on the Other page of the Customize Plugin window, but no clue what to do. It's checked for the sources I'm interested in (as is the Display source column)...
Metapath is offline   Reply With Quote
Old 05-14-2026, 11:30 AM   #10
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,345
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Metapath View Post
Thank you, but I don't understand how that helps me get rid of the error message. I notice there is an Identifiers column on the Other page of the Customize Plugin window, but no clue what to do. It's checked for the sources I'm interested in (as is the Display source column)...
To be able to find the page count for a given book, the plugin checks the identifiers field and look for the corresponding one. Let's say you want to use Goodreads as a source for you page count: then you need to have a Goodreads identifier in your indentifiers field (you can have multiple values there, like mobi-asin, amazon.com, ISBN, etc).

The Goodreads identifier will be something like this: 'goodreads:52968035'. To obtain this identifier, you need to have Goodreads configured as a metadata source, and download the metadata for that book. The identifier will be filled automatically.

After that, the Count Page plugin can fetch the page count correctly.
thiago.eec is offline   Reply With Quote
Old 05-14-2026, 02:56 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 83,314
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
However, Goodreads is rather wonky with their metadata. So I would not accept the page numbers it gives.
JSWolf is online now   Reply With Quote
Old 05-14-2026, 03:09 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,757
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Metapath View Post
Thank you, but I don't understand how that helps me get rid of the error message. I notice there is an Identifiers column on the Other page of the Customize Plugin window, but no clue what to do. It's checked for the sources I'm interested in (as is the Display source column)...
Because the message said you did not have one SET for that book. AKA Blank or non-standard. (yes you can have your own in that field. MyLib:shelf3 is a valid identifier but no one else has a clue

If it could not find pages for the one set, the message would be different (if at all): none found
theducks is offline   Reply With Quote
Old 05-15-2026, 10:41 AM   #13
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: iPad
Thanks all. I'll just stick to letting CP do its own thing without reference to other sources.

Finally figured out that "Identifiers" refers to what Calibre calls "Ids" in the metadata. Why I would need to add one specifically for Goodreads other than the isbn I don't understand (but don't need to).

Thanks again for the help.
Metapath is offline   Reply With Quote
Old 05-15-2026, 03:03 PM   #14
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 51,869
Karma: 180002962
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Metapath View Post
Thanks all. I'll just stick to letting CP do its own thing without reference to other sources.

Finally figured out that "Identifiers" refers to what Calibre calls "Ids" in the metadata. Why I would need to add one specifically for Goodreads other than the isbn I don't understand (but don't need to).
There are quite a few books on Goodreads which are Amazon specific ebook only. Those do not have an ISBN. Either a Goodreads ID or an Amazon ASIN are needed to allow easily locating any information.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
General Connection Error on any wireless device connection"Send to device" (Android) Cris B Calibre Companion 0 03-21-2020 09:20 PM
[Old Thread] ubuntu 0.6.46 ERROR: No internet connection bigreat Calibre 16 04-09-2013 06:03 PM
Katie, the Busy, Busy, Bee (An Illustrated Picture Book) sunnitimes Self-Promotions by Authors and Publishers 1 11-28-2012 11:22 AM
Connection Error sberry Devices 4 10-09-2012 01:24 AM
[Old Thread] V 6.34 keeps HD busy & noisy?? petercreasey Calibre 21 02-29-2012 03:19 PM


All times are GMT -4. The time now is 06:32 AM.


MobileRead.com is a privately owned, operated and funded community.