error message

More
30 Mar 2018 19:29 #108122 by andypugh
Replied by andypugh on topic error message
PyGTK seems to print a lot of errors but still work OK. Are these errors actually preventing the machine from working?

Please Log in or Create an account to join the conversation.

More
30 Mar 2018 22:02 #108148 by skrap58
Replied by skrap58 on topic error message
Hi Andy,

I have this when I start linuxcnc via terminal

wwp@cnc ~ $ linuxcnc
LINUXCNC - 2.7.10
pickconfig: installed aux examples: /usr/share/linuxcnc/aux_examples/NativeCAM
Machine configuration directory is '/home/wwp/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
Starting LinuxCNC...
Found file(REL): ./my-mill.hal
Note: Using POSIX realtime
config string '0 out'
Found file(REL): ./custom.hal
custom_postgui.hal:7: Pin 'pyvcp.spindle-speed' does not exist
Unexpected realtime delay on task 0
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Unexpected realtime delay on task 0
This Message will only display once per session.
Run the Latency Test and resolve before continuing.

Shutting down and cleaning up LinuxCNC...
task: 261 cycles, min=0.000040, max=0.023729, avg=0.009397, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@cnc ~ $

Not sure if I need to do something to custom.hal if you could point me in the right direction that would be great.

Thanks

Bill

Please Log in or Create an account to join the conversation.

More
31 Mar 2018 00:50 #108157 by andypugh
Replied by andypugh on topic error message

I have this when I start linuxcnc via terminal

custom_postgui.hal:7: Pin 'pyvcp.spindle-speed' does not exist


This is the problem. (and is likely to be related to the error messages mentioned). Your PyVCP panel is not creating a spindle-speed pin.

But that does not seem to be (necessarily) NCam related.

Please Log in or Create an account to join the conversation.

More
01 Apr 2018 19:52 #108225 by skrap58
Replied by skrap58 on topic error message
Hi Andy,

This is from terminal now. I do not know how to make the pyvcp create a spindle speed pin. Below is what I have now when I try to start Linuxcnc with nativecam tab embedded. I can start linuxcnc just fine and run everything without nativecam installed which is why I think nativecam is part of the problem. Linuxcnc below is complaining about the custom_postgui.hal file and I have no idea how to fix this. Any help is appreciated.

wwp@cnc ~ $ linuxcnc
LINUXCNC - 2.7.10
pickconfig: installed aux examples: /usr/share/linuxcnc/aux_examples/NativeCAM
Machine configuration directory is '/home/wwp/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
Starting LinuxCNC...
Found file(REL): ./my-mill.hal
Note: Using POSIX realtime
config string '0 out'
Found file(REL): ./custom.hal
custom_postgui.hal:7: Pin 'pyvcp.spindle-speed' does not exist
Shutting down and cleaning up LinuxCNC...
task: 348 cycles, min=0.000028, max=0.026419, avg=0.009595, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@cnc ~ $

Please Log in or Create an account to join the conversation.

More
01 Apr 2018 22:05 #108231 by andypugh
Replied by andypugh on topic error message
In the INI, is custom_postgui,hal listed as a HALFILE or a POSTGUI_HALFILE?

It should be the latter, but looks like it might be the former.

Please Log in or Create an account to join the conversation.

More
02 Apr 2018 11:26 #108254 by skrap58
Replied by skrap58 on topic error message
Thanks Andy,

I get where the problem is and it is with the custom_postgui file. My problem is I don't know what to do to the file to make it work properly. I'm not opposed to learning but I can't seem to find the information I need to properly write the file.

Bill

Please Log in or Create an account to join the conversation.

More
02 Apr 2018 11:34 #108255 by andypugh
Replied by andypugh on topic error message
Does your INI file reference a PyVCP panel at all?

If you didn't write the custom_postgui HAL file, where did it come from?

Please Log in or Create an account to join the conversation.

More
More
07 Apr 2018 20:59 #108572 by FernV
Replied by FernV on topic error message

... This is the error which is the thorn in my side.

/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()


Hi Bill,

This is NOT an error message but a GtkWarning as stated and is from pygtk. It was explained in another post but I will explain it again.

It has to do with keyboard accelerator. When you open the File menu, you see NO accelerators like in the Edit menu. I repeat the problem is with 'pygtk'. I created work around for the options where pygtk fails : when you press 'Ctrl+N' it will create a new project, 'Ctrl+O' will open the dialog to select a project on your disk, 'Ctrl+S' open the dialog to save your project. Even if the accelerators do not show.

Everything work as intended and you should NOT worry at all about this warning

Regards
Fern

Please Log in or Create an account to join the conversation.

Time to create page: 0.228 seconds
Powered by Kunena Forum