- Posts: 19306
- Thank you received: 0
error message
Please Log in to join the conversation.
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 to join the conversation.
skrap58 wrote: 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 to join the conversation.
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 to join the conversation.
It should be the latter, but looks like it might be the former.
Please Log in to join the conversation.
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 to join the conversation.
If you didn't write the custom_postgui HAL file, where did it come from?
Please Log in to join the conversation.
Please Log in to join the conversation.
skrap58 wrote: ... 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 to join the conversation.
