View Single Post
Old 10-11-2011, 01:21 PM   #139
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
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:
Originally Posted by anesthezea View Post
As I said above, my first attempt with the new beta brooked mixed results - duplicated books, but all collections showing properly.

<snip>
File "site-packages\calibre\devices\prst1\driver.py", line 256, in update_device_books
IndexError: list index out of range
Anesthesia (or really anyone with the duplicated books issue), would you be willing to share out your Sony_Reader/database/books.db file that has the duplication? The matching of books to their DB entry is done by the path, so I suspect some mismatch is at work. I'd need to see the duplicate entries to see why the mismatch happened.

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.

Quote:
Originally Posted by gena0411 View Post
Hello,

File "site-packages\calibre\devices\prst1\driver.py", line 446, in upload_book_cover
TypeError: 'NoneType' object is not subscriptable
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.
Kolenka is offline   Reply With Quote