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 seems

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

2023-04-26 Thread Steve Barnes
Hi Chris, The python standard library os.devnull gives an operating system independent equivalent to /dev/null (IIRC it actually maps to /dev/null on *nix systems) – including MS Windows. I have suggested in the past that python exe generators could/should set both stdout and stderr to

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