lumica89 / prs-plus

Automatically exported from code.google.com/p/prs-plus
0 stars 0 forks source link

Device no longer accessible from Calibre #336

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Your model / PRS+ version?
PRS-505 / PRSP 505 2.0.18

What steps will reproduce the problem?
1. Open Calibre
2. Attach device to PC via USB
3.

What is the expected output? What do you see instead?
Before installing prs+, I was able to access all of the books on my device as 
well as add new books to my device via Calibre.  After I installed PRS+ I get 
an error saying there was a problem connecting to the device and get the 
following:

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

The SONY database at 'H:\\database\\cache\\media.xml' is corrupted. Try  
disconnecting and reconnecting your reader.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 82, in run
  File "site-packages\calibre\gui2\device.py", line 339, in _books
  File "site-packages\calibre\devices\prs505\driver.py", line 200, in books
  File "site-packages\calibre\devices\prs505\driver.py", line 195, in initialize_XML_cache
  File "site-packages\calibre\devices\prs505\sony_cache.py", line 117, in __init__
Exception: The SONY database at 'H:\\database\\cache\\media.xml' is corrupted. 
Try  disconnecting and reconnecting your reader.

Original issue reported on code.google.com by rkni...@gmail.com on 15 May 2012 at 4:15

GoogleCodeExporter commented 8 years ago
What features of PRS+ are you using?
media.xml corruption is mostly affecting chinese users, who use fonts mounted 
from internal memory.

To resolve the problem:
1) reset the device, while it is still booting, connect to USB
2) disconnect from USB and let it boot (PRS+ won't start)
3) Restart it again (settings, shutdown)

Original comment by msukhias...@gmail.com on 21 May 2012 at 7:25

GoogleCodeExporter commented 8 years ago

Original comment by msukhias...@gmail.com on 6 Jun 2012 at 5:52

GoogleCodeExporter commented 8 years ago
Hi
I've exact the same problem.
Tried the workaround but with no success (still the same error appears).
However, the workaround isn't that clear
my doubt is:
after step 3 restart boots again PRS+, so the situation is the same than the 
start.
so when I connect the device I don't understand where is the difference, a part 
from the fact that i've rebooted one the device and booted the standard sony 
software.
But, if the workaround procedure is this, this doesn't worked to me.
I've used calibre before easily and with success (in fact i've used it for 
years).
I tried removing the media.xml file but
1. if it is not present calibre complains it is not present
2. if i boot the device the file gets re-created but still invalid to calibre.
the reader works fine, i've not experienced any problem. 
thanks for any help/tips
bye
Nicola

Original comment by Nicola.F...@gmail.com on 7 Oct 2012 at 6:21

GoogleCodeExporter commented 8 years ago
found the problem!
re-reading your answer i realized that i've read a pdf book with some chinese 
characters in pages where i've placed some bookmarks.
deleting every bookmarks now i am able to connect again.
but does this mean that i cannot bookmark chinese character ? this is a little 
annoying since i've start studying chinese ..

Original comment by Nicola.F...@gmail.com on 14 Oct 2012 at 8:19