Living on the edge, RFL Python tracebacks

More
2 years 5 months ago #301633 by caretech
Greetings,

My trusty computer died, I rebuilt on a Bookworm-based machine, and installed Linuxcnc-uspace master from buildbot2.highlab.com.

Now in any file, if I click somewhere on the drawing to do Run From Line, after hitting ok in the dialog that pops up (from here to end option) then I get this notice.
Code:
Qtvcp encountered an error. The following information may be useful in troubleshooting: LinuxCNC Version : 2.10.0-pre0-3202-g19ad8990e8 Traceback (most recent call last):File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1948, in run_clickeddata = RFL.run_from_line_get(self.lastLoadedProgram, self.startLine, lastLine)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/plasmac/run_from_line.py", line 79, in run_from_line_getmaterial[1] = line.strip()~~~~~~~~^^^IndexError: list assignment index out of range
QtPlasmaC version 2.10-008.044

Let me know if you need any of my config backups or more detail in order to reproduce. I've tried on various ngc files, all with the same result.

Please Log in to join the conversation.

More
2 years 5 months ago #301634 by caretech
Pardon the second post for further details. Opened the editor and it lost all post formatting, so I backed out cautiously.

If I dismiss this error then try clearing or Reloading the file, I get another popup with the message shown below. QtPlasmaC then becomes unusable. Can't jog machine, can't cycle start, can't clear file, can't reload, can't do anything. Only recourse is to close and launch LinuxCNC and start over.
Code:
Traceback (most recent call last):File "/usr/bin/qtplasmac_gcode", line 1656, in <module>app = Filter(sys.argv)^^^^^^^^^^^^^^^^File "/usr/bin/qtplasmac_gcode", line 64, in __init__self.cutType = int(response.stdout.decode())^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ValueError: invalid literal for int() with base 10: ''

Please Log in to join the conversation.

More
2 years 5 months ago #301639 by phillc54
It seems that this is an issue on g-code files that use temporary materials.
We will get a fix out as soon as possible.

Edit: A fix has been pushed.
 

Please Log in to join the conversation.

More
2 years 5 months ago #301700 by caretech
Thanks a bunch, Phil! Fast service, as usual. I shouldn't have wasted the time downgrading to 2.9 to make the issue disappear. I'll give this a whirl and see how it goes.

Please Log in to join the conversation.

More
2 years 5 months ago #301704 by caretech
I can confirm it's fixed. Thanks a bunch, again!

Now, for a chance to test Pierce Only offsets and moving piercing on thicker materials... which were high on my list of reasons for going with the master branch.

Please Log in to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum