Make the web updater less scary

Leaving this in uncategorized as I have mixed feelings if it belongs to feature request or support!

Currently, we see this in the update log:

********************************************************
 *** Please be patient, next steps might take a while *** ********************************************************
 Cycling Unicorn, to free up memory Restarting unicorn pid: 20656 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Stopping 3 Unicorn worker(s), to free up memory 

This sometimes looks scary (giving the impression that update is either gone wrong or is looping. can it be made to something more convincing e.g.

Waiting for Unicorn to reload . . . . . . . . . .

or

Waiting for Unicorn to reload 50%

Which IMO looks like something is actually happening!

12 Likes

Yes this has bugged me too, I meant to mention it to @tgxworld and forgot, thanks for the reminder!

3 Likes

I can’t really add percentages since we don’t know when unicorn is going to complete reloading. Therefore, I went with the dots :slight_smile:

Screenshot%20from%202018-11-14%2013-45-33

3 Likes

Hi @tgxworld

I don’t really have an idea as so how differently this behaves compared to some shell scripts which are able to add the dots to the same lines instead of printing a new line with +1 dot but can it be made to a single line?

If that isn’t possible then this can be a simple workaround to maybe not print the same message multiple times?
I doubt that’s gonna make it even more scary??

Can’t you can just keep printing single dots till done? No need to repeat “Waiting for Unicorn to reload”, as an added bonus the computer gets to do less work cause it renders less letters to the screen.

1 Like

The challenge here is that each message has to be printed on a separate line. I can instead just print the message once and then wait until unicorn reload but I worry on smaller droplets it’ll feel stuck.

1 Like

maybe then the message can be made like!

Waiting for Unicorn or reload

Still Waiting

Still Waiting

and the frequency of messages be made every ~5 seconds or more?

or otherwise just printing a message like @sam suggested

Waiting for unicorn to reload
.
.
.
.
.
.

should also work?

1 Like

I thought Sam meant to continue the dots without the text message.

Which would look like this:

Waiting for unicorn to reload .........................
.......................................................
.......................................................
.......................................................
.........................

That sadly can’t be done as the window is just logging 1 line at a time and once logged, the line can not be modified. If that would be possible, percentage and continuous dots were both a possibility.

3 Likes

Of course, I forgot it is logging. :relaxed:

This topic was automatically closed after 3 days. New replies are no longer allowed.