View Single Post
Old 07-19-2018, 01:08 PM   #1
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Problems after updating to Linux Mint 19

(I really wanted to test more, but will post what I know this far in case someone else already have solved it.)

Sigil 0.9.9 on Linux Mint 18.3. All was well.
Upgraded to 19/Tara.

Now when trying to start Sigil, a windows pops up.

The window says: Embedded Python Error

Show Details gives:
Traceback (most recent call last):

File "/usr/local/share/sigil/python3lib/xmlprocessor.py", line 6, in <module>
from sigil_bs4.builder._lxml import LXMLTreeBuilderForXML

File "/usr/local/share/sigil/plugin_launchers/python/sigil_bs4/builder/_lxml.py", line 26, in <module>
from lxml import etree


Clicking close gives a new window saying:
ImportError: cannot import name 'etree'

Show Details gives:
error in xmlprocessor repairXML: -2

Traceback (most recent call last):

File "/usr/local/share/sigil/python3lib/xmlprocessor.py", line 6, in <module>
from sigil_bs4.builder._lxml import LXMLTreeBuilderForXML

File "/usr/local/share/sigil/plugin_launchers/python/sigil_bs4/builder/_lxml.py", line 26, in <module>
from lxml import etree

ImportError: cannot import name 'etree'


Clicking close shows window 1 again and it repeats itself (win1 -> win2 -> win1 -> win2 -> win1 etc.). Have to kill it manually in CLI.

--

As python3 looked ok as far as I could tell (which is not much...) I thought I would try to compile Sigil again.

The step configure Sigil before build stopped. Got resolved by installing "qttools5-dev" (qttools5-dev-tools was already installed).

Now trying to run make:
/usr/bin/x86_64-linux-gnu-ld: cannot find -lzlib
collect2: error: ld returned 1 exit status

zlib1g-dev is installed.

I googled some and tried to install pretty much anything I could find around "zlib".

And that's where I am right now.
patrik is offline   Reply With Quote