07-24-2020, 03:18 AM | #1 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
[Plugin] CheckInternalLinks
Checks and validates all internal links in epub2 or epub 3 files. Requirements Plugin Type: Edit MIT Licence(OSI) Minimum Sigil requirement: v0.9.3 or higher Python Requirements: Python 3.4+ (Bundled or External) OS Requirements: Windows, OSX or Linux *** Tested on Windows 10, OSX and Linux *** Current Version: "0.1.0" Installation * Select Manage Plugins from the Plugins menu. In the dialog box, select either the Bundled Python or the External Python(Python 3.4+ should be installed on your computer to run this plugin externally). * Click Add Plugin and select CheckInternalLinks_vXXX.zip. This will load and install the plugin into Sigil, which you can then select and run using Plugins > Validation > CheckInternalLinks. Description This epub2/epub3 validation plugin will check all internal links -- including toc links -- in the epub. It validates link file names and link destination ids(and flags any empty links) for links within xhtml files and also validates links in the toc.ncx and nav.xhtml(epub3 only). Any link errors will automatically be reported in Sigil's Validation panel. For epub 3, this plugin will happily check all links -- including links in the page-list nav and toc.ncx -- for any epub 3 files created using KevinH's Epub3-itizer plugin. In other words, this plugin doesn't check or validate links in landmark nav sections. Changes: Spoiler:
Last edited by slowsmile; 07-24-2020 at 08:14 PM. |
07-25-2020, 10:45 AM | #2 |
Grand Sorcerer
Posts: 27,962
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Added to the plugin index. Thanks for your contribution!
|
04-05-2021, 09:46 AM | #3 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
|
Does this still work? I tried installing and I get "not a valid sigil plugin."
|
04-05-2021, 10:23 AM | #4 |
Grand Sorcerer
Posts: 27,962
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No clue if it the plugin still works or not, but that error message usually means you've renamed the zip file (or a download helper did), when you shouldn't have.
|
04-05-2021, 10:53 AM | #5 |
Resident Curmudgeon
Posts: 76,031
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I would say the plugin does not work and needs to be updated to work with the current Sigil. The plugin work with 0.9.3 and Sigil has undergone major changes since then.
|
04-05-2021, 11:40 AM | #6 |
Sigil Developer
Posts: 8,109
Karma: 5450184
Join Date: Nov 2009
Device: many
|
That error message comes as DiapDealer said, either by renaming or somehow unzipping the plugin, or if its xml file restricts it to only working for python2.7, or to work only for selected platforms not yours.
This plugin may require changes to work post Sigil-1.0 but that would not cause this particular error message. |
04-05-2021, 11:51 AM | #7 | |
Grand Sorcerer
Posts: 27,962
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
It may not work for all I know, but the minimum Sigil version given and the error message being received are certainly not enough evidence to determine that. |
|
04-05-2021, 12:53 PM | #8 |
Sigil Developer
Posts: 8,109
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Took a look at it. It appears to work but only for limited set of relative links from xhtml to xhtml, ncx to xhtml, and nav to xhtml. It also may also have issues with id being reused in multiple xhtml files. But that said, for most typical epub layouts it should work just fine even post Sigil-1.0.
It supports all platforms and python3 as well. |
04-05-2021, 10:25 PM | #9 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
I've just downloaded, installed and tested this plugin on my Windows laptop using Sigil(v1.4.3) and there were no problems. As many have already said, you should install the downloaded plugin zip file as is, do not extract or rename the zip file before you install it.
Last edited by slowsmile; 04-05-2021 at 10:31 PM. |
04-09-2021, 10:49 PM | #10 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
|
I got it to run but this is the error messages I get.
Status: failed Traceback (most recent call last): File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 141, in launch target_script = __import__(script_module) File "/Users/omar/Library/Application Support/sigil-ebook/sigil/plugins/CheckInternalLinks/plugin.py", line 36, in <module> import tkinter as tk File "tkinter/__init__.py", line 36, in <module> ImportError: dlopen(/Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl Referenced from: /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so Reason: image not found Error: dlopen(/Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl Referenced from: /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so Reason: image not found |
04-09-2021, 11:05 PM | #11 | |
Sigil Developer
Posts: 8,109
Karma: 5450184
Join Date: Nov 2009
Device: many
|
That means you have not installed ActiveState's ActiveTCL package when you installed Sigil. It is required for tk based Sigil plugins to work.
See this part of every Sigil Release Announcement: Quote:
https://github.com/Sigil-Ebook/Sigil...Mac-OS-X-Notes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 08:07 PM |
[Plugin] QuickPrefsEdit - Edit plugin prefs json files. | slowsmile | Plugins | 3 | 07-25-2018 08:14 PM |
Goodread Perception Expander plugin not shown on plugin list (kobo h2o) | www | KOReader | 4 | 09-28-2017 10:34 AM |
Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 10:49 PM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |