11-11-2015, 12:03 PM | #121 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Dec 2011
Device: PRS-T1
|
I uninstalled python and Sigil and deleted every folder left over related to them. I did a fresh install of Sigil 0.8.7 and python 3.43 and get the same result. Where else could beautiful soup be hiding?
I then tried to follow the instructions in Appendix 1. After part A, I got a message that "Requirement already satisfied" and when I tried part B, it says pip is not recognized as an internal or external command. I no nothing about python and I assume I must have messed something up, but can't find anything else to uninstall or delete to start over. This is very frustrating, since this plugin seems like it would be extremely useful. |
11-11-2015, 12:12 PM | #122 |
Grand Sorcerer
Posts: 12,303
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
One thing I feel as I read about this plugin; the name is misleading. It's not really for tidying ePub files; rather, it's for tidying OCR created PDF files.
|
Advert | |
|
11-11-2015, 02:25 PM | #123 |
Addict
Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
@Fedwin:
[QUOTE=Fedwin;3204078]when I tried part B, it says pip is not recognized as an internal or external command.[QUOTE] I am not sure why you are getting an error message when you run pip as you got the message "Requirement already satisfied". Has anybody else had problems using this plugin on Windows 64 bit computers? I will be updating the plugin soon so that it works with Sigil 0.9 without requiring the use of external files - hopefully this will resolve the problem. Last edited by CalibUser; 11-11-2015 at 02:27 PM. |
11-11-2015, 02:27 PM | #124 |
Addict
Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
Hmm...it doesn't really tidy PDF files. The plugin tidies ePub files that have been derived from OCR created PDF files.
|
11-11-2015, 02:46 PM | #125 | ||
Grand Sorcerer
Posts: 27,634
Karma: 194783560
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Many times a user must specifically tell the python installer to add python to the system path -- as it's not configured to do so by default (especially if the installer detects previous Python installation remnants). |
||
Advert | |
|
11-11-2015, 04:37 PM | #126 |
Grand Sorcerer
Posts: 12,303
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
|
11-11-2015, 06:03 PM | #127 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Dec 2011
Device: PRS-T1
|
Problem solved! Thanks.
When I reinstalled python 3.4.3 again, I ticked the red x to put 3.4 on the path. I had previously not done that, since I had assumed it best not to mess with the default install. Then I was able to install Wheel and Beautiful Soup and now the plugin works. I used to have python 2.7 on my computer, but uninstalled it when Sigil began using 3.4. |
11-14-2015, 02:38 PM | #128 |
Addict
Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
I have updated the ePubTidyTool plugin so that it takes advantage of the features in Sigil v0.9.0. The new version appears in the first post in this thread as ePubTidyTool_v0.2.0.0.zip with instructions in the ePub document named ePub tidy tool v0.2.0.0.epub.
The updated version:
However, I have disabled the ability for CSS files to be installed by this plugin to avoid corruption to ePub books when using Sigil version 0.9.0; this feature will be reinstated when the next version of Sigil is released. I have left the previous version of the plugin in the first post with its instruction manual for anybody who is continuing to use Sigil version 8.7. |
11-16-2015, 02:16 AM | #129 |
Connoisseur
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Hi CalibUser,
the Use in-build directory is showing the Dictionary dropdown from the Spellcheck Dictionaries? If yes is not showing the el_GR hunspell that i have there Or to be more precise, it shows only the default languages of the sigil even if there are not the files there. |
11-16-2015, 03:24 AM | #130 |
Connoisseur
Posts: 57
Karma: 10
Join Date: Dec 2011
Device: Samsung Tablet
|
Hi CalibUser,
I wonder if there is a bug with the way the script counts the number of Hyphens removed? I've run the script on a few files and looked at the results window. It almost always reports a large number of Hyphens have been removed. As a test I took an existing file and removed all but one chapter. I then counted the hyphens with search (29), I then ran the script, it reported 23 had been removed. I then counted the hyphens again and found there were 25. |
11-16-2015, 02:39 PM | #131 |
Addict
Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
ePub tidy tool version 0.2.0.0.1 available
The plugin has been updated again and includes two new features:
I have not tested the facility for the Greek dictionary as I cannot read/write Greek texts. The updated plugin appears in the first post in this thread together with an updated instruction manual. Thanks for the bug report; gipsy reported this a while ago and I have not got round to fixing it yet - I have been concentrating on improving features available as this is a minor bug. I will fix this bug in due course! |
11-16-2015, 05:24 PM | #132 |
Connoisseur
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
@CalibUser
At first thanks for your work! I can confirm that it works fine with the Greek Hunspell but... In the next release fix the * in Greek. Code:
cbDictChoices=("English (UK)", "English (USA)", "French", "German", "Greek*", "Spanish") Code:
elif prefs['HunspellLanguage']=="Greek": |
11-18-2015, 05:28 AM | #133 |
Connoisseur
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
If i change the
Code:
#Fixes ώ in words that are misspelled CorrectText("ώ fixes",r"(\w+)(ιίι|\(ό|ο\)|ίό|ο>|ο'ι|ιό|οί|ιο|οι|<ο|οϊ)(\w+)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO) Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w+|\ )(ιίι|\(ό|ο\)|ίό|ο>|ο'ι|ιό|οί|ιο|οι|<ο|οϊ)(\w+)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
For example it works for ιίιστε (the correct word is ώστε) and not for αντιπαρατεθιίι (the correct word is αντιπαρατεθώ) Any suggestion?? Thanks Last edited by gipsy; 11-18-2015 at 08:28 AM. |
11-18-2015, 11:52 AM | #134 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2015
Device: Nook STR
|
Is it possible to avoid this?
Code:
<p><a href="https://www.mobileread.com/forums/">https://www.mobileread.com/forums/</a><br/></p> changes to <p><a href="https://www.mobileread.com/forums/">http:’/www.mobileread.com’forums’</a><br/></p> Quote:
|
|
11-18-2015, 02:43 PM | #135 | |||
Addict
Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
ePubTidyTool_v2.0.0.2 uploaded
Bugs fixed
Quote:
Quote:
New issues Quote:
|
|||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tidying Up My Kindle | selectortone | Calibre | 2 | 07-17-2013 10:35 AM |
developping a Plugin for Presentation files | abdlink | Plugins | 4 | 04-15-2013 11:27 AM |
Plugin to fix fb2 files | oviksna | Plugins | 3 | 01-28-2013 08:53 AM |
Tidying Up My Library | JayLaFunk | Library Management | 2 | 09-20-2011 09:12 AM |
Calibre 0.7.50 can't see plugin files | mb_webguy | Calibre | 5 | 04-29-2011 03:41 AM |