Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2010
Device: Sony Reader PRS-300
|
First off, thanks so much for the amazing work...I just bought my first reader a couple of weeks ago, and Calibre makes it about three times as useful as it otherwise would be. So, thank you so much for creating it, and continuing work on it so diligently.
After I got everything working with 0.6.x series, I enthusiastically installed 0.7.0 (Ubuntu Linux 10.04) and found that two new problems have emerged that I don't know how to fix (after reading the stack traces and doing a bit of searching).
First, Calibre has now started mounting the "install" partition of the PRS-300 as a memory card ("Card A"). It's not a memory card, and is in fact read-only, so every time I plug the PRS-300 in, I get an "Error Communicating With Device":
(30, 'Read-only file system')
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 58, in run
File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 262, in _books
File "/home/kovid/build/calibre/src/calibre/devices/prs505/driver.py", line 97, in books
File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 147, in books
File "/home/kovid/build/calibre/src/calibre/devices/prs505/driver.py", line 103, in sync_booklists
File "/home/kovid/build/calibre/src/calibre/devices/prs505/driver.py", line 93, in initialize_XML_cache
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/media/Sony Reader Storage Card (1)/Sony Reader'
Since it thinks it is a storage card, it looks for the "Sony Reader" directory, but it doesn't exist and I can't create it, because the install partition of the device *is* read-only.
Secondly, and perhaps more importantly, I now get an error when syncing books:
ERROR: ERROR: Unhandled exception: <b>AttributeError</b>:'list' object has no attribute 'add_book'
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/gui2/__init__.py", line 246, in dispatch
File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 1056, in books_uploaded
File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 304, in add_books_to_metadata
File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 219, in add_books_to_metadata
AttributeError: 'list' object has no attribute 'add_book'
The books do in fact get copied to the device, but no collections are created, which causes a bit of a navigation problem on the device itself. It's not the end of the world, but I really like collections. =)
This is normally associated with the "wait until the hourglass stops spinning before adding content" fix, but in my case, everything has settled completely when I get the error.
What I think is happening is that Calibre attempts to read what's on the device, works its way through main memory, tries to read the "Card", fails with an exception, and never returns the data structure it is supposed to. Another piece of evidence to this effect is that when I try to browse the device in Calibre, nothing appears to be on it.
All the obvious approaches don't work; i.e. the OS can see the device just fine, I am trying to sync with Main Memory (not Card A), I'm waiting for the device to settle, etc. I have tried it on two different Ubuntu machines running 0.7.0, I've formatted my device, and today I returned my old device and got the same model and the same problem is showing up.
So...have I found a bug, or am I still missing something?
Thanks for everything,
Rick
|