You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my simple console echoing script. (python3.12)
If I run this using pycharm's run configuration this works normally echoing the console input back to stdout. However any other running configuration fails. e.g) vscode, python3 my.py ... etc
However, if I use Path('CONIN$').open instead of os.dup any case fails with the same exception.
(.venv) C:\Users\pbk\PycharmProjects\pythonProject>.\.venv\Scripts\python.exe foo.py
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "winloop\\loop.pyx", line 1556, in winloop.loop.Loop.run_until_complete
File "C:\Users\pbk\PycharmProjects\pythonProject\foo.py", line 21, in main
transport, protocol = await loop.connect_read_pipe(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "winloop\\loop.pyx", line 2889, in connect_read_pipe
File "winloop\\loop.pyx", line 2882, in winloop.loop.Loop.connect_read_pipe
File "winloop\\handles/pipe.pyx", line 133, in winloop.loop.ReadUnixTransport._open
File "winloop\\handles/pipe.pyx", line 35, in winloop.loop.__pipe_open
IsADirectoryError: [Errno 21] illegal operation on a directory
IsADirectoryError is not a correct error for this situation
The text was updated successfully, but these errors were encountered:
I have my simple console echoing script. (python3.12)
If I run this using pycharm's run configuration this works normally echoing the console input back to stdout. However any other running configuration fails. e.g)
vscode
,python3 my.py
... etcHowever, if I use
Path('CONIN$').open
instead ofos.dup
any case fails with the same exception.IsADirectoryError
is not a correct error for this situationThe text was updated successfully, but these errors were encountered: