Advanced Search

Search Results (Searched for: )

  • snowgoer540
  • snowgoer540's Avatar
31 Mar 2025 22:39 - 31 Mar 2025 22:58
Replied by snowgoer540 on topic Couldn't get the WARNING icon in LcncDialog

Couldn't get the WARNING icon in LcncDialog

Category: Qtvcp

I made a few minutes to take a look at this tonight.  

I do see the behavior you describe, although the order is not the root cause. 

In this line:  github.com/LinuxCNC/linuxcnc/blob/bd9034...ialog_widget.py#L201

elif icon == 'INFO' or isinstance(icon,str): icon = QMessageBox.Information


it's this part that is causing issue:

isinstance(icon,str)


The icon value is set correctly to 'WARNING' on the go-in, but because but because icon is of type str, the second condition "isinstance(icon, str)" evaluates to True, and therefore never gets to check for 'WARNING'.

Perhaps it’s meant to be a catch all, in that case I agree it should move to last, but I want Chris to weigh in before I change it as I'm not quite sure of the purpose (if typo should we tell the user there’s a typo?).
  • Giovanni
  • Giovanni
31 Mar 2025 21:26
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Yes, I am using (I used) Virtual Box as VM for test.

Is the NativeCAM path correct in the ini file?
(you could post your ini file)
Is NativeCAM runnig standalone from the command line?

As suggested by HansU, you could try to run LinuxCNC from the command line to see the errors during startup.
  • B1gJ1mmy
  • B1gJ1mmy
Displaying 17566 - 17568 out of 17568 results.
Time to create page: 0.701 seconds
Powered by Kunena Forum