Skip to content

[BUG]ValueError: I/O operation on closed pipe #1254

Closed
@wanghaisheng

Description

@wanghaisheng

Context:

  • Playwright Version: [1.20.1]
  • Operating System: [both Windows, Linux tried]
  • Python version: [3.8.5,3.7]
  • Browser: [firefox]
  • Extra: [any specific details about your environment]

Code Snippet
to reproduce
https://github.com/wanghaisheng/scraper-on-github-action/blob/main/upwork.py

Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally.

Describe the bug

Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x00000272824F4670>
Traceback (most recent call last):
  File "D:\Program Files\anaconda3\lib\asyncio\base_subprocess.py", line 125, in __del__  
    _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
  File "D:\Program Files\anaconda3\lib\asyncio\base_subprocess.py", line 70, in __repr__  
    info.append(f'stdin={stdin.pipe}')
  File "D:\Program Files\anaconda3\lib\asyncio\proactor_events.py", line 79, in __repr__  
    info.append(f'fd={self._sock.fileno()}')
  File "D:\Program Files\anaconda3\lib\asyncio\windows_utils.py", line 102, in fileno     
    raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000272824FBD30> 
Traceback (most recent call last):
  File "D:\Program Files\anaconda3\lib\asyncio\proactor_events.py", line 115, in __del__  
    _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
  File "D:\Program Files\anaconda3\lib\asyncio\proactor_events.py", line 79, in __repr__  
    info.append(f'fd={self._sock.fileno()}')
  File "D:\Program Files\anaconda3\lib\asyncio\windows_utils.py", line 102, in fileno     
    raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000272824FBD30> 
Traceback (most recent call last):
  File "D:\Program Files\anaconda3\lib\asyncio\proactor_events.py", line 115, in __del__  
    _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
  File "D:\Program Files\anaconda3\lib\asyncio\proactor_events.py", line 79, in __repr__  
    info.append(f'fd={self._sock.fileno()}')
  File "D:\Program Files\anaconda3\lib\asyncio\windows_utils.py", line 102, in fileno     
    raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions