"KeyError" suddenly appears after moving a limitswitch
- SebastianM
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 2
22 Jul 2025 21:25 - 22 Jul 2025 21:33 #332206
by SebastianM
"KeyError" suddenly appears after moving a limitswitch was created by SebastianM
Hey guys!
My linuxcnc / probebasic started to show a weird behaviour today.
After I start the system and home the machine, I get a popup saying "KeyError" _everytime_ when I jog any of the axes.
I can ignore that message, but it comes back everyime I jog again (no matter if via keyboard, softkey or pendant).
BUT - what I found out... as soon as I zero one of the axes (or all three), the error is gone.
I have not changed anything in my (software) config the last week, BUT I have modified my x axis yesterday and therefore moved the limitswitch a bit.
Can this somehow be related? The popup says somewthing with "...active.WCSoffset..."... maybe some cached value doesnt fit anymore after I moved that switch?
Thx in advance!
My linuxcnc / probebasic started to show a weird behaviour today.
After I start the system and home the machine, I get a popup saying "KeyError" _everytime_ when I jog any of the axes.
I can ignore that message, but it comes back everyime I jog again (no matter if via keyboard, softkey or pendant).
BUT - what I found out... as soon as I zero one of the axes (or all three), the error is gone.
I have not changed anything in my (software) config the last week, BUT I have modified my x axis yesterday and therefore moved the limitswitch a bit.
Can this somehow be related? The popup says somewthing with "...active.WCSoffset..."... maybe some cached value doesnt fit anymore after I moved that switch?
Thx in advance!
Attachments:
Last edit: 22 Jul 2025 21:33 by SebastianM.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 523
- Thank you received: 51
23 Jul 2025 18:18 #332233
by langdons
Replied by langdons on topic "KeyError" suddenly appears after moving a limitswitch
Python's error messages are so unhelpful.

Did you change anything?

Did you change anything?
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.056 seconds