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

Terminal stuck on docker build details message, either not printing it or simply unable to proceed #889

Closed
CarlosMOGoncalves opened this issue Aug 16, 2024 · 1 comment

Comments

@CarlosMOGoncalves
Copy link

Describe the bug
When I execute, on Git Bash terminal, the docker command docker build in order to create an image, the output won't be written until the very end, getting stuck on the final "View build details:" but missing the full information.

The main problem with this is that the terminal seems to somehow get stuck on that message and I am unable to continue without closing the terminal session altogether. Since I am using the git bash terminal I pretty much just type "exit", but this is really not how it is supposed to work.

When I use Git Bash, it will not write the full message and just stays stuck, apparently waiting for a prompt.
When I change to the Local Terminal, it will not print the message, but at least returns the control to the terminal input so I can keep working.

I suspected this might be a problem with Git Bash, but when I use it directly, outside of Eclipse, everything works fine.

I am attaching screenshots for all the cases.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Terminal
  2. Choose Git Bash
  3. Build an image, pretty much any will do, I suppose
  4. Watch it building until the end
  5. When finished it will get stuck on "View build details:" but won't actually show any details and will just wait for input
  6. Redo the steps but with Local Terminal
  7. It will not print any build details, instead it will leave some blank space, but will return control to the terminal.

Expected behavior
Expected it to just write whatever details it has and return control to the terminal window.

Screenshots
First, when using the Git Bash terminal on Eclipse. As it can be seen, it just stays stuck on that message apparently waiting for some input, although none is needed then.

image

Second, when using directly the Local Terminal. As it can be seen, it does return control to the terminal, but leaves some blank space for some reason, which leads me to think there might be something wrong and somehow related to the above.

image

Finally, a screenshot using the Git Bash directly. It finished the command normally and returned control to the terminal.

image

Version Information (please complete the following information):

  • OS: Windows 11 Pro
  • Eclipse Version: 2024-06 (4.32.0)
  • CDT Version: 11.6.0.202403071917 (Terminal View Core)

Additional context
I didn't see anything in the Error Log. Also I do not have the full CDT installed, just the Terminal View that comes with the standard Eclipse IDE for Java Enterprise Developers.

@CarlosMOGoncalves
Copy link
Author

Hello there,
Just a small update on this.
I noticed that, somehow, this seems to have been fixed.
Since the only thing I have done is to update to the latest Eclipse 2024-09, I suppose whatever it was, has been fixed alongside it.

Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant