Quote:
Originally Posted by DiapDealer
And here I was hoping you'd be the first to try my Sigil Python AppImage. Which would mean you wouldn't need to edit any scripts (or install PyPi modules to your user directory) 
|
Well, it took a bit of time because domestic issues intervened.
I downloaded
sigil-qt6-python3.11_x86_64.AppImage, set it to 'executable' and then used Sigil's plugin manager to set the path to the python interpreter to that file.
The wrapper script in /usr/local/bin/sigil remained in its original state with :
Code:
QTLIB_DIR="/usr/lib/x86_64-linux-gnu"
which previously prevented the testplugin from finding PySide6 etc.
With the new path to your AppImage set in the plugin manager, I ran the testplugin to a successful completion with a freshly started Sigil basic template page -
"Success - All Tests of Plugin Operations Passed"
Code:
Verifying proper Python packages are available
Checking GUI modules
Python Package: PySide6 (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/PySide6/QtWidgets.abi3.so) Found
Python Package: PySide6 QtWebEngineWidgets (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/PySide6/QtWebEngineWidgets.abi3.so) Found
Python Package: tkinter (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/tkinter/__init__.py) Found
Python Package: PIL (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/PIL/__init__.py) Found
Python Package: cssselect (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/cssselect/__init__.py) Found
Python Package: css-parser (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/css_parser/__init__.py) Found
Python Package: html5lib (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/html5lib/__init__.py) Found
Python Package: lxml (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/lxml/__init__.py) Found
Python Package: regex (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/regex/__init__.py) Found
Python Package: chardet (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/chardet/__init__.py) Found
Python Package: six (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/six.py) Found
Python Package: dulwich (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/dulwich/__init__.py) Found
Python Package: urllib3 (/tmp/.mount_sigil-axh8N2/opt/python3.11/lib/python3.11/site-packages/urllib3/__init__.py) Found
Conclusion, no need to edit the /usr/local/bin/sigil file. Sigil 2.0.2 now runs ok with Qt6