Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
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: 682
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
Old 07-19-2018, 03:54 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,453
Karma: 5703586
Join Date: Nov 2009
Device: many
Your Linux Mint installation is missing many python packages (etree, etc) and libraries such as zlib or its headers.

Please review the building on Linux to makesure you install all of the required packages.
KevinH is offline   Reply With Quote
Advert
Old 07-19-2018, 04:11 PM   #3
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: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Well... I have gone through Building_On_Linux several times making sure I have everything installed so if there is more required I'm not sure how to know what that is. (And the 18.3-system worked for building several Sigil-versions.)

Could there be some paths that need to be set? (Or something that the upgrade could have changed?)

I have searched for others asking about pythonproblems after the upgrade, but so far not finding anything.

I'm probably doing something stupid as usual...

Last edited by patrik; 07-19-2018 at 04:59 PM.
patrik is offline   Reply With Quote
Old 07-19-2018, 05:11 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's why I gave up on Mint. The in-place upgrade path between major versions was always awkward and plagued with random breakage.

Sigil 0.9.9 is in the Bionic repos. There's no real need to build Sigil from scratch if you don't want to. Just "sudo apt-get install" it. Just make sure to install all those recommended python3-* packages listed if you want to have a fully-functional Sigil plugin framework.

Last edited by DiapDealer; 07-19-2018 at 05:14 PM.
DiapDealer is offline   Reply With Quote
Old 07-19-2018, 05:23 PM   #5
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: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Ok, thanks. Installed from there and all seems to work fine.
patrik is offline   Reply With Quote
Advert
Old 07-19-2018, 07:04 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Glad to hear it. Unless you're doing Sigil development (or you have no other choice), it's almost always better to stick with package-manager installed versions*. They're typically much more upgrade-proof.

* calibre being the exception, of course. You should always use Kovid's binary installer for that rather than the repo version.

Last edited by DiapDealer; 07-20-2018 at 11:42 AM.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre and Linux Mint 18.0 enuddleyarbl Calibre 9 07-23-2016 08:17 PM
Calibre on Linux Mint kjetil1001 Calibre 1 01-09-2015 03:46 PM
No NOOK HD in Mint Linux lifeannotated Devices 1 02-09-2014 08:52 PM
Problems updating in Linux with slow connection txgecko Devices 4 05-04-2012 04:01 PM
Calibre in Linux mint Cy1clown Calibre 6 05-18-2011 02:16 PM


All times are GMT -4. The time now is 08:45 PM.


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