02-21-2011, 05:26 AM | #16 | |
Enthusiast
Posts: 49
Karma: 12
Join Date: Feb 2011
Device: Kobo Aura, Sony PRS-350 and PRS-T1
|
Quote:
Hope kpw can give me a hand to resolve it as it seems to work fine elsewhere on Win7, both 32 and 64bit |
|
02-22-2011, 01:42 PM | #17 |
Tatütatuter
Posts: 390
Karma: 3148
Join Date: Oct 2008
Location: Germany, Baden, Karlsruhe
Device: Aura H2O, Glo HD, Paperwhite, PRS-950
|
MALFUNCTION - I found, that the plugin deletes *ALL* collections, when setting the book list. Metadata-Management is set to automatic within my calibre.
After reconnecting the device to calibre, the collections are restored and the next-to-read-books are still staying... |
02-22-2011, 08:31 PM | #18 |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Hi folks. Sorry I haven't been available to make responses recently. I was out of commision (and unconnected) over the last week, so I'm catching up now. There seem to be a couple of unresolved problems that have been mentioned recently - I'll review the posts a little closer and see if I can come up with some ideas.
|
02-22-2011, 08:58 PM | #19 | |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Quote:
Although this plugin doesn't do any updates to collections in the device, I think I can see a situation where the data I'm working with could get out of sync with the data on the device, and you could end up with something like you're describing. I do a check when the action is invoked to make sure there are no device tasks running in the background in an atempt to avoid working on stale metadata. But I've just been able to verify that, if I time it right, I can get the action to start up just before the device metadata update task starts after Calibre detects the device. That would probably end up with my plugin making its updates to the book timestamps using stale cache.xml/media.xml content. I'll put in a check to make sure this doesn't happen. Does it sound like this might be the scenario you're running into? |
|
02-22-2011, 10:20 PM | #20 | |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Quote:
For me, my main goal was to get something integrated in Calibre and to focus more on a collection-based solution. I haven't gotten it as automated as I initially was thinking about, but I guess that gives me more to think about. Thanks for the information on the timestamp calulations. |
|
02-22-2011, 11:15 PM | #21 | |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Quote:
I think I understand what is happening to cause the error you are seeing. If I have that right, then the following updated plugin should fix it up. Can I ask you to install version I've attached below and see if that works better? If that does it, I'll post it as an official new version. Thanks for trying the plugin out! |
|
02-23-2011, 01:49 AM | #22 | |
Tatütatuter
Posts: 390
Karma: 3148
Join Date: Oct 2008
Location: Germany, Baden, Karlsruhe
Device: Aura H2O, Glo HD, Paperwhite, PRS-950
|
Quote:
When I reconnect the device after running your plugin, calibre adds all collections back again and everything is fine. But I found another error: the reading history was deleted too, so the reader wanted me to start reading with page 1 instead of 253, where I ended my last reading session. |
|
02-23-2011, 02:11 AM | #23 | |
Enthusiast
Posts: 49
Karma: 12
Join Date: Feb 2011
Device: Kobo Aura, Sony PRS-350 and PRS-T1
|
Quote:
Dear kpw, thanks for providing the updated plugin. It resolved the problem I had just fine, I haven't seen the error anymore. I will play around with it now to get a feel for the possibilities it offers. Thanks again! |
|
02-23-2011, 11:29 AM | #24 | |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Quote:
If you try launching Calibre in debug mode using the "calibre-debug -g" command from a command line (this is the command that I use in Windows anyway), then you might see some error messages in the command line console. That might help me to track this down. |
|
02-23-2011, 11:32 AM | #25 |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
I've posted a new version (1.0.2) officially with the fix. Thanks for your help Calibrefan!
|
02-24-2011, 05:25 AM | #26 |
Tatütatuter
Posts: 390
Karma: 3148
Join Date: Oct 2008
Location: Germany, Baden, Karlsruhe
Device: Aura H2O, Glo HD, Paperwhite, PRS-950
|
OK, I will try it next time, I connect the device with calibre. Which will be at the weekend.
|
02-26-2011, 10:44 AM | #27 |
Tatütatuter
Posts: 390
Karma: 3148
Join Date: Oct 2008
Location: Germany, Baden, Karlsruhe
Device: Aura H2O, Glo HD, Paperwhite, PRS-950
|
|
02-26-2011, 12:22 PM | #28 | |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Quote:
I have put in a fix for the stale metedata possibility I had mentioned earlier. I've changed the order of the processing I do so that the read/write operation on the cache doesn't get interrupted with any user interaction, so that should greatly minimize the possibility of something getting in an update in the mean time. I also put in a check to look for that happening, in which case I bypass the save. That way, the data should not get corrupted. I need to test it out a little more before I post it though. Thanks for your help. |
|
02-27-2011, 10:41 AM | #29 |
Connoisseur
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
|
Updated plugin version 1.0.3 posted with the following changes:
|
02-28-2011, 08:43 AM | #30 |
Tatütatuter
Posts: 390
Karma: 3148
Join Date: Oct 2008
Location: Germany, Baden, Karlsruhe
Device: Aura H2O, Glo HD, Paperwhite, PRS-950
|
Sorry.
Plugin V.1.0.3 calibre, version 0.7.47 ERROR: Unhandled exception: <b>ValueError</b>:time data 'Sun, 01 Aug 2010 22:02:00 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT' Traceback (most recent call last): File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 112, in setSonyBookList File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 123, in chooseProfile File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 135, in handleSetBookList File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 139, in handleCache File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 435, in build File "C:\Users\Thorsten\AppData\Roaming\calibre\plugins \Manage Sony x50 Reader Book List.zip\ManageSonyX50BookList.py", line 453, in buildBookList File "_strptime.py", line 454, in _strptime_time File "_strptime.py", line 325, in _strptime ValueError: time data 'Sun, 01 Aug 2010 22:02:00 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT' *ADD - after a downgrade to 1.0.2, everything works fine again. Last edited by ThR; 02-28-2011 at 09:25 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Copy book covers as Standby images (Sony/Kindle/Nook) | jackie_w | Plugins | 136 | 06-18-2020 03:27 AM |
Calibre plugin - Copy book covers to use as Standby images (PRS600/x50) | jackie_w | Sony Reader | 39 | 06-18-2016 07:06 PM |
Calibre strange characters book list on Sony Reader | Imatechie2006 | Calibre | 0 | 01-21-2010 01:45 AM |
How do you manage your 'reading list'? | astrodad | Workshop | 30 | 04-18-2008 02:23 PM |
ml_ipod - WinAmp plugin to manage your iPod | doctorow | Lounge | 3 | 07-01-2004 01:31 PM |