Closed monochromec closed 4 years ago
Hello!
It seems to be PyInstaller bug. I'm not quite sure how it works but I suppose that during compilation it tries to use qt.conf
file from incorrect directory. As a workaround I recommend to temporary rename /usr/lib/x86_64-linux-gnu/qt5/qt.conf
file, compile toxygen and rename it back. Note that you should have all deps listed in install.md installed in your system in order to run created executable.
I was able to compile and run Toxygen with this hack:
Trying to build the package based on compiling.md in the docs directory results in
"Security-Alert: try to store file outside of dist-directory. Aborting. '/usr/lib/x86_64-linux-gnu/qt5/qt.conf'"
This is a stock installation of eoan with pyinstall installed locally with pip3.
I tracked this down to an issue in the generated build/main/Analysis-00.toc file which causes /usr/local/lib/python3.7/dist-packages/PyInstaller/building/api.py to issue this warning but this is where my pyinstall knowledge falls short.
More than happy to provide more information - just let me know.