--noconsole means no debugging output so with that option you will likely 
never know what the problem is because it can’t tell you. Either turn 
--noconsole off and see what Python error message it comes out with in the 
console it opens or wrap your Python code in a try: [your code] except 
BaseException as ex: [write exception to some log file].
​
On Friday, July 2, 2021 at 11:11:28 AM UTC+1 dajan...@gmail.com wrote:

> Hey everyone,
>
> I'm using pyinstaller version 3.6 to create an exe from a python 2.7 
> script. I have a scheduled task that runs this exe every 10 minutes 
> indefinitely. It executes just fine 95% of the time, but i'll randomly get 
> an error message box popping up saying "Fatal Error: Failed to Execute 
> Script (name_of_my_exe). 
>
> I've pretty much given up trying to figure out why it's failing. All I 
> want to do now is just hide that pop up box from showing up. Does anyone 
> know how to do this? 
>
> The command I'm using to create it is:
> pyinstaller --onefile name.py --noconsole
>
> Pretty desperate right now, any help is greatly appreciated.
>

-- 
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 pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/982dc88b-7267-4415-b1ea-6e720cec1d1bn%40googlegroups.com.

Reply via email to