Wrong EBOOK_DIR_MAIN for iriver story hd (basic)

Bug #909100 reported by Chistophe S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

When I plug my Iriver HD (basic edition), it is detected but the book list is empty and no book can be uploaded.

Modifying line 35 of /usr/lib/calibre/calibre/devices/iriver/driver.py:

  EBOOK_DIR_MAIN = 'Book'

with:

   EBOOK_DIR_MAIN = 'book'

solves my issue.

I am using calibre 0.8.28+dfsg-1 on debian testing.

Here is the traceback I get when I try to upload a book to the device:

  calibre, version 0.8.29
  ERROR: Erreur: Erreur pendant la communication avec le lecteur électronique

  [Errno 2] No such file or directory: '/media/Story HD/Book/Jean, Benjamin'

  Traceback (most recent call last):
    File "/usr/lib/calibre/calibre/gui2/device.py", line 81, in run
      self.result = self.func(*self.args, **self.kwargs)
    File "/usr/lib/calibre/calibre/gui2/device.py", line 405, in _upload_books
      metadata=metadata, end_session=False)
    File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 260, in upload_books
      filepath = self.normalize_path(self.create_upload_path(path, mdata, fname))
    File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 1121, in create_upload_path
      os.makedirs(filedir)
    File "/usr/lib/python2.7/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 2] No such file or directory: '/media/Story HD/Book/Jean, Benjamin'

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 909100

As far as I know, that directory is supposed to be uppercase. I have no idea
why it became lower case on your device, but just rename it to Book and you
should be fine.

 status invalid

Changed in calibre:
status: New → Invalid
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.