Hyper: Docker error during writing in Hyper.js

Created on 12 Jan 2018  路  2Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate

Issue

Hi, when I use Docker with Hyper, I have an error that I didn't have few months ago. I was hoping that the issue would resolve itself with the patches done but I still have it so I create this issue.

Randomly, this error appears :

Step 17/25 : RUN chmod +x $OS_BINS/cache.sh
 ---> Using cache
 Traceback (most recent call last):
  File "docker-compose", line 6, in <module>
  File "compose\cli\main.py", line 71, in main
  File "compose\cli\main.py", line 124, in perform_command
  File "compose\cli\main.py", line 959, in up
  File "compose\project.py", line 452, in up
  File "compose\service.py", line 308, in ensure_image_exists
  File "compose\service.py", line 972, in build
  File "compose\progress_stream.py", line 23, in stream_output
  File "compose\progress_stream.py", line 90, in print_output_event
  File "codecs.py", line 370, in write
  File "site-packages\colorama\ansitowin32.py", line 40, in write
  File "site-packages\colorama\ansitowin32.py", line 141, in write
  File "site-packages\colorama\ansitowin32.py", line 169, in write_and_convert
  File "site-packages\colorama\ansitowin32.py", line 174, in write_plain_text
IOError: [Errno 0] Error
Failed to execute script docker-compose

It can be during the step of the Dockerfile, during the real execution of the docker tasks (like download npm modules), etc.
It's an IOError and doesn't appear when I use Git Bash, so during the output, something should not work as expected, and docker exit because it can't write.

Thanks if you can fix this, it's annoying to have a Git Bash running only for Docker commands :)

Bug 馃憜 Is Upstream Windows

All 2 comments

Was this page helpful?
0 / 5 - 0 ratings