Open ihabmmali opened 1 year ago
Can you run in a terminal and see if there are relative debug information?
I have been running from command line and I cant see any unusual debug level errors:
Interestingly, if I destroy the tabs and create a new one and load the same ngcgui sub file then it works:
I then get these additional debug lines in the terminal
I played around with the ini and changed the NGCGUI_SUBFILE_PATH from the default of the sim file to the fully qualified path(so ~/linuxcnc/nc_files/examples/ngcgui_lib instead of the relative file path ../../../nc_files/ngcgui_lib/) and the ngcgui tabs load properly. I think it wasn't actually finding the sub files when using the relative path because the relative path had an extra "../". I think error handling is probably not working as expected? I guess it shouldn't attempt to create the tabs if the files are not found.
And sorry I just noticed it wasn't actually finding the files even in the previous screen shot...should have caught the error and corrected the path.
Ok tha's for that. I think it would be better if it showed a message on the tab that the path couldn't be found.
My guess here is that as installed files get removed around, the relative path doesn't point in the right place anymore - it works fine in RIP. I'll try to get back to this.
Here are the steps I follow to reproduce the issue:
This is what I expected to happen:
See the usual NGCGui dialogue for creating features
This is what happened instead:
We get an empty table with a single line text input box that seems to be disabled:
It worked properly before this:
Pre 2.9->2.10 merge
Information about my hardware and software:
I am using this Linux distribution and version (often, shown by
lsb_release -a
): Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseyeI am using this kernel version (shown by
uname -a
): Linux linuxcnctest 5.18.0-2-rt-amd64 #1 SMP PREEMPT_RT Debian 5.18.5-1 (2022-06-16) x86_64 GNU/LinuxI am running ...
I am using this LinuxCNC version (shown in package manager or, for git versions,
scripts/get-version-from-git
):v2.10.0-pre0-566-gaa545be959I am using this user interface (GUI) (e.g., AXIS, Touchy, gmoccapy, etc): qtdragon_hd
I am using this interface hardware vendor and chipset (e.g., parallel port, ethernet port, FPGA card): NA, testing UI in sim mode