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
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









