|
|
#1 |
|
Member
![]() Posts: 17
Karma: 10
Join Date: Nov 2015
Device: Kindle Voyage
|
Import previously exported data aborts with error
After a hardware crash of my actual pc (win11, hardware seems to be broken) I am trying to import my luckily previously exported data to my old pc (win10).
First I used the integrated function "Import previously exported data". It takes some time and two files appear in the restore location (metadata.db, full-text-search.db). Also two folder show up: .calnotes (with sub-folders) and a author-folder containing a valid ebook. Then the restore stops and I see the folowing 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 3813, in import_library File "calibre\db\tables.py", line 709, in update_fmt File "calibre\db\backend.py", line 1202, in execute apsw.ThreadingViolationError: Cursor couldn't run because the Connection is busy in another thread Now I tried it with calibre-debug (calibre not running): C:\Program Files\Calibre2>calibre-debug --import-calibre-data Enter path to folder containing previously exported data: m:/ce Enter path to an empty folder (all libraries will be created inside this folder): d:/ebook d:/ebook\ebook 0 2 metadata.db 0 39529 full-text-search.db 1 39529 Schloss Waldings 2 39529 Traceback (most recent call last): File "runpy.py", line 203, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 83, in <module> File "site.py", line 78, in main File "site.py", line 50, in run_entry_point File "calibre\debug.py", line 311, in main File "calibre\utils\exim.py", line 591, in run_importer File "calibre\utils\exim.py", line 478, in import_data File "calibre\db\cache.py", line 3813, in import_library File "calibre\db\tables.py", line 709, in update_fmt File "calibre\db\backend.py", line 1202, in execute apsw.ThreadingViolationError: Cursor couldn't run because the Connection is busy in another thread Does someone has a idea how to solve the import problem? Many thanks in advance! Kuhnke |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,271
Karma: 29630860
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run calibre with --ignore-plugins
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() Posts: 17
Karma: 10
Join Date: Nov 2015
Device: Kindle Voyage
|
Same result as before... (GUI).
Option does not exist in calibre-debug? |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,271
Karma: 29630860
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This commit locks the db while importing and should help: https://github.com/kovidgoyal/calibr...846b6275a8ef9e but you will need to wiat for next calibre release or run from source as described in the calibre user manual https://manual.calibre-ebook.com/develop.html
|
|
|
|
![]() |
| Tags |
| import data |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Message with Import Export All Calibre Data | jamesgl | Library Management | 7 | 04-08-2025 11:27 PM |
| Import Calibre data ERROR | shuvashish76 | Library Management | 7 | 09-04-2022 05:00 AM |
| Will Calibre 6 import exported old libaries? | Rellwood | Calibre | 1 | 07-13-2022 04:25 PM |
| Export/Import all Calibre data - import error | IanKBrown | Calibre | 5 | 02-15-2017 08:32 PM |
| Manual sync aborts with network error | ableeker | Kobo Reader | 5 | 03-28-2015 04:52 PM |