RE: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Avi Gross via Python-list
I am not sure what your real problem is, Ulli, but many antivirus programs can be TEMPORARILY shut off. Not highly recommended, of course, but if you properly disable it on a newly rebooted system running little, and it still happens, then something else may be going on. If one recognizes your cod

Re: Eventfd with epoll BlockingIOError

2021-11-25 Thread Jen via Python-list
Thanks very much for your reply.  I am now getting a single event returned in Python, but it's not the right event, as I'll explain below.  I rearranged the Python code based on your comments: #!/usr/bin/python3 import sys import os import select print("Inside Python") event_fd = int(sys.arg

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 7:53 AM Mats Wichmann wrote: > > On 11/25/21 11:00, Chris Angelico wrote: > > > Can someone confirm that it's still possible to run the Python > > installer without admin rights, for a per-user installation? It always > > used to be possible, but I haven't checked. > > You

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Mats Wichmann
On 11/25/21 11:00, Chris Angelico wrote: Can someone confirm that it's still possible to run the Python installer without admin rights, for a per-user installation? It always used to be possible, but I haven't checked. You only need admin rights for some special cases. While Win7 was still s

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 9:08 AM, Ulli Horlacher wrote: > I cannot submit my executables, because the Windows Virus scannners > deletes them as soon as I compile my program! I forgot to post this link: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c30

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 9:08 AM, Ulli Horlacher wrote: > I cannot submit my executables, because the Windows Virus scannners > deletes them as soon as I compile my program! Add an exclusion rule to your machine. While this is not an option for your end users, this will certainly allow you to work on the probl

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 4:50 AM Richard Damon wrote: > > On 11/25/21 12:21 PM, Chris Angelico wrote: > > On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher > > wrote: > >> Chris Angelico wrote: > >> > >>> Unfortunately, if you're not going to go to the effort of getting your > >>> executables signed

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Richard Damon
On 11/25/21 12:21 PM, Chris Angelico wrote: On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher wrote: Chris Angelico wrote: Unfortunately, if you're not going to go to the effort of getting your executables signed I cannot sign my executables (how can I do it anyway?), because Windows deletes m

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Barry
> On 25 Nov 2021, at 16:51, Ulli Horlacher > wrote: > > Barry Scott wrote: >> >> On 25 Nov 2021, at 09:20, Ulli Horlacher wrote: >>> >>> When I compile my programs with pyinstaller, Windows classifies them as >>> virus and even deletes them! >> >> Microsoft will fix the malwa

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher wrote: > > Chris Angelico wrote: > > > Unfortunately, if you're not going to go to the effort of getting your > > executables signed > > I cannot sign my executables (how can I do it anyway?), because Windows > deletes my executable as soon as I have

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Chris Angelico wrote: > Unfortunately, if you're not going to go to the effort of getting your > executables signed I cannot sign my executables (how can I do it anyway?), because Windows deletes my executable as soon as I have compiled them! They exist only for a few seconds and then they are g

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 3:49 AM Ulli Horlacher wrote: > > Ulli Horlacher wrote: > > Dan Purgert wrote: > > > > > > When I compile my programs with pyinstaller, Windows classifies them as > > > > virus and even deletes them! > > > > [...] > > > > > > Have you tried compiling from a different mach

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Barry Scott wrote: > > > > On 25 Nov 2021, at 09:20, Ulli Horlacher > > wrote: > > > > When I compile my programs with pyinstaller, Windows classifies them as > > virus and even deletes them! > > Microsoft will fix the malware detection if you provide the info they need. > > Submit false po

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Ulli Horlacher wrote: > Dan Purgert wrote: > > > > When I compile my programs with pyinstaller, Windows classifies them as > > > virus and even deletes them! > > > [...] > > > > Have you tried compiling from a different machine? Maybe there's > > something broken on the one that's flagging them

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 2:20 AM, Ulli Horlacher wrote: > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! > > pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py > 187 INFO: PyInstaller: 4.7 > 187 INFO: Python: 3.10.0 > 218 INFO: Platform: Windows-

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Barry Scott
> On 25 Nov 2021, at 09:20, Ulli Horlacher > wrote: > > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! Microsoft will fix the malware detection if you provide the info they need. Submit false positive info to: https://www.microsoft.co

Re: Eventfd with epoll BlockingIOError

2021-11-25 Thread Barry Scott
> On 24 Nov 2021, at 22:42, Jen via Python-list wrote: > > I have a C program that uses fork-execv to run Python 3.10 in a child > process, and I am using eventfd with epoll for IPC between them. The eventfd > file descriptor is created in C and passed to Python through execv. Once the > P

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ulli Horlacher wrote: > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! > [...] > What can I do? Stop writing viruses ;) Have you tried compiling from a different machine? Maybe there's somethi

pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
When I compile my programs with pyinstaller, Windows classifies them as virus and even deletes them! pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py 187 INFO: PyInstaller: 4.7 187 INFO: Python: 3.10.0 218 INFO: Platform: Windows-10-10.0.19041-SP0 218 INFO: wrote P:\W10\fextasy.spec (..

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Dan Purgert wrote: > > When I compile my programs with pyinstaller, Windows classifies them as > > virus and even deletes them! > > [...] > > Have you tried compiling from a different machine? Maybe there's > something broken on the one that's flagging them. I have only this Windows installati

Re: Eventfd with epoll BlockingIOError

2021-11-25 Thread Barry
> On 24 Nov 2021, at 23:09, Jen via Python-list wrote: > > I have a C program that uses fork-execv to run Python 3.10 in a child > process, and I am using eventfd with epoll for IPC between them. The eventfd > file descriptor is created in C and passed to Python through execv. Once the >