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

Docker error during writing in Hyper.js #2595

Closed
2 tasks done
Mystilund opened this issue Jan 12, 2018 · 2 comments
Closed
2 tasks done

Docker error during writing in Hyper.js #2595

Mystilund opened this issue Jan 12, 2018 · 2 comments
Labels
👆 Is Upstream Issue is the fault of something Hyper uses and not Hyper itself 🖼 Platform: Windows Issue pertains to Windows 🐛 Type: Bug Issue pertains to something wrong within Hyper

Comments

@Mystilund
Copy link

  • I am on the latest Hyper.app version
  • 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 :)

@AlexxNica
Copy link

Similar issues just for reference:
docker/compose#5019
tartley/colorama#101

@scottmeyer
Copy link

This may be related to this docker/compose#5019 (comment)

With explanation here:
microsoft/vscode#36630 (comment)

@Stanzilla Stanzilla added 🐛 Type: Bug Issue pertains to something wrong within Hyper 👆 Is Upstream Issue is the fault of something Hyper uses and not Hyper itself 🖼 Platform: Windows Issue pertains to Windows labels Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👆 Is Upstream Issue is the fault of something Hyper uses and not Hyper itself 🖼 Platform: Windows Issue pertains to Windows 🐛 Type: Bug Issue pertains to something wrong within Hyper
Projects
None yet
Development

No branches or pull requests

4 participants