Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Git.AutoInterrupt.__del__() OSError: [WinError 6] The handle is invalid #935

Closed
@benthayer

Description

@benthayer

I'm getting this error on the multiple windows machines I've tested this on. I'm working on an open source project, so it should be relatively easy to reproduce although I'm not sure on how easy it'd be to fix.

I'm using Python 3.7.4

Link to my repo:https://github.com/bthayer2365/git-gud

Here is the full error:

Setting up challenge: "intro commits"Setup completeType "git gud instructions" to view instructionsExecuted successfullyException ignored in: <function Git.AutoInterrupt.__del__ at 0x0000015DE3031798>Traceback (most recent call last):  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\site-packages\git\cmd.py", line 365, in __del__    if proc.poll() is not None:  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 966, in poll    return self._internal_poll()  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 1216, in _internal_poll    if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:OSError: [WinError 6] The handle is invalidException ignored in: <function Git.AutoInterrupt.__del__ at 0x0000015DE3031798>Traceback (most recent call last):  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\site-packages\git\cmd.py", line 365, in __del__    if proc.poll() is not None:  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 966, in poll    return self._internal_poll()  File "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 1216, in _internal_poll    if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:OSError: [WinError 6] The handle is invalid

How to reproduce:

git clone git@github.com:bthayer2365/git-gud.git  # or fork it!cd git-gudgit checkout 4fe87dcdc56fe7cee8924663bef694b8e6c8ecc2pip install -e .cd ..mkdir testcd testpython -m gitgud start # Error occurs heregit gud load intro # Error occurs here

python -m gitgud start calls the same function thatgit gud load intro does.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp