06-23-2011, 01:20 AM | #91 |
Groupie
Posts: 184
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Just installed the Duplicates plugin but found I am having a problem now when I try to search for an author. Running Calibre 0.8.6. The duplicates find was great but after running the plugin how do I return to the normal library display.
I restarted Calibre and now when I say search for an author Calibre highlights that author but shows every other book in the library whereas before it only show those books by that author. What am I doing wrong? mitch13 |
06-23-2011, 01:38 AM | #92 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Toggle the blue stripped icon in the top row, see attached.
|
Advert | |
|
06-23-2011, 01:48 AM | #93 |
Groupie
Posts: 184
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Questions re Duplicates.
Just sorted the answers myself (Enable/Disable Search Highlighting). mitch13 |
06-23-2011, 04:36 AM | #94 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Mitch - to prevent this situation again the next time thou find duplicates, note that you can either:
- click on the clear search button to the right of the search box - click on the find duplicates menu and choose the clear duplicates option Either of these will return you back to normal search mode in one step. |
07-03-2011, 03:59 AM | #95 |
-----
Posts: 114
Karma: 10
Join Date: Jun 2011
Device: Samsung SNE65
|
The author search seems to work pretty well. I only used the precise serach, nothing fancy. Now, if I try to do a binary search here's what I get with the latest (today) calibre and plugin:
Code:
calibre, version 0.8.8 ERROR: Unhandled exception: <b>AttributeError</b>:'TagsView' object has no attribute 'search_restriction' Traceback (most recent call last): File "calibre_plugins.find_duplicates.action", line 151, in find_duplicates File "calibre_plugins.find_duplicates.duplicates", line 114, in run_duplicate_check File "calibre_plugins.find_duplicates.algorithms", line 308, in run_duplicate_check File "calibre_plugins.find_duplicates.algorithms", line 513, in get_book_ids_to_consider AttributeError: 'TagsView' object has no attribute 'search_restriction' Code:
calibre, version 0.8.8 ERROR: Unhandled exception: <b>AttributeError</b>:'TagsView' object has no attribute 'search_restriction' Traceback (most recent call last): File "calibre_plugins.find_duplicates.action", line 156, in toolbar_button_clicked File "calibre_plugins.find_duplicates.action", line 151, in find_duplicates File "calibre_plugins.find_duplicates.duplicates", line 114, in run_duplicate_check File "calibre_plugins.find_duplicates.algorithms", line 308, in run_duplicate_check File "calibre_plugins.find_duplicates.algorithms", line 479, in get_book_ids_to_consider AttributeError: 'TagsView' object has no attribute 'search_restriction' |
Advert | |
|
07-03-2011, 04:12 AM | #96 | |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
That attribute is now in gui2.tag_browser.model. However, depending on what you are using it for, you might want to use gui2.tag_browser.view.set_search_restriction() (to set the search restriction in the tag browser), or db.data.search_restriction (to retrieve the value stored with the data cache) |
|
07-03-2011, 05:01 AM | #97 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.2 Released
Changes in this release:
Thx chaley for the heads up on what had been changed in Calibre. |
07-03-2011, 05:16 AM | #98 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.3 Released
Changes in this release:
Forgot to also make this change in 1.1.2 - again for an internal Calibre codebase change that would break this plugin in future. This plugin now uses the db.format_hash() and db.format_metadata() functions Kovid added in 0.8.7 as detailed in this thread. |
07-03-2011, 05:54 AM | #99 | |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Starting with the next release, format_metadata caches the data returned by os.stat() during a given calibre session. If a format is changed outside of calibre, then the cache will be incorrect, containing stale data. For example, calibre won't know the file has changed if you use open_with and sigil to change it, so format_metadata can return stale data. The cache is not persistent. It is rebuilt every time calibre starts, which limits the lifetime of the stale data. EDIT: I should also point out that format_metadata() has a new additional argument that indicates whether or not it is permissible to use the cache. Last edited by chaley; 07-03-2011 at 05:58 AM. |
|
07-03-2011, 06:00 AM | #100 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thx Charles, I saw the extra allow_cache parameter (did not make use of it, just used the default). Perhaps just as well if I was calling code that isn't yet released (not sure whether the change you refer to relates to that parameter or elsewhere). So currently it is going to use the cache for the session - I couldn't make my mind up whether that was good or bad so just ran with it as is for now.
|
07-03-2011, 06:06 AM | #101 |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The caching code will be released the end of this week, so you did the right thing.
|
07-03-2011, 03:03 PM | #102 | |
Addict
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
Got an error just now (v 1.1.3)
Quote:
This error shows up every time I go to the next group |
|
07-03-2011, 03:06 PM | #103 | |
Addict
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
when clicking show all author exemptions, I get:
Quote:
|
|
07-03-2011, 06:22 PM | #104 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@drMerry - that first error looks like another problem caused by the refactoring of the tag view stuff in Calibre 0.8.8. The User Category plugin will be broken as well I suspect...
The second problem is not related to 0.8.8 but is an error that must have always been there, surprising it hasn't been spotted before now. Thanks for reporting the issues. Will push a new release when fixed. |
07-03-2011, 06:40 PM | #105 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.4 Released
Changes in this release:
|
Tags |
cross library duplicates, in library duplicates |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1171 | 03-23-2024 05:18 AM |
[GUI Plugin] View Manager | kiwidude | Plugins | 413 | 03-17-2024 12:01 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 402 | 03-16-2024 11:44 PM |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 811 | 03-16-2024 11:31 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |