Hi
I am used to export with PrincePDF and, up to now, this has worked very reliably with both the Calibre and Sigil related plugins. Lately I tried to export with two different display sizes. It worked once but later failed with this consistent error message that I am getting now everytime I try to export.
Code:
.../...
prince: Finished: failure
No pdf file written to: /home/roger/Desktop/Feux_de_paille.pdf
/usr/share/sigil/plugin_launchers/python/sigil_bs4/__init__.py:187: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
To get rid of this warning, change this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "lxml")
markup_type=markup_type))
This is what I checked up to now:
- I tried this export using two different versions of Sigil, one from Arch Linux, the other from sigil-git - Arch too - (so Sigil does not seem to be the culprit).
- Python3.5 is installed on my machine with all needed dependencies. I checked with the testplugin which finds no problem.
-I uninstalled totally the PrincePDF plugin (including prefs) and reinstalled it with the default settings (with only one display size)
-I used EPUB2 and EPUB3 ebooks.
After all these tries, everything failed with the same warning (see above):
B]About dependencies[/B]
Code:
[roger@anterg ~]$ sudo pip3 install lxml bs4
[sudo] Mot de passe de roger*:*
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python3.5/site-packages
Requirement already satisfied (use --upgrade to upgrade): bs4 in /usr/lib/python3.5/site-packages
Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in /usr/lib/python3.5/site-packages (from bs4)
[roger@anterg ~]$