03-15-2014, 08:48 AM | #721 |
Zealot
Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
|
example of broken TOC links - how to bulk-find problem ePubs ?
Greetings.
I was trying to find a way to bulk-identify ePubs that have problems with the TOC but was not successful finding existing problems using the Quality Check options. To illustrate, the link below is to a partial ePub that contains TOC links that do not work, but the Quality Check plugin did not identify the ePub as a problem. The Quality Check option I had tried was "Check ePub Structure: Check NCX TOC with broken links". http://www78.zippyshare.com/v/83382137/file.html "PARTIAL SAMPLE OF BROKEN TOC LINKS.epub" It is not a full ePub but just an illustrative sample. I was hoping to determine if there was some alternative approach to bulk-search for problem cases, perhaps with regular expressions, but none of the metadata columns seem to provide insight into the TOC and the validity of the links. Supposedly at some time the links had been working, but they were not when I downloaded the full ePub from the internet. Thanks in advance for any help. I wasn't sure if I should post this here or under the "Library Management" part of the forum. |
03-15-2014, 01:09 PM | #722 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
the links are sort of not fully broken (the destination file exists). There are no matching anchors within the file referenced Last edited by theducks; 03-15-2014 at 01:11 PM. |
|
Advert | |
|
03-15-2014, 02:27 PM | #723 | |
Zealot
Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
|
Quote:
When using Calibre's relatively new "Edit TOC" display, the problem items are displayed with orange circles rather than green checkmarks, with the associated comment "the location this entry points to does not exist". A different version of a broken link I guess, but I guess the issue would be how to bulk-identify all ePubs that do not have a matching anchor? |
|
03-15-2014, 02:41 PM | #724 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Then there is the technical Positive that can happen with files (modified) that have been split. The file name is still correct, but the anchor is missing. You GET the desired results (defaults to TOF when anchor is not found). |
|
03-15-2014, 05:40 PM | #725 |
Zealot
Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
|
Ah well, I guess this would be one of those situations where, if a problem is encountered as a one-off problem, then it would be resolved at that time rather than looking ahead to identify and resolve all existing problem cases. Thanks for your comments theducks.
If perchance someone thinks of an efficient checking method, even if it means leaving the process to run as it cranks through large libraries, that would still be of interest although I can see why it may not be desirable to build it in as a standard plugin feature (at least not without a warning message). Last edited by Rob557; 03-15-2014 at 05:43 PM. |
Advert | |
|
05-02-2014, 05:34 PM | #726 |
Member
Posts: 15
Karma: 10
Join Date: May 2014
Location: Denver, CO
Device: ipad, Kindle Voyager
|
How to change marked to selected
I love the Quality Check plugin, thanks.
I have a question about my results. After running some checks, it only "marks" the results. If I want to bulk edit the results, then I have to select them. So is there a command to change all Marked items to be selected? Or if not, can I get all the Marked items to be grouped together? So I could them shift click select them all. This would be useful if I'm looking for invalid title_sort or author_sort values. I could fix them with bulk metadata. Thanks in advance. |
05-02-2014, 05:38 PM | #727 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
05-09-2014, 07:45 AM | #728 | |
Zealot
Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
|
re: how to change marked to selected
Quote:
1) In the top right corner click on the icon button containing four horizontal blue lines stacked on top of each other ("enable or disable search highlighting"), or 2) In the top left corner click on the Virtual Library button and select "current search" and to reverse that process click on that same button and select "none". |
|
07-10-2014, 10:29 AM | #729 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta for calibre change to Qt5
FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.
Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins. This version needs to be tested with the existing calibre. Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5. Last edited by davidfor; 07-10-2014 at 10:30 AM. Reason: Forgot to attach the file. |
07-10-2014, 07:35 PM | #730 |
Grand Sorcerer
Posts: 6,218
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I ran a number of checks against my whole library under calibre beta 1.200. No problems encountered. I can confirm the config bug is gone.
|
07-25-2014, 03:50 AM | #731 |
Guru
Posts: 652
Karma: 5078890
Join Date: Feb 2014
Device: Kobo Glo (deceased), Kindle 4th, Kindle Basic 10th Generation
|
Hello, I really have no idea where I should post this, but google directed me to this thread.
I'm having this problem whenever I select a book I've downloaded using the fanfiction downloader plugin. Anyway, here's the error. This is waaaay beyond my understanding. So I really hope somebody can help me. Code:
calibre, version 1.46.0 ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'lt' referenced before assignment calibre 1.46 Portable isfrozen: True is64bit: False Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '7', '6.1.7601') Python 2.7.5 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "site-packages\calibre\gui2\book_details.py", line 609, in show_data File "site-packages\calibre\gui2\book_details.py", line 335, in show_data File "site-packages\calibre\gui2\book_details.py", line 28, in render_html File "site-packages\calibre\gui2\book_details.py", line 103, in render_data File "site-packages\calibre\ebooks\metadata\book\render.py", line 159, in mi_to_html UnboundLocalError: local variable 'lt' referenced before assignment Last edited by hleo12; 07-25-2014 at 03:57 AM. |
07-25-2014, 04:54 AM | #732 |
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Do you get this error when attempting to run the Quality Check plugin on the book? If not please be specific about what you are doing when you get this error.
|
07-25-2014, 06:04 AM | #733 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@DoctorOhh I suspect hleo2 got here via googling
Anyways the problem is fixed, so hleo2 should get a fresh download from here calibre - Download and reinstall 1.46. BR |
07-30-2014, 06:12 PM | #734 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
I am getting the following error when trying to use the Fix ASIN for Kindle Fire feature, this has occurred since I installed the latest version. How do I go back to a previous version? BTW I am on Calibre v1.45.0
Code:
calibre, version 1.45.0 ERROR: Unhandled exception: <b>TypeError</b>:arguments did not match any overloaded call: QProgressDialog(QWidget parent=None, Qt.WindowFlags flags=0): argument 1 has unexpected type 'unicode' QProgressDialog(QString, QString, int, int, QWidget parent=None, Qt.WindowFlags flags=0): argument 2 has unexpected type 'NoneType' calibre 1.45 Portable isfrozen: True is64bit: False Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '7', '6.1.7601') Python 2.7.5 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "calibre_plugins.quality_check.action", line 190, in perform_check File "calibre_plugins.quality_check.check_fix", line 44, in perform_check File "calibre_plugins.quality_check.check_fix", line 353, in fix_mobi_asin File "calibre_plugins.quality_check.dialogs", line 622, in __init__ TypeError: arguments did not match any overloaded call: QProgressDialog(QWidget parent=None, Qt.WindowFlags flags=0): argument 1 has unexpected type 'unicode' QProgressDialog(QString, QString, int, int, QWidget parent=None, Qt.WindowFlags flags=0): argument 2 has unexpected type 'NoneType' |
07-30-2014, 06:46 PM | #735 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Do you have an older backup of your configuration folder ? Just replace the file in the plugins folder |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 434 | 09-30-2024 04:04 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 11:05 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 09:39 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 01:02 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 08:47 PM |