Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2015, 11:24 PM   #1
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Problem with Plugins

Hi

For no apparent reason my Sigil Plug ins have stopped working. They stop with error message "Ërror Parsing Result XML: Premature end of document"

Spoiler:
Traceback (most recent call last):

File "C:\Prog1\Sigil\plugin_launchers\python\launcher.p y", line 301, in <module>

sys.exit(main())

File "C:\Prog1\Sigil\plugin_launchers\python\launcher.p y", line 258, in main
bc = BookContainer(rk)
File "C:\Prog1\Sigil\plugin_launchers\python\bookcontai ner.py", line 45, in __init__
self.hspell=HunspellChecker(wrapper.get_hunspell_p ath())

File "C:\Prog1\Sigil\plugin_launchers\python\pluginhuns pell.py", line 38, in __init__

self.hunspell = cdll.LoadLibrary(find_library('hunspell'))
File "C:\Python34\lib\ctypes\util.py", line 52, in find_library
for directory in os.environ['PATH'].split(os.pathsep):
File "C:\Python34\lib\os.py", line 633, in __getitem__
raise KeyError(key) from None
KeyError: 'PATH'



I have checked that the paths to Python 2.7 and 3.4 are correct in the manager.

Could anyone tell me what I need to do to fix the problem.

I am running Windows 10 and Sigil version 0.9.0
Thasaidon is offline   Reply With Quote
Old 11-17-2015, 11:49 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,485
Karma: 5703586
Join Date: Nov 2009
Device: many
Hi,
That error comes from the plugin launcher code being unable to find the hunspell.dll where it is looking for it, which should never happen on Windows. Or alternatively it can find the library but its bitness 32 vs 64 does not match that of Sigil.

Did you disable the Use Bundled Python on Windows? If so, if you re-enable it, plugins should work again. For external python to work with Sigil, the bitness of any external python and the Sigil app must match.

So if you have a 64 bit version of Sigil, you must use a 64 bit version of external python. If you have a 32 bit version of Sigil you must use a 32 bit version of external python or its bundled version. The Bundled Python interpreter automatically meets this criteria.

If you have multiple copies of Sigil, you may want to backup and then remove the Sigil.ini file to prevent the bundled path from an old or alternative install being used incorrectly with a newer install.

Hope something here helps.

KevinH
KevinH is offline   Reply With Quote
Advert
Old 11-18-2015, 03:21 AM   #3
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Thank you.

I will follow up the leads you have given me.
Thasaidon is offline   Reply With Quote
Old 11-18-2015, 03:32 AM   #4
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Quote:
Originally Posted by KevinH View Post
Hi,

Did you disable the Use Bundled Python on Windows? If so, if you re-enable it, plugins should work again. For external python to work with Sigil, the bitness of any external python and the Sigil app must match.

KevinH
Cured

I checked and found the "Use Bundled Python" box was not ticked. I do not remember unticking it so I am not sure how it got that way.

Anyway
Thasaidon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What PlugIns Might I want/need? ShelaghDB Calibre 4 11-07-2015 07:16 PM
How do I instantiate new plugins? hakan42 Development 3 01-20-2012 01:53 PM
Plugins junkml Plugins 32 06-19-2009 06:43 AM
Plugins? Mitchll Plugins 0 12-27-2008 02:36 PM


All times are GMT -4. The time now is 02:44 AM.


MobileRead.com is a privately owned, operated and funded community.