Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2018, 05:35 PM   #1
dlibke
Junior Member
dlibke began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2016
Device: none
add-tts-engine fails to run

When I try to run this plugin, I get the following error msg:

Status: failed

Traceback (most recent call last):
File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 134, in launch
target_script = __import__(script_module)
File "/Users/dlibke/Library/Application Support/sigil-ebook/sigil/plugins/add-tts-engine/plugin.py", line 4, in <module>
from lxml import etree, html
ImportError: No module named lxml
Error: No module named lxml

I download version 20171105 from GitHub/Kennyl/Sigil-Ebook-Plugins/releases.
I am using Sigil 0.9.9
OSX 10.13.3 High Sierra
Python 3.6.5 for OSX 10.9 or higher

The offending line in add-tts-engine/plugin.py context follows:
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import sys
from lxml import etree, html

from PyQt5.QtWidgets

My question is 'should the leading l be a . or not exist?
dlibke is offline   Reply With Quote
Old 05-04-2018, 07:15 PM   #2
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by dlibke View Post
File "/Users/dlibke/Library/Application Support/sigil-ebook/sigil/plugins/add-tts-engine/plugin.py", line 4, in <module>
from lxml import etree, html
ImportError: No module named lxml
Error: No module named lxml
Looks like you need to install the Python lxml module. However you do that on OSX.

Sorry my Apple fu is so limited. No doubt someone will be along shortly that can be of more help.

Albert
st_albert is offline   Reply With Quote
Old 05-04-2018, 07:26 PM   #3
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Your external python interpreter is missing things needed to make Sigil work

The official Mac build comes with its own embedded Python 3 interpreter. Check to make sure you are using the embedded Python interpreter for Plugins. It is properly built and configured so things should just work.

If you are using your own build (or an external Python 3 interpreter), then you need to fully follow the build instructions for Mac.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Onyx Boox N96ML - How to add Ivona TTS and root? stardest Onyx Boox 9 11-01-2016 06:46 PM
TTS engine in Firefly from ereader-store.de? verona Onyx Boox 14 05-01-2013 10:18 AM
Calibredb add after ebook-convert fails spullar Calibre 5 03-04-2010 02:14 PM
Attempt to add 1187 ebooks in one folder fails silently earthq Calibre 1 06-12-2009 01:20 AM


All times are GMT -4. The time now is 02:36 PM.


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