View Single Post
Old 12-18-2011, 02:36 PM   #1
akos.maroy
Junior Member
akos.maroy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-600
calibre assumes incorrect location of reader mount point?

Hi,

I'm trying to use my Sony PRS-600 via Calibre 0.7.44 (Ubuntu 11.04), and I'm having some issues.

When I run the wizard, it detects the device fine, albeit only the main memory of the reader. But if I connect the reader again, Calibre has trouble working wit the reader, for example Calibre fails to load the reader contents, with the following error:

Code:
calibre, version 0.7.44
ERROR: Error: Error communicating with device

[Errno 30] Read-only file system: '/media/disk/Sony Reader/database/cache.xml'

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 64, in run
    self.result = self.func(*self.args, **self.kwargs)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 308, in _books
    cardalist = self.device.books(oncard='carda')
  File "/usr/lib/calibre/calibre/devices/prs505/driver.py", line 186, in books
    bl = USBMS.books(self, oncard=oncard, end_session=end_session)
  File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 162, in books
    self.sync_booklists((None, bl, None))
  File "/usr/lib/calibre/calibre/devices/prs505/driver.py", line 212, in sync_booklists
    c.write()
  File "/usr/lib/calibre/calibre/devices/prs505/sony_cache.py", line 724, in write
    with open(path, 'wb') as f:
IOError: [Errno 30] Read-only file system: '/media/disk/Sony Reader/database/cache.xml'
even though the file mentioned is there, and writeable:

Code:
$ ls -la /media/disk/Sony\ Reader/database/cache.xml
-rw-r--r-- 1 maroy maroy 16926 2011-12-18 20:31 /media/disk/Sony Reader/database/cache.xml
when trying to download a book, Calibre will assume a mount point of /media/sony, even though the internal memory and memory card mount points for the reader are /media/disk and /media/READER. thus book downloading doesn't work.

interestingly, if I re-run the wizard, it works fine until the next reconnect.

what am I doing wrong?


Akos
akos.maroy is offline   Reply With Quote