Good day,
when i run 

> pyinstaller __init__.py 
>

the build process fails with the Message:

 Security-Alert: try to store file outside of dist-directory. Aborting. 
> '/usr/lib/virtualbox/qt.conf'
>

using 

pyinstaller __init__.py --debug=imports --debug=all
>

does not appear to change the output in any way. I am also not sure which 
information exactly to include here to make the issue more clear.

  pyinstaller --version 
>

returns 3.6 and my python version is  Python 3.7.6 (default, Jan 30 2020, 
09:44:41)

I tried to google "Security-Alert: try to store file outside of 
dist-directory" but can only find older, fixed and already merged issues or 
ones that are appearing on different OS's or unrelated. When i use the same 
process on windows, the build ends successfully, which is why i assume that 
my setup is correct. I also attached the complete console output as a text 
file. I am thankful for every hint on how to solve this or on what outputs 
you need in order to help me with my issue.

Thanks in advance! 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/9680fde7-7044-4d09-928f-1b4b3f15e43b%40googlegroups.com.
[mr87@localhost IBDFilter]$ pyinstaller __init__.py --debug=imports --debug=all
20 INFO: PyInstaller: 3.6
20 INFO: Python: 3.7.6
20 INFO: Platform: Linux-5.4.15-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One
20 INFO: wrote /home/mr87/Documents/IBDFilter/IBDFilter/__init__.spec
22 INFO: UPX is not available.
22 INFO: Extending PYTHONPATH with paths
['/home/mr87/Documents/IBDFilter', '/home/mr87/Documents/IBDFilter/IBDFilter']
22 INFO: checking Analysis
51 INFO: checking PYZ
62 INFO: checking PKG
63 INFO: Bootloader 
/home/mr87/.local/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run_d
63 INFO: checking EXE
63 INFO: Building because debug changed
63 INFO: Building EXE from EXE-00.toc
64 INFO: Appending archive to ELF section in EXE 
/home/mr87/Documents/IBDFilter/IBDFilter/build/__init__/__init__
125 INFO: Building EXE from EXE-00.toc completed successfully.
127 INFO: checking COLLECT
127 INFO: Building COLLECT because COLLECT-00.toc is non existent
WARNING: The output directory 
"/home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__" and ALL ITS CONTENTS 
will be REMOVED! Continue? (y/N)y
On your own risk, you can use the option `--noconfirm` to get rid of this 
question.
10751 INFO: Removing dir /home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__
10818 INFO: Building COLLECT COLLECT-00.toc
Security-Alert: try to store file outside of dist-directory. Aborting. 
'/usr/lib/virtualbox/qt.conf'
[mr87@localhost IBDFilter]$ pyinstaller __init__.py --debug=imports --debug=all 
--noconsole
20 INFO: PyInstaller: 3.6
20 INFO: Python: 3.7.6
20 INFO: Platform: Linux-5.4.15-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One
20 INFO: wrote /home/mr87/Documents/IBDFilter/IBDFilter/__init__.spec
22 INFO: UPX is not available.
22 INFO: Extending PYTHONPATH with paths
['/home/mr87/Documents/IBDFilter', '/home/mr87/Documents/IBDFilter/IBDFilter']
22 INFO: checking Analysis
44 INFO: checking PYZ
51 INFO: checking PKG
51 INFO: Bootloader 
/home/mr87/.local/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run_d
51 INFO: checking EXE
51 INFO: Building because console changed
51 INFO: Building EXE from EXE-00.toc
52 INFO: Appending archive to ELF section in EXE 
/home/mr87/Documents/IBDFilter/IBDFilter/build/__init__/__init__
65 INFO: Building EXE from EXE-00.toc completed successfully.
67 INFO: checking COLLECT
67 INFO: Building COLLECT because COLLECT-00.toc is non existent
WARNING: The output directory 
"/home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__" and ALL ITS CONTENTS 
will be REMOVED! Continue? (y/N)y 
On your own risk, you can use the option `--noconfirm` to get rid of this 
question.
3672 INFO: Removing dir /home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__
3740 INFO: Building COLLECT COLLECT-00.toc
Security-Alert: try to store file outside of dist-directory. Aborting. 
'/usr/lib/virtualbox/qt.conf'
[mr87@localhost IBDFilter]$ pyinstaller --version
3.6
[mr87@localhost IBDFilter]$ python
Python 3.7.6 (default, Jan 30 2020, 09:44:41) 
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
[1]+  Stopped                 python
[mr87@localhost IBDFilter]$ pyinstaller __init__.py --debug=imports --debug=all
20 INFO: PyInstaller: 3.6
20 INFO: Python: 3.7.6
20 INFO: Platform: Linux-5.4.15-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One
21 INFO: wrote /home/mr87/Documents/IBDFilter/IBDFilter/__init__.spec
22 INFO: UPX is not available.
23 INFO: Extending PYTHONPATH with paths
['/home/mr87/Documents/IBDFilter', '/home/mr87/Documents/IBDFilter/IBDFilter']
23 INFO: checking Analysis
44 INFO: checking PYZ
51 INFO: checking PKG
52 INFO: Bootloader 
/home/mr87/.local/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run_d
52 INFO: checking EXE
52 INFO: Building because console changed
52 INFO: Building EXE from EXE-00.toc
53 INFO: Appending archive to ELF section in EXE 
/home/mr87/Documents/IBDFilter/IBDFilter/build/__init__/__init__
100 INFO: Building EXE from EXE-00.toc completed successfully.
102 INFO: checking COLLECT
102 INFO: Building COLLECT because COLLECT-00.toc is non existent
WARNING: The output directory 
"/home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__" and ALL ITS CONTENTS 
will be REMOVED! Continue? (y/N)y
On your own risk, you can use the option `--noconfirm` to get rid of this 
question.
3470 INFO: Removing dir /home/mr87/Documents/IBDFilter/IBDFilter/dist/__init__
3537 INFO: Building COLLECT COLLECT-00.toc
Security-Alert: try to store file outside of dist-directory. Aborting. 
'/usr/lib/virtualbox/qt.conf'

Reply via email to