Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2019, 11:59 AM   #1
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
Cannot upload ebooks to my kindle paperwwhite

Hi all,
I've been using calibre with success during the last few years, last time I uploaded an ebook was this january (sort of); last week I tried to upload a new ebook but it failed with an input/output error; today I tried again, same error:

calibre, version 4.3.0
ERROR: Error: Error communicating with device

[Errno 5] Input/output error

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/device.py", line 90, in run
self.result = self.func(*self.args, **self.kwargs)
File "/usr/lib/calibre/calibre/gui2/device.py", line 594, in _upload_books
metadata=metadata, end_session=False)
File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 325, in upload_books
filepath = self.put_file(infile, filepath, replace_file=True)
File "/usr/lib/calibre/calibre/devices/usbms/cli.py", line 53, in put_file
dest, actual_path = case_preserving_open_file(path)
File "/usr/lib/calibre/calibre/utils/filenames.py", line 205, in case_preserving_open_file
os.fsync(ans.fileno())
OSError: [Errno 5] Input/output error

I'm on a linux box (archlinux); when I connect my kindle via USB, the filemanager shows files and folders from my kindle, and I can navigate them; when I open calibre, device is recognized, and I can see ebooks loaded on my device; when I try to transfer an ebook from calibre to kindle, I receive the error mentioned above, and I cannot navigate files and folders through the linux filemanager anymore.

If I connect my kindle on windows 7, windows tells me it needs to be repaired, but I refused to let windows do that.

Thanks in advance for any help, bye!
tilt-me is offline   Reply With Quote
Old 11-09-2019, 12:34 PM   #2
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: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Been a while since I messed with Linux
you might try FSCK on the device.
Or you could try a reboot of the Kindle (menu:settings:Menu: Restart) and hope that repairs the file system.

IIRC Also, be sure nothing else is accessing the kindle (that includes looking at the directories).

Personally, Windows 7 or 10 has never harmed my kindle repairing the file system.
theducks is offline   Reply With Quote
Advert
Old 11-09-2019, 09:50 PM   #3
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,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Either run fsck.vfat ont he kindle or reset it. That's an I/O error indicating file operations nt he kindles storage are failing.
kovidgoyal is offline   Reply With Quote
Old 11-21-2019, 01:00 PM   #4
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
Thanks for your fast replies!
I tried the solutions you suggested, with no success
- on linux fsck.vat repaired some files, but when I connected back my kindle to calibre, same error as above;
- on windows 7 I tried to repair the fs again, and windows too repaired some files; but no changes on calibre;
- i restarted my kindle, same error;
- i reset my kindle (menu > settings > menu > reset): no use: same error again.

I forgot to mention that maybe I messed up my kindle when I connected to the PC when it was totally out of charge (I wasn't been using it for some months): maybe due to the fact it has no charge, its file system wasn't able to mount properly...

What can I do now?
Thanks in advance, bye!
tilt-me is offline   Reply With Quote
Old 11-21-2019, 08:11 PM   #5
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,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If resetting the kindle did not fix it then its hardwareis failing.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-22-2019, 12:11 PM   #6
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
So what should I do, throw away my kindle and buy a new one? No way to fix it?
To be quite honest I consider it fairly new, I read about a dozen ebooks on it, not anymore...
tilt-me is offline   Reply With Quote
Old 11-22-2019, 01:19 PM   #7
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: 30,944
Karma: 60358908
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 tilt-me View Post
So what should I do, throw away my kindle and buy a new one? No way to fix it?
To be quite honest I consider it fairly new, I read about a dozen ebooks on it, not anymore...
Contact Amazon. <<<
Broken hardware is not a Calibre fixable issue. Note: We do sometimes find workarounds for SOME issues, but not every issue allows this.
theducks is offline   Reply With Quote
Old 11-22-2019, 07:06 PM   #8
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
Contact Amazon. <<<
Broken hardware is not a Calibre fixable issue. Note: We do sometimes find workarounds for SOME issues, but not every issue allows this.
Thanks for all of your support, I'll try with Amazon, then

I'm annoyed by the hardware malfunction, but obviously my disappointment isn't headed to you, that have been very kind and helpful indeed (and Calibre is a must-have application for all ebook readers).

I will let you know, bye bye!
tilt-me is offline   Reply With Quote
Old 11-22-2019, 07:40 PM   #9
HLS
Wizard
HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.HLS ought to be getting tired of karma fortunes by now.
 
Posts: 2,126
Karma: 16342480
Join Date: May 2017
Device: Sage, Scribe, Boox Note 2 Plus, iPad Pros and Samsungs S6,S7,S8
I get that error while uploading certain ebooks but not others . kinda odd
HLS is offline   Reply With Quote
Old 11-22-2019, 08:18 PM   #10
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: 30,944
Karma: 60358908
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 HLS View Post
I get that error while uploading certain ebooks but not others . kinda odd
That sounds like a damaged file to me. Maybe your A/V is mangling it during transfer.
theducks is offline   Reply With Quote
Old 03-15-2020, 05:08 PM   #11
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
Contact Amazon. <<<
Broken hardware is not a Calibre fixable issue. Note: We do sometimes find workarounds for SOME issues, but not every issue allows this.
I made other tests, and tried the Amazon function to transfer documents via a dedicated email address: this way my Kindle receives and displays correctly my .mobi files.
So I suppose it is not a hardware problem of my device, what else could it be?

Thanks in advance
T.
tilt-me is offline   Reply With Quote
Old 03-15-2020, 07:22 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: 30,944
Karma: 60358908
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 tilt-me View Post
I made other tests, and tried the Amazon function to transfer documents via a dedicated email address: this way my Kindle receives and displays correctly my .mobi files.
So I suppose it is not a hardware problem of my device, what else could it be?

Thanks in advance
T.
That proves the WiFi path works. The Indexer Works (if the book is listed).
There is still USB hardware and firmware. The file system may use a different buffer for USB. Your devices A/V (if installed) may not look at the Amazon whisper sync files...

Can the OS transfer any file to storage on the PW via USB.
theducks is offline   Reply With Quote
Old 05-10-2020, 03:32 PM   #13
tilt-me
Junior Member
tilt-me began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
That proves the WiFi path works. The Indexer Works (if the book is listed).
There is still USB hardware and firmware. The file system may use a different buffer for USB. Your devices A/V (if installed) may not look at the Amazon whisper sync files...

Can the OS transfer any file to storage on the PW via USB.
Yes, I'm able to transfer .mobi and .azw3 files (converted through calibre) via usb, through my file manager: new books are listed and can read 'em.
So my question is: what's the difference between using calibre or directly coping files to the /documents folder? The only thing I noticed is the missing cover, is there anything else I am missing?

Thanks in advance, bye!
tilt-me is offline   Reply With Quote
Old 05-11-2020, 12:01 AM   #14
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,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no other difference. Transferring a file to a kindle by calibre simply copies it to the kindle, uploads the cover thumbnail and sets the metadata in the transferred copy.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
It is possible to upload azw3 ebooks? AlexBell Upload Help 10 06-01-2012 05:18 PM
Where Else Do You Upload Your Free Ebooks? GoblinWriter Writers' Corner 3 12-23-2010 06:35 PM
Upload to My Google eBooks ? JohnB News 3 12-06-2010 04:37 PM
Upload ebooks in HTML format ProDigit Feedback 34 03-10-2009 03:31 AM
Carver ebooks -- upload to library? starrigger Deals and Resources (No Self-Promotion or Affiliate Links) 17 01-29-2009 03:19 AM


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


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