08-23-2013, 10:03 PM | #1636 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@Snowman & @ILB -
From the descriptions, you two have different problems. But I have no idea what's causing either of them. I've tried adding the explicit 'use_new_db = True' setting from testing pre-1.0.0 and using cover grid view, but it makes no difference for me. Both of you please:
|
08-24-2013, 12:08 AM | #1637 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Attached is a test version with additional debug output to try and figure out the problems people are having with custom column updates and Count Pages being called.
If you're not having these problems, there's no reason for you to use it. Question: A user on the google group with the same issues (both of them) is using calibre in portable mode. Are the two users having problems here? UPDATE Aug 27, 2013 -- Remove obsolete beta versions Last edited by JimmXinu; 08-27-2013 at 10:48 AM. Reason: Remove obsolete beta versions |
Advert | |
|
08-24-2013, 03:34 AM | #1638 | |
Zealot
Posts: 106
Karma: 3566
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3, Kindle Voyage
|
Quote:
And now that I look again, I see that other columns are not being updated, such as status and last-updated. Attached is a zip of the output from running the debug version in calibre debug and adding a new book, http://www.fanfiction.net/s/6963092/...ng-Appearances Many thanks, snowman |
|
08-24-2013, 04:23 AM | #1639 | |
Groupie
Posts: 169
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
Quote:
story:http://archiveofourown.org/works/939556 debug output see enclosed edit: I´ve got also a column "AO3 collections" which should be filled with a setting in personal.ini. [archiveofourown.org] custom_columns_settings: collections=>#collections_ao3 That column also stays empty. in regards to "not-custom" columns: Another column which is not filled is language. However the column "series" is filled. Last edited by ILB; 08-24-2013 at 05:40 AM. |
|
08-24-2013, 11:43 AM | #1640 |
Bujavid tekikin
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
First time updating stories after installing calibre 1.0 64-bit standard install on Windows 7 Pro x64.
First off, I noticed that the FFDL plugin seems to have stopped calling Reading List to update my reading lists (I have FFDL set to add new/updated stories to a "Send to Phone" reading list) or custom column metadata-- word count, two other boolean columns for "synced to device" and "(marked as) read" are not being updated. Lastly, got this error message trying to update an anthology epub, with the series link being http://archiveofourown.org/series/40129. Code:
calibre, version 1.0.0 ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: columns book, tag are not unique calibre 1.0 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.4 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "site-packages\calibre\gui2\proceed.py", line 118, in do_ask_question File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1296, in do_download_merge_update File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1111, in update_books_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1412, in update_metadata File "site-packages\calibre\db\legacy.py", line 458, in set_metadata File "site-packages\calibre\db\cache.py", line 55, in ans File "site-packages\calibre\db\cache.py", line 1137, in set_metadata File "site-packages\calibre\db\cache.py", line 1105, in protected_set_field File "site-packages\calibre\db\cache.py", line 1085, in set_field File "site-packages\calibre\db\cache.py", line 906, in set_field File "site-packages\calibre\db\write.py", line 502, in set_books File "site-packages\calibre\db\write.py", line 415, in many_many File "site-packages\calibre\db\backend.py", line 291, in executemany File "c:\cygwin\home\kovid\sw\build\apsw-3.7.14.1-r1\src\cursor.c", line 231, in resetcursor ConstraintError: ConstraintError: columns book, tag are not unique I have also tried making an anthology manually from FF.Net URLs, as well as update several other existing anthologies. In all instances I consistently get the ConstraintError message. Output from all that is enclosed below in the attachment. All this is from the currently latest released version of the FFDL plugin. Let me know if you need anything else or if you need me to use your new debugging plugin and repeat the tests as well yeah? Thanks. |
Advert | |
|
08-24-2013, 12:02 PM | #1641 |
Bujavid tekikin
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Using standard install of calibre x64 v1.0 on Win7 Pro x64. FFDL isn't populating my wordcount column with downloaded wordcount metadata (Count Pages isn't configured, so existing wordcount values aren't from there, I don't think), or updating my Reading Lists automatically, as it should. I'm also getting ConstraintError messages when creating new or updating existing anthology epubs.
Code:
calibre, version 1.0.0 ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: columns book, tag are not unique calibre 1.0 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.4 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "site-packages\calibre\gui2\proceed.py", line 118, in do_ask_question File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1296, in do_download_merge_update File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1111, in update_books_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1412, in update_metadata File "site-packages\calibre\db\legacy.py", line 458, in set_metadata File "site-packages\calibre\db\cache.py", line 55, in ans File "site-packages\calibre\db\cache.py", line 1137, in set_metadata File "site-packages\calibre\db\cache.py", line 1105, in protected_set_field File "site-packages\calibre\db\cache.py", line 1085, in set_field File "site-packages\calibre\db\cache.py", line 906, in set_field File "site-packages\calibre\db\write.py", line 502, in set_books File "site-packages\calibre\db\write.py", line 415, in many_many File "site-packages\calibre\db\backend.py", line 291, in executemany File "c:\cygwin\home\kovid\sw\build\apsw-3.7.14.1-r1\src\cursor.c", line 231, in resetcursor ConstraintError: ConstraintError: columns book, tag are not unique |
08-24-2013, 01:04 PM | #1642 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Okay, now everybody is having the same problem at least. Except me--I still don't see it.
It's failing to update metadata entirely--before it even gets to the custom columns/Count Pages. Code:
Traceback (most recent call last): File "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 551, in do_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1111, in update_books_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1413, in update_metadata File "site-packages\calibre\db\legacy.py", line 458, in set_metadata File "site-packages\calibre\db\cache.py", line 55, in ans File "site-packages\calibre\db\cache.py", line 1137, in set_metadata File "site-packages\calibre\db\cache.py", line 1105, in protected_set_field File "site-packages\calibre\db\cache.py", line 1085, in set_field File "site-packages\calibre\db\cache.py", line 906, in set_field File "site-packages\calibre\db\write.py", line 502, in set_books File "site-packages\calibre\db\write.py", line 415, in many_many File "site-packages\calibre\db\backend.py", line 291, in executemany File "c:\cygwin\home\kovid\sw\build\apsw-3.7.17-r1\src\cursor.c", line 231, in resetcursor ConstraintError: ConstraintError: columns book, tag are not unique Last edited by JimmXinu; 08-24-2013 at 01:59 PM. Reason: Correct typo only |
08-24-2013, 01:22 PM | #1643 | |
Groupie
Posts: 169
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
Quote:
|
|
08-24-2013, 01:48 PM | #1644 |
Zealot
Posts: 106
Karma: 3566
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3, Kindle Voyage
|
|
08-24-2013, 01:53 PM | #1645 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@ILB - Thanks. I tried running using your personal.ini but I still don't see the problem.
|
08-24-2013, 02:05 PM | #1646 |
Zealot
Posts: 106
Karma: 3566
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3, Kindle Voyage
|
Would the metadata.db/db_prefs.json help? mine zip to about 1.3mb
snowman |
08-24-2013, 02:13 PM | #1647 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
08-24-2013, 02:17 PM | #1648 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I don't think so. I wouldn't know what to look for in it.
I suppose if you created a new library (using the same structure--there's an option for that) and showed it had the same problem with only one book in it and then sent me a zip of that entire library dir it might help. |
08-24-2013, 02:32 PM | #1649 | |
Zealot
Posts: 106
Karma: 3566
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3, Kindle Voyage
|
Quote:
snowman |
|
08-24-2013, 03:01 PM | #1650 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@Snowman -- Yes, I get the same error now with that library. With any luck, now I'll be able to figure it out.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1750 | 04-07-2024 01:20 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 95 | 03-16-2024 11:55 PM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1096 | 03-16-2024 11:28 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |