Device disconnects from Ubuntu when I send ebook via Calibre

Bug #1842492 reported by Tarcizio Zanfolin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The device Kindle 3rd gen. disconnects from Ubuntu when I send ebook via Calibre.
I keep seeing the device in Calibre but the device is off the computer.

I get this error report:

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

[Errno 2] No such file or directory: '/media/tarcizio/Kindle/'

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 87, in run
    self.result = self.func(*self.args, **self.kwargs)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 591, in _upload_books
    metadata=metadata, end_session=False)
  File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 306, in upload_books
    path = self._sanity_check(on_card, files)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 937, in _sanity_check
    sanity_check(on_card, files, self.card_prefix(), self.free_space())
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 185, in free_space
    stats = os.statvfs(self._main_prefix)
OSError: [Errno 2] No such file or directory: '/media/tarcizio/Kindle/'

Revision history for this message
Götz Waschk (goetz-waschk) wrote :

I have the problem with books that have to be converted first, e.g. EPUB. After the conversion, when I reattach the Kindle and press the 'send to device' button again, the book is copied to the Kindle just fine.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in calibre (Ubuntu):
status: New → Confirmed
Revision history for this message
zra7 (zra7) wrote :

Same issue here. Different Kindle models.
Can confirm that this is a calibre on Ubuntu issue.
calibre:3.21.0+dfsg-1build1
Ubuntu:18.04.3 LTS

Verified by testing with:
1. 2 different Ubuntu machines, same USB cables, same set of Kindles - same problem manifests itself
2. A different Arch Linux machine, calibre 4.9.1-1, same USB cables, same set of Kindles - no problem at all.

Revision history for this message
Anita (a-lewis) wrote :

Also had problem with Ubuntu 18.04 and version 3.21 calibre. Fixed using upgrade info at calibre which installed calibre 4.15:

sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.