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

webapi: BrokenPipe raised when reading part of output #2

Closed
rossengeorgiev opened this issue Jun 25, 2019 · 0 comments
Closed

webapi: BrokenPipe raised when reading part of output #2

rossengeorgiev opened this issue Jun 25, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@rossengeorgiev
Copy link
Collaborator

steamctl webapi call ..... | head -1

Traceback (most recent call last):
  File "/steamctl-python/e3/bin/steamctl", line 11, in <module>
    load_entry_point('steamctl', 'console_scripts', 'steamctl')()
  File "/steamctl-python/steamctl/__main__.py", line 44, in main
    rcode = cmd_func(args=args)
  File "/steamctl-python/steamctl/commands/webapi/cmds.py", line 144, in cmd_webapi_call
    json.dump(json.loads(resp), sys.stdout, indent=4, sort_keys=True)
  File "/usr/lib/python3.6/json/__init__.py", line 180, in dump
    fp.write(chunk)
BrokenPipeError: [Errno 32] Broken pipe
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
@rossengeorgiev rossengeorgiev added the bug Something isn't working label Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant