RE: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread Steve Barnes
Eric, Good Idea & done with the os.devnull solution! Steve From: pyinstaller@googlegroups.com On Behalf Of Eric Fahlgren Sent: Wednesday, April 26, 2023 3:09 PM To: pyinstaller@googlegroups.com Subject: Re: [PyInstaller] ValueError: Unable to configure formatter 'default' Steve, That s

RE: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread Steve Barnes
to os.devnull for windowed exes rather than using None in that case. All the best, Steve Barnes From: 'Chris Barker - NOAA Federal' via PyInstaller Sent: Wednesday, April 26, 2023 3:07 PM To: pyinstaller@googlegroups.com Subject: Re: [PyInstaller] ValueError: Unable to configure formatter 'default' Hmm

Re: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread 'Chris Barker - NOAA Federal' via PyInstaller
Hmm,Seems this is a bug / missing feature in PyIntaller. Writing to stdout/err is pretty common dnd can be done down in the stack of libraries, so not always in full control of the application author. Is there a /dev/null equiv on Windows? Or a “hidden” console that can be written to (I think

Re: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread Alisha Jain
Thank you Steve for your response. The logging that it refers to is from uvicorn module and doesn't come from my code. So I tried updating all the relevant modules but nothing helped. Finally, I updated my pip module, followed by pyinstaller module update. This helped and I am able to run the

Re: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread Eric Fahlgren
Steve, That seems common and broad enough that you should consider adding a wiki page for it... https://github.com/pyinstaller/pyinstaller/wiki/Recipes Eric On Tue, Apr 25, 2023 at 10:42 PM Steve Barnes wrote: > Hi Alisha, > > > > I have seen this problem before and eventually figured out the

RE: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-25 Thread Steve Barnes
Hi Alisha, I have seen this problem before and eventually figured out the cause. You are directly or indirectly using either stdout or stderr as an out put for logger but pyinstaller and some or most exe builders produce exes which, when running in Windowed mode, set both of these to None and