Universal-G-Code-Sender icon indicating copy to clipboard operation
Universal-G-Code-Sender copied to clipboard

ugs platform fails to start.

Open J-Dunn opened this issue 3 years ago • 9 comments

Describe the bug ugs platform fails to start. Gets stuck on splash screen

To reproduce Steps to reproduce the behavior:

  1. get current 2.0.7 with java download and unpack tar.gz
  2. ./ugsplatform
  3. see splash screen , watch red progress line and messages
  4. after some time it displays "done loading modules."
  5. hangs ! Never gets any further. Stuck on splash screen.

Expected behavior Expect to see UGS interface start up

Version UGS Platform 2.07

Hardware irrel, not getting that far.

Operating system (please complete the following information): Fedora 34

Additional context Requires break signal to regain control.

J-Dunn avatar Oct 03 '21 22:10 J-Dunn

This happened to me once using Ubuntu, there was a popup message being displayed behind the splash screen. Try hit Enter or Tab and Enter to close that popup and let the program to continue.

breiler avatar Oct 04 '21 06:10 breiler

Ah many thanks. I'm not sure how anyone can work that out. It just looked like the process had hung.

That is one problem with slamming a non movable splash screen, in a hard modal state, commanding centre stage on the screen. Since there is progress status info there and start-up is fairly long would it be better to make that a framed window which could be moved. I had actually tried to move it while trying to see what was happening.

It's also pretty ridiculous that the java VM puts up a modal dialogue box with a go/no go message without ensuring it is on top of all other windows.

Any idea what that message says ? Did I just agree to give my first born to the Clinton Foundation ?

J-Dunn avatar Oct 04 '21 06:10 J-Dunn

Indeed, your first born will make an excellent addition in our code monkey dungeons... 😈

I was expecting this dialog to popup, that is how I figured that out: image

You can disable any future dialogs in the settings by unchecking this: image

I have not had this problem on Mac or Windows so this is probably a Linux-JVM or Netbeans-thing. I'm leaving this issue open to investigate if we can open the dialog in another state of the program startup or in its own thread to mitigate this.

breiler avatar Oct 04 '21 09:10 breiler

Thanks. I don't think that is the dlg which is blocking. Once I did hit enter as you suggested , I then got the nightly warning pop up. Now when I restart , the main window comes up and I still see the nightly warning.

There seems to be a first time use issue. It's less annoying if it's a one off but the fact that it is there before the user has even seen your main screen makes it a bit of a show stopper for new users and most will more likely conclude UGS does not work than post here with a bug report.

Maybe this splash could be made moveable or set to top left instead of centre screen.

Assuming it is a UGS first use, what could I remove to trick it back into a first use condition? I removed .ugs and .ugsplatform and it did not come back.

J-Dunn avatar Oct 04 '21 11:10 J-Dunn

It seems the problem is not when nightly warming is shown but the when the splash should disappear. Once it gets to "loading modules done" shouldn't the splash close? Then we'd see the message, whatever it is.

Plus the immutable nature of the splash. It seems this may be a Linux JVM defect because whatever is popping up as model dlg SHOULD be visible on top of everything else.

J-Dunn avatar Oct 06 '21 13:10 J-Dunn

I have a Lenovo, running win 10. I am having the same troubles. I double click the ugsplatform.exe, a UGS splash displays. Then UGS opens with the Nightly Builds tag. A couple seconds later, it all shuts down. Leaving a "hs_err_pid7308" text doc. in the main folder, with different a 4 digit number, each time.
hs_err_pid6464.log

I've been running UGS on this computer (I only use for the cnc) offline for couple years. Then hooked the computer to the internet, so as to install Vcarve. Forgot to take it offline. OneDrive moved the app to the cloud. My shop does not get internet, so UGS would not run. I have installed the software, cleared it reinstalled. I have done a full reset of my computer. I have tried installing Java separately. I continue to keep this machine offline,so as UGS is not sent to OneDrive. I have shut down Windows Defender, because Windows splashes "Don't recognize" warning, when starting for first time after each install. The real problem here is, I'm a shop guy, not a computer guy. Thanks for and help. Jim

JWPassmore avatar Feb 18 '22 04:02 JWPassmore

I would point out that this is not the same thing as I reported here. I did not see the splash screen, I did not see the nightly build panel shown above. My platform is Linux, yours is Win10. My problem was the program was hung because it was waiting for keyboard input from a hidden window the user is not aware of. Yours seems to be a straight crash.

Your experience is why I ensure: a) my machine control PC does NOT get anywhere near internet access and does not get updates. b) it does not get anywhere near Windows OS.

I would imagine there is a way to deactivate OneDrive but I stopped using that OS at the end of the last millennium, so I cannot help with that. Next time download a file from your desktop computer and transfer it the workshop machine by USB key.

Sorry I can't help with your specific predicament now. Fault finding on that platform seems to be : retry ; reboot ; reinstall :(

J-Dunn avatar Feb 18 '22 06:02 J-Dunn

Thanks for getting back to me, I ended up pulling up an older version (2019, UGS 2.0) off my old Surface machine, pushed it to my shop machine. It works great.  The OneDrive debacle is going to push me away from the Windows environment.  It's not just UGS, it's everything, MS is trying to push everyone into a subscription system. On Thursday, February 17, 2022, 10:47:54 PM PST, J-Dunn @.***> wrote:

I would point out that this is not the same thing as I reported here. I did not see the splash screen, I did not see the nightly build panel shown above. My platform is Linux, yours is Win10. My problem was the program was hung because it was waiting for keyboard input from a hidden window the user is not aware of. Yours seems to be a straight crash.

Your experience is why I ensure: a) my machine control PC does NOT get anywhere near internet access and does not get updates. b) it does not get anywhere near Windows OS.

I would imagine there is a way to deactivate OneDrive but I stopped using that OS at the end of the last millennium, so I cannot help with that. Next time download a file from your desktop computer and transfer it the workshop machine by USB key.

Sorry I can't help with your specific predicament now. Fault finding on that platform seems to be : retry ; reboot ; reinstall :(

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

JWPassmore avatar Feb 20 '22 06:02 JWPassmore

MS is trying to push everyone into a subscription system.

Bingo. You do not own a Windows computer. You pay for it they own and control it. BTW , guess who owns GutHub ;)

Glad you got it fixed.

J-Dunn avatar Feb 20 '22 10:02 J-Dunn