vmware-archive / lattice-cli

Lattice CLI
BSD 2-Clause "Simplified" License
8 stars 5 forks source link

After "diego-edge-cli start ..." terminal font is stuck on green #3

Closed dsyer closed 9 years ago

dsyer commented 9 years ago
$ ~/go/bin/diego-edge-cli start grace -i "docker:///onsi/grace-busybox" -c "/grace"
Error Starting App: Get http://receptor.192.168.11.11.xip.io/v1/desired_lrps/grace: dial tcp: lookup receptor.192.168.11.11.xip.io: No address associated with hostnamedsyer@dsyer:~/dev/cloud/scripts/build$ 
dsyer@dsyer:~/dev/cloud/scripts/build$ ~/go/bin/diego-edge-cli start grace -i "docker:///onsi/grace-busybox" -c "/grace"
Starting App: grace.................................
grace is now running. 
http://grace.192.168.11.11.xip.io
$ 
$

the last 2 lines are just shell prompts (now green).

davidwadden commented 9 years ago

We weren't able to reproduce this issue. Can you pull the latest version and see if you're still seeing this behavior?

Can you also tell us what platform this was on ? And when did the console change to green -- after the first failed cli run or after the second successful cli run ?

dsyer commented 9 years ago

I couldn't reproduce with the latest code either. I do have another terminal-related issue though (on Ubuntu 14.04): the commands don't echo a new line at the end of their output so the prompt gets squashed up against the green stuff, e.g.

$ ~/go/bin/diego-edge-cli start grace -i "docker:///onsi/grace-busybox" -c "/grace"
Starting App: grace...
grace is now running.
http://grace.192.168.11.11.xip.io$

(the last "$" is my prompt).

matthewmcnew commented 9 years ago

Good catch, we are aware of that bug and It is currently in our backlog.

You can follow the progress of the story at: https://www.pivotaltracker.com/story/show/83770840.

@matthewmcnew / @davidwadden