![]() |
#301 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
The "metadata/no info" thing can be a red herring. It is possible it is just a symptom of the same problem, and may be nothing more than a distraction. Not when I have an actual problem right here. Please help me focus on the right things (that I am asking about) so I can actually help, please.
|
![]() |
![]() |
![]() |
#302 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
|
Quote:
Here's what I did:
Was I doing something wrong? What comes next? |
|
![]() |
![]() |
![]() |
#303 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
So it confirms there is something is wrong with how the books.db file is getting created by the T1. I'd call it a Sony bug, but they might disagree.
The work around without a fix is to add a book onto the SD card manually before using Calibre to get the T1 to "fix" the books.db itself. Calibre will continue to work fine as long as you don't delete books.db off the card from that point on. The long-term work around for the bug is have Calibre set the starting id # in books.db if it is an invalid value. Calibre shouldn't have to do this, but developers don't always build their devices in a sane way. I just have one last question: What firmware do you have on your T1? |
![]() |
![]() |
![]() |
#304 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
|
Thanks, Kolenka. You've been really patient with me and I personally appreciate your time and your efforts (... and your knowledge, of course).
I feel much better now, not only because "my T1 works" (... somehow) but also because my intellectual curiosity has been satisfied: I hate not knowing why things that should not happen do happen. Quote:
It seems to be quite standard, because I remember taking part in a thread about firmware versions. Thank you again and greetings from sunny Spain, -Enrique Last edited by enriquep; 11-07-2011 at 02:09 PM. |
|
![]() |
![]() |
![]() |
#305 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,403
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The number of device bugs I've had to code around in my years of calibre development is not funny. I dont know why companies are not motivated enough to fix the bugs in their products. I guess not enough of their customers complain about small bugs like these.
|
![]() |
![]() |
![]() |
#306 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() It is perplexing. In this case the company may shrug, since "in theory" their device works fine with their software. |
|
![]() |
![]() |
![]() |
#307 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
|
Quote:
I admit that at moments I have felt uneasy thinking that I was "the only one" with corrupted SD card data, that perhaps I was wrong after all. In Sony's discharge I also admit that I provided a wrong reproducibility clue (that mising metadata "suspicion"), but at first I didn't provide any solid clues here, and Kolenka (and Kovid, and others) showed an interest that Sony eSupport lacked, guiding me through the right steps: That is a shocking difference! So congratulations to everyone. You are all great. Last edited by enriquep; 11-08-2011 at 08:03 AM. |
|
![]() |
![]() |
![]() |
#308 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
I can see how they may have done a better job coding the creation and error handling of the books.db file. I guess some odd glitch could have corrupted the file in a similar manner and when it found number out of range it should have scanned the card and built a fresh books.db file. If they had done this your problem would have been different, either way I'm sure Kolenka will sort out the needed numbering required for the SD card. |
|
![]() |
![]() |
![]() |
#309 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 12584
Join Date: Oct 2011
Device: Sony PRS-T1
|
Quote:
Quote:
Code:
calibre, version 0.8.25 ERROR: Error: Error communicating with device 'ImageWrapper' object does not support indexing Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 81, in run File "site-packages\calibre\gui2\device.py", line 354, in _sync_booklists File "site-packages\calibre\devices\prst1\driver.py", line 239, in sync_booklists File "site-packages\calibre\devices\prst1\driver.py", line 267, in update_device_database File "site-packages\calibre\devices\prst1\driver.py", line 348, in update_device_books File "site-packages\calibre\devices\prst1\driver.py", line 506, in upload_book_cover TypeError: 'ImageWrapper' object does not support indexing |
||
![]() |
![]() |
![]() |
#310 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,403
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Tuttle: That's the best I can do without a device, you will have to wait until Kolenka looks at it.
|
![]() |
![]() |
![]() |
#311 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 12584
Join Date: Oct 2011
Device: Sony PRS-T1
|
So I had a quick look through the code just to see if I could figure it out, and I think I've narrowed it down more -- the error only occurs if there's a book on the device which isn't in the Calibre library.
I started looking through the lines mentioned in the traceback, and line 239 was weird, because it's the call to update_device_database for the main memory. The only book left on the main memory in my reader is the user manual; all my other books are on the MicroSD card. And sure enough, when I deleted that book and uploaded a copy of the manual through Calibre instead, the error went away (and the covers for my other books got updated as I was hoping). If I copy the original manual back into place without using Calibre, it brings up the error again on the next connection. And if I copy the original manual back onto the MicroSD card instead of main memory, the error comes back and refers to line 241, which is the update_device_database call for the MicroSD card. So I think it's actually choking on that non-Calibre book when it sees it. The same behaviour occurs with other EPUB files that aren't in Calibre, so it's not just the manual file. Hopefully that helps to narrow it down. In any case, I have a perfectly good workaround for my usage -- I'll just leave the Calibre'd version of the user manual on the T1 instead of the original. |
![]() |
![]() |
![]() |
#312 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,403
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK, fix committed.
|
![]() |
![]() |
![]() |
#313 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
Same problem here with "Image Wrapper". Just downloaded 0.8.26
|
![]() |
![]() |
![]() |
#314 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#315 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 12584
Join Date: Oct 2011
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prs 505 Sony and calibre 0.8 | duduche33 | Devices | 3 | 05-12-2011 10:50 AM |
Calibre for Sony prs 350 | Rick1971 | Calibre | 4 | 12-26-2010 12:27 PM |
Calibre and Sony PRS-600 | Archergal5219 | Calibre | 2 | 07-25-2010 12:32 AM |
Sony PRS-505/Sony Connect/Calibre | thesweetone | Sony Reader | 26 | 09-30-2009 03:00 PM |
Calibre and Sony PRS-600 | lukasfikr | Calibre | 10 | 08-26-2009 09:11 PM |