winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.85k stars 758 forks source link

Problem to Open File after run one gocode Windows 11 #2465

Closed 3hrsolucoes closed 3 months ago

3hrsolucoes commented 4 months ago

Version

2.1.4

Hardware / Firmware

Grbl_ESP32

What happened

So, I have a problem to open file after run one gcode. Its need to be closed and re open the UGS. I try reisntall the windows but nothing. I read one problem here with folder that contains other files, my folder of gcode have 3 files (.nc). the folder of UGS and folder Gcode are in C:/

I click on File Open but nothing happends.

The older version, i dont remember which one, doesnt had this issue.

Thanks

How to reproduce

No response

Operating System

Windows 11

Anything else

No response

breiler commented 4 months ago

Can you share your log file: C:/Users/[your username>]/AppData/Roaming/ugsplatform/var/log/messages.log

You can also open the log directory from the menu Tools \ Open log directory

3hrsolucoes commented 4 months ago

messages.log

Thanks

breiler commented 4 months ago

No errors in log and it looks like you are able to select the file multiple times.

I have replaced the file open dialog in the latest version of UGS 2.1.5, you could try and upgrade: https://universalgcodesender.com/download/

3hrsolucoes commented 4 months ago

Omg, sorry i'm using 2.1.5

breiler commented 4 months ago

Oh right, it's in the log, I didn't bother checking as you wrote it in the issue description. =)

I tried rebooting into Windows 10 and tried with with UGS 2.1.5 and I can't reproduce the problem. Do you have an Antivirus program or something that may prevent UGS from opening the file dialog?

3hrsolucoes commented 4 months ago

Ok, no, i complete reinstall the windows 11 today, only the UGS and Winrar are installed now.

3hrsolucoes commented 4 months ago

i'm testing version 2.1.4 and not problems until now ! maybe new version 2.1.5 have problems with windows 11

breiler commented 4 months ago

I tried upgrading to Windows 11 and I can still not reproduce it...

Worst case we'll have to create a wrapper for the file chooser to use the current AWT-based on MacOSX and the Swing-based on Linux and Windows.

If anyone else has the same problem please attach log files.

3hrsolucoes commented 4 months ago

Ok, i'm testing on UGS 2.1.4 and have same problem today.

:/

3hrsolucoes commented 4 months ago

maybe the problem is on my computer, the computer is mini computer intel from china.

3hrsolucoes commented 4 months ago

I think i know the problem ! I tested this today and until now everything is OK.

Portuguese ! ->>>

Olá, Neste caso, será necessário efetuar os passos abaixo e verifique se o erro persiste.

Após criar o ponto de restauração, siga os seguintes passos.

  1. Clique em Iniciar,Executar, digite REGEDIT e clique em Ok.

  2. Localize as pastas abaixo e faça as seguintes alterações:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

Alteração: Clique duas vezes sobre o item UserProcessHandleQuota.Altere para Decimal e digite 18000 em Dados do valor.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

Alteração: Clique duas vezes sobre o item GDIProcessHandleQuota. Altere paraDecimal e digite 18000 em Dados do valor.

SaihbJ commented 4 months ago

Hello ! I have the same problem, and I tried the last solution (with a bad Italian (Spanish ?) translation) and now my computer doesn't even start..!! I'm good for a windows reinitialization I guess. But anyway I had the same problem, I was able to use UGS 5 minutes and then impossible to open a new project. I'm using a joystick to control my CNC machine and I wonder if this has a link...

3hrsolucoes commented 4 months ago

Hello ! try not do the last step !.. I have a problem with the final step and forget to post here.

I edited my last comment. Try what is there now !

breiler commented 4 months ago

Thanks @SaihbJ, this does indeed seem to be related to the gamepad library.

I have posted a new issue here: https://github.com/libgdx/Jamepad/issues/28

SaihbJ commented 4 months ago

Ok, thank you @breiler ! I have a fresh new Windows 11 installed but haven't tried UGS yet... I'd like to be able to use my joystick so let's hope that it will be fixed !

SaihbJ commented 4 months ago

I actually also had some strange java errors : "a java.lang.nullpointerexception exception has occurred" Can it be linked ?

breiler commented 4 months ago

I have created a new version here which fixed it on my computer: https://github.com/winder/Universal-G-Code-Sender/releases/tag/v2.1.6

I noticed that the Y and Z axis was inverted with my controller so I needed to invert those axes in the settings. If this is because a changed gamepad mapping in the controller database or if something changed in the library I don't know. Since it is easy to invert the axes I didn't investigate it further. image

SaihbJ commented 4 months ago

Thank you @breiler ! I'll test it today and keep you in touch.

breiler commented 3 months ago

This was likely caused by a bug in the gamepad library we were using. Fixed in #2478, available in UGS version 2.1.6.