Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command stderr error #6021

Closed
djdv opened this issue Feb 25, 2019 · 0 comments · Fixed by ipfs/go-ipfs-cmds#146 or #6023
Closed

command stderr error #6021

djdv opened this issue Feb 25, 2019 · 0 comments · Fixed by ipfs/go-ipfs-cmds#146 or #6023
Assignees
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@djdv
Copy link
Contributor

djdv commented Feb 25, 2019

Version information:

go-ipfs version: 0.4.19-rc1-
Repo version: 7
System version: amd64/windows
Golang version: go1.11.5

Type:

bug

Description:

Some commands like ipfs key list, ipfs object get $HASH, and maybe others, will succeed but report an error about not being able to sync with stderr.

>ipfs key list
self
Error: sync /dev/stderr: The handle is invalid.

Not sure if this is an issue with cmds, go-log, or somewhere else.

@djdv djdv changed the title comman stderr error command stderr error Feb 25, 2019
Stebalien added a commit to ipfs/go-ipfs-cmds that referenced this issue Feb 25, 2019
Apparently, windows returns "invalid file handle" and golang doesn't translate
this to EINVAL.

fixes ipfs/kubo#6021
@ghost ghost assigned Stebalien Feb 25, 2019
@ghost ghost added the status/in-progress In progress label Feb 25, 2019
@Stebalien Stebalien added kind/bug A bug in existing code (including security flaws) status/deferred Conscious decision to pause or backlog and removed status/deferred Conscious decision to pause or backlog labels Feb 25, 2019
Stebalien added a commit to ipfs/go-ipfs-cmds that referenced this issue Feb 25, 2019
Apparently, windows returns "invalid file handle" and golang doesn't translate
this to EINVAL.

fixes ipfs/kubo#6021
@ghost ghost removed the status/in-progress In progress label Feb 25, 2019
@Stebalien Stebalien reopened this Feb 25, 2019
Stebalien added a commit that referenced this issue Feb 25, 2019
fixes #6021

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@ghost ghost added the status/in-progress In progress label Feb 25, 2019
@ghost ghost removed the status/in-progress In progress label Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
2 participants