![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2022
Device: Kindle
|
Error adding ebooks to calibre
Hi,
I have been using calibre for a little while, still pretty new. I havnt had any issues so far, until now. My books are mobi/kindle format. All of them are the same format. Some of the books I have saved on my computer are uploaded to calibre already with no problems, and others that are the same format are all of a sudden not working. I tried another one that I already uploaded to calibre that worked and now its not working. I use windows. I read on a few old forum post that it was a zip problem, but they were all mac users with advice for ibooks and mac. Any insight would be greatly appreciated :-) This is the error message calibre, version 6.8.0 WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information ---------------------------------------------------------------------- Failed to add the file C:/Users/stace/OneDrive/Kindle/Harry Potter/Harry Potter and the Philosophers Stone.mobi to the book: Harry Potter and the Philosophers Stone With error: Traceback (most recent call last): File "calibre\gui2\add.py", line 487, in add_formats File "calibre\db\cache.py", line 1814, in add_format File "calibre\db\cache.py", line 1771, in _do_add_format File "calibre\db\backend.py", line 1722, in add_format File "shutil.py", line 195, in copyfileobj OSError: [Errno 22] Invalid argument |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
trying copying that file out of one drive into a local folder and then adding it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2022
Device: Kindle
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Could this be a temp file cleaner being aggressive?
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Where is your calibre library folder located?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#7 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The error in the OPs post indicates copy between opened file descriptors is failing. This means that after the files were successfuly opened, the kernel is failing to copy between the files. The only way that can happen is buggy file system drivers or some third party software interfering. Which is why I am enquiring about the location of the file being added and the calibre library.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2022
Device: Kindle
|
Some devices, like the Kindle (1/2/DX), do not allow you to access port 8080 (the default port on which the content server runs). In that case, change the port in the calibre Preferences to 80.
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2018
Device: Kindle
|
I was having the same problem (kind of, the same warning message but in the details it said "Failed to read metadata from the file: " instead) also with a mobi file, then I realized that the file name was too long, the book had a huge subtitle, I shortened it leaving just title and author and Calibre was able to add the book without any problems.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 3.14 error adding epub book | dhdurgee | Calibre | 2 | 01-05-2018 08:21 AM |
Error when adding books to calibre | rrfairley | Library Management | 5 | 07-11-2017 04:46 AM |
Error adding new books to Calibre | enguerrand | Devices | 10 | 01-23-2014 11:07 PM |
Error adding books to Calibre | dfernandez | Library Management | 0 | 09-12-2012 05:08 PM |
Adding Books to Calibre error | Ginnia | Library Management | 4 | 06-07-2011 04:13 AM |