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 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
Old 12-18-2011, 04:36 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That is a very old version of Calibre so I suspect you may have trouble getting an answer. Is there any reason you are not running a recent version (8.31 being the current version).
itimpi is offline   Reply With Quote
Advert
Old 12-18-2011, 04:37 PM   #3
akos.maroy
Junior Member
akos.maroy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-600
Quote:
Originally Posted by itimpi View Post
That is a very old version of Calibre so I suspect you may have trouble getting an answer. Is there any reason you are not running a recent version (8.31 being the current version).
the main reason is that this is the version that comes from ubuntu's package repository...
akos.maroy is offline   Reply With Quote
Old 12-18-2011, 04:46 PM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Many of the repository installs are faulty which is why they are not officially supported in this forum. I would expect you would get better results by using the binary install from the Calibre home site.
itimpi is offline   Reply With Quote
Old 12-18-2011, 04:47 PM   #5
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: 31,003
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 akos.maroy View Post
the main reason is that this is the version that comes from ubuntu's package repository...
Use Synaptic to completly remove.
Then Run to the Calibre Linux download page and use that Commandline installer.

I made a Menu item(under System Tools) and pasted that into launcher . Now all I do is click that when I see an Update notice
theducks is offline   Reply With Quote
Advert
Old 12-19-2011, 01:56 AM   #6
akos.maroy
Junior Member
akos.maroy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-600
thanks for the tip. so I removed the package installed version, and installed according to the documentation on the calibre site, and now I have 0.8.31.

and I still have the same issue:

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

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 81, in run
  File "site-packages/calibre/gui2/device.py", line 333, in _books
  File "site-packages/calibre/devices/prs505/driver.py", line 199, in books
  File "site-packages/calibre/devices/usbms/driver.py", line 240, in books
  File "site-packages/calibre/devices/prs505/driver.py", line 228, in sync_booklists
  File "site-packages/calibre/devices/prs505/sony_cache.py", line 724, in write
IOError: [Errno 30] Read-only file system: '/media/disk/Sony Reader/database/cache.xml'
whereas the file in question is there as before:

Code:
$ ls -l "/media/disk/Sony Reader/database/cache.xml"
-rw-r--r-- 1 maroy maroy 16928 2011-12-19 07:52 /media/disk/Sony Reader/database/cache.xml
akos.maroy is offline   Reply With Quote
Old 12-19-2011, 02:01 AM   #7
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,300
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://manual.calibre-ebook.com/faq....-connect-to-it
kovidgoyal is offline   Reply With Quote
Old 12-19-2011, 02:37 AM   #8
akos.maroy
Junior Member
akos.maroy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-600
thanks, this was the problem indeed.

maybe a more descriptive error message would help in recognizing the real issue.
akos.maroy is offline   Reply With Quote
Old 12-19-2011, 06:34 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by akos.maroy View Post
maybe a more descriptive error message would help in recognizing the real issue.
It certainly could be more descriptive, since this is a Linux OS level error message where do we send the suggestion?
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bad dates and incorrect periodical archiving from Calibre alison87 Amazon Kindle 1 11-21-2011 03:36 PM
Calibre will not mount my ipad coco37 Apple Devices 4 07-08-2011 07:10 AM
Calibre 0.6.14 incorrect publish date elmoglick Calibre 16 02-09-2011 02:24 PM
calibre shows incorrect metadata. clear Calibre 2 11-22-2010 06:47 AM
calibre server -> stanza, incorrect titles mshellberg Calibre 5 06-18-2010 11:02 AM


All times are GMT -4. The time now is 09:37 PM.


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