- Posts: 11
- Thank you received: 0
kernel_version error in PnCConf with 7I76E
roger@linuxcnc:~/linuxcnc/configs/millton$ uname -a
Linux linuxcnc 3.2.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.81-1 x86_64 GNU/Linux
I get following error on "Test/Tune Axis" in PnCConf:
"Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pncconf/pages.py", line 1068, in on_xaxistune_clicked
def on_xaxistune_clicked(self, *args): self.t.tune_axis('x')
File "/usr/lib/pymodules/python2.7/pncconf/tests.py", line 463, in tune_axis
if not self.a.check_for_rt():
File "/usr/bin/pncconf", line 1640, in check_for_rt
elif hal.is_rt and not hal.kernel_version == actual_kernel:
AttributeError: 'module' object has no attribute 'kernel_version'"
Any idea how to resolve this?
Add some kernel_version attribute to the ini file?
Please Log in to join the conversation.
The machine works fine with the numbers I put in the .ini file by hand.
When I try to use the axis tuning window button in PnCConf.
The tuning configure window never comes up and I get the same error as Rogla
Can someone give a hint to fix this?
Thanks
Please Log in to join the conversation.
PnCConf needs to be taught that the kernel version doesn't matter on Preempt-RT kernels
Please Log in to join the conversation.
It appears the developers are aware of this issue.
It may be issue 159
github.com/LinuxCNC/linuxcnc/issues/159
Thanks to the developers
Please Log in to join the conversation.
Many thanks to both of you for leting us know and for diging up the relevant thread.
Please Log in to join the conversation.
Rogla wrote: Using this kernel:
roger@linuxcnc:~/linuxcnc/configs/millton$ uname -a
Linux linuxcnc 3.2.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.81-1 x86_64 GNU/Linux
I get following error on "Test/Tune Axis" in PnCConf:
"Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pncconf/pages.py", line 1068, in on_xaxistune_clicked
def on_xaxistune_clicked(self, *args): self.t.tune_axis('x')
File "/usr/lib/pymodules/python2.7/pncconf/tests.py", line 463, in tune_axis
if not self.a.check_for_rt():
File "/usr/bin/pncconf", line 1640, in check_for_rt
elif hal.is_rt and not hal.kernel_version == actual_kernel:
AttributeError: 'module' object has no attribute 'kernel_version'"
Any idea how to resolve this?
Add some kernel_version attribute to the ini file?
As a temporary work around you could edit your file directly:
in /usr/bin/pncconf just after line 1632
add the line return True
Chris M
Please Log in to join the conversation.
