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-05-2025, 07:26 AM   #1
Midge
Junior Member
Midge began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2023
Location: United Kingdom
Device: Kobo Aura One/Kobo App on Android 14
Question Unable to export calibre library

The following error pops up:

calibre, version 8.3.0
ERROR: Failed: Failed to export 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 213, in export
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 3179, in export_library
File "calibre\db\cache.py", line 1233, in copy_format_to
File "calibre\db\backend.py", line 1856, in copy_format_to
File "shutil.py", line 197, in copyfileobj
OSError: [Errno 22] Invalid argument

Apologies if the answer is obvious. I'm a bit thick.
Midge is offline   Reply With Quote
Old 05-05-2025, 07:57 AM   #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: 45,258
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Are you trying to export to some funky location like a network drive or similar?
kovidgoyal is offline   Reply With Quote
Old 05-05-2025, 01:02 PM   #3
Midge
Junior Member
Midge began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2023
Location: United Kingdom
Device: Kobo Aura One/Kobo App on Android 14
Initially yes, but after the first failure I figured that was probably the problem so I tried exporting locally and the same message popped up.
Midge is offline   Reply With Quote
Old 05-05-2025, 10:43 PM   #4
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: 45,258
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error is basically the windows kernel telling calibre it cant open a file, either because the export location or the calibre library itself are in some funky location.
kovidgoyal is offline   Reply With Quote
Old 05-14-2025, 08:49 PM   #5
sonivEX
Junior Member
sonivEX began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kindle Oasis
I am having the exact same issue. The library is not in any funky location. Both the library and the intended backup folder is in my home directory. I am running Arch Linux and Calibre 8.4. Any chance I can get a hand with that, please?
sonivEX is offline   Reply With Quote
Old 05-14-2025, 09:44 PM   #6
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: 45,258
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by sonivEX View Post
I am having the exact same issue. The library is not in any funky location. Both the library and the intended backup folder is in my home directory. I am running Arch Linux and Calibre 8.4. Any chance I can get a hand with that, please?
You cant possibly be getting the exact same issueona different OS. Post the actual traceback.
kovidgoyal is offline   Reply With Quote
Old 05-14-2025, 10:57 PM   #7
sonivEX
Junior Member
sonivEX began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kindle Oasis
Traceback (most recent call last):
File "calibre/gui2/dialogs/exim.py", line 156, in run_action
File "calibre/utils/exim.py", line 213, in export
File "calibre/db/cache.py", line 85, in call_func_with_lock
File "calibre/db/cache.py", line 3147, in export_library
File "calibre/db/backend.py", line 2723, in backup_fts_database
File "calibre/db/backend.py", line 2715, in _backup_database
apsw.FullError: FullError: error

sonivEX is offline   Reply With Quote
Old 05-14-2025, 11:43 PM   #8
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: 45,258
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a disk full error. Either the target locationis full or you have /tmp mounted on a ramdisk and its full.
kovidgoyal is offline   Reply With Quote
Old 05-15-2025, 01:17 AM   #9
sonivEX
Junior Member
sonivEX began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
That's a disk full error. Either the target locationis full or you have /tmp mounted on a ramdisk and its full.
That was it. Thank you so much!
sonivEX is offline   Reply With Quote
Reply

Tags
calibre


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is partial Calibre Library export possible? mobilis Library Management 2 10-06-2023 12:59 PM
Automatic export of Calibre library possible? chillybang Library Management 8 09-01-2021 03:40 PM
Unable to export Calibre Library KayeLH Calibre 2 04-28-2019 03:25 PM
Calibre Library Export + Google Drive? DA-990 Library Management 4 03-11-2019 02:16 AM
Export Some of Calibre Library? foosion Library Management 2 12-30-2017 05:32 PM


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


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