- Posts: 87
- Thank you received: 0
probe basic - toolpath/file preview loading error
2 years 3 weeks ago #311408
by jc2ktr
probe basic - toolpath/file preview loading error was created by jc2ktr
Hi everyone,
everytime when i try to load a gcode file i get this error.
Traceback (most recent call last):
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <genexpr>
IndexError: tuple index out of range
I use LinuxCNC 2.10 and probe basic screen on Debian12 with linux 6.1.0-25-rt-amd64 kernel
it´s not a big deal i can press on ignore and use the machine to mill. The only problem is that no Toolpath preview is generated at file loading.
At the milling operation it is generated without any issues.
everytime when i try to load a gcode file i get this error.
Traceback (most recent call last):
File "<string>", line 1, in <lambda>
File "<string>", line 1, in <genexpr>
IndexError: tuple index out of range
I use LinuxCNC 2.10 and probe basic screen on Debian12 with linux 6.1.0-25-rt-amd64 kernel
it´s not a big deal i can press on ignore and use the machine to mill. The only problem is that no Toolpath preview is generated at file loading.
At the milling operation it is generated without any issues.
Please Log in to join the conversation.
2 years 3 weeks ago #311410
by Lcvette
Replied by Lcvette on topic probe basic - toolpath/file preview loading error
Check there are no uncommon symbols used in the file, it's likely a language bug
Please Log in to join the conversation.
2 years 3 weeks ago #311437
by jc2ktr
Replied by jc2ktr on topic probe basic - toolpath/file preview loading error
It seems Probe Basic related. When i load it in a Axis configured machine. There are No Problems. The gcode was generated with Fusion360.
Please Log in to join the conversation.
2 years 3 weeks ago #311445
by Lcvette
Replied by Lcvette on topic probe basic - toolpath/file preview loading error
It very well may be, but there have been issues similar in the past that were language related, need to identify the offending thing to be able to resolve.
Please Log in to join the conversation.
2 years 3 weeks ago #311446
by Lcvette
Replied by Lcvette on topic probe basic - toolpath/file preview loading error
Maybe post the file?
Please Log in to join the conversation.
2 years 3 weeks ago #311464
by jc2ktr
Replied by jc2ktr on topic probe basic - toolpath/file preview loading error
Sure no problem, i will post it here.Maybe post the file? Sure no problem. i will post it here.
Attachment not found
Please Log in to join the conversation.
2 years 3 weeks ago #311483
by Lcvette
Replied by Lcvette on topic probe basic - toolpath/file preview loading error
Error in 2209.ngc line 11
M-code greater than 199: M600
this is the error i get and i have seen this before, @Joco was experiencing this error popping up for some reason, but im not certain why this occurs, i thought he had found a work around for it in the linuxcnc source. as a test i changed the M600 code to M5 and it loaded fine with preview, I will ask him if he recalls how to resolve that issue and see about a fix for it.
I only received the M errror as seen in the image below and not the one you posted so not certain if its the same or if there is something else going on there. the result with error was the same symptom which was no display of the tool path in the gcode plotter.
Thanks for the heads up!
Chris
M-code greater than 199: M600
this is the error i get and i have seen this before, @Joco was experiencing this error popping up for some reason, but im not certain why this occurs, i thought he had found a work around for it in the linuxcnc source. as a test i changed the M600 code to M5 and it loaded fine with preview, I will ask him if he recalls how to resolve that issue and see about a fix for it.
I only received the M errror as seen in the image below and not the one you posted so not certain if its the same or if there is something else going on there. the result with error was the same symptom which was no display of the tool path in the gcode plotter.
Thanks for the heads up!
Chris
Attachment not found
Attachment not found
Please Log in to join the conversation.
2 years 3 weeks ago #311517
by jc2ktr
Replied by jc2ktr on topic probe basic - toolpath/file preview loading error
Please Log in to join the conversation.
2 years 3 weeks ago #311527
by Lcvette
Replied by Lcvette on topic probe basic - toolpath/file preview loading error
I had to change the M600 to M5 and it loaded without complaint, so there is something i think requiring a fix for M600, you could assign a different M### between 100-199 and it would not complain, unless you've added M600 yo linuxcnc and it sees it and doesnt complain
Please Log in to join the conversation.
1 year 11 months ago #314108
by spumco
Replied by spumco on topic probe basic - toolpath/file preview loading error
Adding my two cents here...
I get a similar error message when trying to load a g-code file in PB. No issues with the backplot but the attached error message pops up when I load the file.
I think I narrowed it down to the tool number being >199.
When I commented out the T407, T823, and T642 it loaded with no complaints. And when I edited the file it would load fine at T199 (other two commented out) but puked when changed to T200.
I can load the tools in/out of my ATC using the PB interface, and call them up via MDI with no errors.
I can work around this for a short time by renumbering tools, but this is going to be annoying since I imported my F360 library to LCNC and I've got tools up to the 1100-range in the table.
I get a similar error message when trying to load a g-code file in PB. No issues with the backplot but the attached error message pops up when I load the file.
I think I narrowed it down to the tool number being >199.
When I commented out the T407, T823, and T642 it loaded with no complaints. And when I edited the file it would load fine at T199 (other two commented out) but puked when changed to T200.
I can load the tools in/out of my ATC using the PB interface, and call them up via MDI with no errors.
I can work around this for a short time by renumbering tools, but this is going to be annoying since I imported my F360 library to LCNC and I've got tools up to the 1100-range in the table.
Please Log in to join the conversation.
Time to create page: 0.256 seconds
