![]() |
#136 |
...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 226
Karma: 514506
Join Date: Sep 2011
Device: Sony PRS-T1
|
wow robert you totally lost me on your test scenario
![]() I would think you should do one thing at time and stop when there's an issue, and be very clear on the condition to replicate the problem. If Kolenka can't replicate, it makes it much more difficult to identify where the issue is. Will defer to Kolenka and the rest of developers though, maybe I just can't understand it. ![]() |
![]() |
![]() |
![]() |
#137 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, that's it. I've uploaded a build that should detect the SD card on windows as well.
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2011
Device: Sony PRS-T1
|
Communtication error with latest beta
Hello,
I have installed the latest beta yesterday (before collections update) and everything worked fine. Today, I have installed again to get collections support and there is a communication error. I deleted everything to try from scratch but error remains. ================== calibre, version 0.8.21 ERROR: Error: Error communicating with device 'NoneType' object is not subscriptable Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 81, in run File "site-packages\calibre\gui2\device.py", line 332, in _books File "site-packages\calibre\devices\prst1\driver.py", line 142, in books File "site-packages\calibre\devices\usbms\driver.py", line 242, in books File "site-packages\calibre\devices\prst1\driver.py", line 200, in sync_booklists File "site-packages\calibre\devices\prst1\driver.py", line 228, in update_device_database File "site-packages\calibre\devices\prst1\driver.py", line 279, in update_device_books File "site-packages\calibre\devices\prst1\driver.py", line 446, in upload_book_cover TypeError: 'NoneType' object is not subscriptable =========================== Could somebody help with this? Thanks in advance Genady |
![]() |
![]() |
![]() |
#139 | |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
So it sounds like a lot of the problems are on Windows. Not terribly surprising as I don't currently have a Windows test environment. Development was done on OS X.
Quote:
EDIT: Even better would be to catch a books.db right before you eject it from the machine. At the point where the books are in the collections, before the T1 removes them. I wouldn't be surprised if the duplication in the DB was related to the collections troubles in some way. Collections must reference the books, and so if the references were awkward, the T1 might try to clean them up when it can't make sense of them. The error in that trace looks like it got fixed by Kovid already when I pulled down his changes. Looks like I can blame Kovid's cleanup for this one (D'oh!). There is an if that got re-written incorrectly during that cleanup. I've got a fix for that in the calibre bug tracker now. Last edited by Kolenka; 10-11-2011 at 01:32 PM. |
|
![]() |
![]() |
![]() |
#140 | |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
Quote:
EDIT: Forgot to mention I actually use Automatic myself. ![]() Last edited by Kolenka; 10-11-2011 at 01:47 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#141 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2011
Device: Sony PRS-T1
|
Quote:
Thanks Kolenka. So you have found the source of the error? Hopefully next update will include the fix then. Thanks Genady |
|
![]() |
![]() |
![]() |
#142 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
You mean the one you found? Yeah. It's a silly typo mistake made in a hurry.
The trigger for the bug is a book without a thumbnail cover. |
![]() |
![]() |
![]() |
#143 |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2011
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#144 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 17102
Join Date: Sep 2010
Location: San Diego, CA
Device: PRS-505 600 300 350 T1 T2 Kindle PW1 PW2 KV Clara 2E Libra 2 Leaf 2
|
|
![]() |
![]() |
![]() |
#145 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
Robert, can you recreate the situation in Step 4 of your steps from earlier, and PM me the books.db?
Ideally, I'd like to get two copies: 1) Before you unplug the device, after say, quitting Calibre to make sure it has written everything out to the file. 2) After letting the T1 remove books from the collections, connecting the T1, and not using Calibre again. #1 will give me the state that Calibre set. #2 will give me the state that the T1 corrected it to. I should be able to figure out what is likely going wrong at that point. |
![]() |
![]() |
![]() |
#146 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 17102
Join Date: Sep 2010
Location: San Diego, CA
Device: PRS-505 600 300 350 T1 T2 Kindle PW1 PW2 KV Clara 2E Libra 2 Leaf 2
|
OK I discovered what was causing the discrepancies between what was checked and showing in the Library view and checked and showing in the Device view. Turns out it was a plugboards issue.
I had a plugboard with 2 items: {title} ({pubdate}) Mapped to: title {author_sort} Mapped to: authors The authors item did not affect the checked list but the title item does. So I have remove the plugboard for further testing. |
![]() |
![]() |
![]() |
#147 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 17102
Join Date: Sep 2010
Location: San Diego, CA
Device: PRS-505 600 300 350 T1 T2 Kindle PW1 PW2 KV Clara 2E Libra 2 Leaf 2
|
Quote:
Hi Kolenka, OK I created the files for you but I do not have Private Messaging set up on my machine. Can I get the files to you in another way? |
|
![]() |
![]() |
![]() |
#148 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
|
![]() |
![]() |
![]() |
#149 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 17102
Join Date: Sep 2010
Location: San Diego, CA
Device: PRS-505 600 300 350 T1 T2 Kindle PW1 PW2 KV Clara 2E Libra 2 Leaf 2
|
|
![]() |
![]() |
![]() |
#150 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 17102
Join Date: Sep 2010
Location: San Diego, CA
Device: PRS-505 600 300 350 T1 T2 Kindle PW1 PW2 KV Clara 2E Libra 2 Leaf 2
|
OK done...
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |