Black boxes
Good day. After installing the Python program from your site and restarting the computer as requested by the program, problems occurred. Programs like Word are all in black. In addition, a black color appears in the file explorer which sometimes completely covers everything (the black color). This problem also appears everywhere in the "boxes where text is entered" throughout the computer. I tried uninstalling and reinstalling the program but the problem remained. I also tried to repair the program via the button in the program. I didn't get to the modifications part of the program because when I clicked on black color appeared. Python version: Python 3.11.3 (64-bit) Setup The computer I use: ASUS Vivobook Operating System: Windows 11 Home Edition Version 22H2 Operating system build 22621.1555 Thank you in advance for your reply Ondřej -- https://mail.python.org/mailman/listinfo/python-list
Re: Black boxes
Hi, On Wed, May 10, 2023 at 10:33 AM Ondřej Jůn wrote: > > Good day. > > After installing the Python program from your site and restarting the > computer as requested by the program, problems occurred. Programs like Word > are all in black. In addition, a black color appears in the file explorer > which sometimes completely covers everything (the black color). This > problem also appears everywhere in the "boxes where text is entered" > throughout the computer. I tried uninstalling and reinstalling the program > but the problem remained. I also tried to repair the program via the button > in the program. I didn't get to the modifications part of the program > because when I clicked on black color appeared. Was there any updates installed at the time of python installation? Thank you. > > Python version: Python 3.11.3 (64-bit) Setup > > The computer I use: ASUS Vivobook > > Operating System: Windows 11 Home Edition > > Version 22H2 > > Operating system build 22621.1555 > > Thank you in advance for your reply > > Ondřej > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: Black boxes
On 5/10/23 08:19, Ondřej Jůn wrote: Good day. After installing the Python program from your site and restarting the computer as requested by the program, problems occurred. That's rather suspicious, because the python installer doesn't do that. That's only needed if you replace files in use by the running system, and a fresh install of Python wouldn't be "replacing" anything, now would it? What exactly did you install? -- https://mail.python.org/mailman/listinfo/python-list
Re: Do subprocess.PIPE and subprocess.STDOUT sametime
Horst Koiner wrote at 2023-5-9 11:13 -0700: > ... >For production i run the program with stdout=subprocess.PIPE and i can fetch >than the output later. For just testing if the program works, i run with >stdout=subprocess.STDOUT and I see all program output on the console, but my >program afterwards crashes since there is nothing captured in the python >variable. So I think I need to have the functionality of subprocess.PIPE and >subprcess.STDOUT sametime. You might want to implement the functionality of the *nix programm `tee` in Python. `tee` reads from one file and writes the data to several files, i.e. it multiplexes one input file to several output files. Pyhton's `tee` would likely be implemented by a separate thread. For your case, the input file could be the subprocess's pipe and the output files `sys.stdout` and a pipe created by your own used by your application in place of the subprocess's pipe. -- https://mail.python.org/mailman/listinfo/python-list
Re: Do subprocess.PIPE and subprocess.STDOUT sametime
On 5/10/23 12:51, Dieter Maurer wrote: Horst Koiner wrote at 2023-5-9 11:13 -0700: ... For production i run the program with stdout=subprocess.PIPE and i can fetch than the output later. For just testing if the program works, i run with stdout=subprocess.STDOUT and I see all program output on the console, but my program afterwards crashes since there is nothing captured in the python variable. So I think I need to have the functionality of subprocess.PIPE and subprcess.STDOUT sametime. You might want to implement the functionality of the *nix programm `tee` in Python. `tee` reads from one file and writes the data to several files, i.e. it multiplexes one input file to several output files. Pyhton's `tee` would likely be implemented by a separate thread. For your case, the input file could be the subprocess's pipe and the output files `sys.stdout` and a pipe created by your own used by your application in place of the subprocess's pipe. should you choose to go this route, there are multiple efforts floating around on the internet, worth a look. Don't know which are good and which aren't. Went looking once to see if there was something to replace a homegrown function that wasn't reliable - ended up solving that particular problem a different way so didn't use any of the tees. -- https://mail.python.org/mailman/listinfo/python-list
