[SOLVED] QtDragon_hd - Workpiece probe error

More
05 Nov 2023 14:43 - 07 Nov 2023 16:54 #284631 by karnalta
Hello all,

I am trying to use the probing system to set my workpiece height from table (Utils -> Workpiece).

It start as it should by going at the workpiece probing location, do a first "rapid" probe and then back off and do the second "slow" probe.

And as soon as the second probe is trigger, I got a crash :

 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/lib/auto_height/auto_height.py", line 128, in read_stdout
    self.parse_input(line)
  File "/usr/lib/python3/dist-packages/qtvcp/lib/auto_height/auto_height.py", line 157, in parse_input
    data = json.loads(return_data[1])
                      ~~~~~~~~~~~^^^
IndexError: list index out of range


Am I doing something wrong ?

Thank you.
 
Attachments:
Last edit: 07 Nov 2023 16:54 by karnalta.

Please Log in or Create an account to join the conversation.

More
05 Nov 2023 20:22 #284660 by cmorley
You are not doing anything wrong. I'm sorry it's a bug.
What version of linuxcnc are you using?

Chris

Please Log in or Create an account to join the conversation.

More
06 Nov 2023 09:56 #284692 by karnalta

You are not doing anything wrong. I'm sorry it's a bug.
What version of linuxcnc are you using?

Chris

No problem.

LinuxCNC 2.9.0-35

Please Log in or Create an account to join the conversation.

More
07 Nov 2023 04:03 #284748 by cmorley
I have pushed the fix to the 2.9 repo.
I think you are using the official Debian package?
unfortunately I have no idea when that will be updated.

linuxcnc has officially released 2.9.1.
forum.linuxcnc.org/29-forum-announcement...was-no-2-9-0-release

Which might be better in the long run.

Chris

Please Log in or Create an account to join the conversation.

More
07 Nov 2023 12:02 #284766 by karnalta

I have pushed the fix to the 2.9 repo.
I think you are using the official Debian package?
unfortunately I have no idea when that will be updated.

linuxcnc has officially released 2.9.1.
forum.linuxcnc.org/29-forum-announcement...was-no-2-9-0-release

Which might be better in the long run.

Chris

You mean you have push your fix to the LinuxCNC github repository ?

I think it has not yet been accepted, I don't see any push from this date.

I will have to build LinuxCNC from source to get it once accepted ?

 

Please Log in or Create an account to join the conversation.

More
07 Nov 2023 12:52 #284768 by cmorley
I have but I'm not sure when it will be released next.

github.com/LinuxCNC/linuxcnc/commit/5fa8...0ef86b0ea74227362841

compiling source always allows you the latest code, but eventually the buildbot will catch up.

Please Log in or Create an account to join the conversation.

More
07 Nov 2023 14:14 #284776 by karnalta

I have but I'm not sure when it will be released next.

github.com/LinuxCNC/linuxcnc/commit/5fa8...0ef86b0ea74227362841

compiling source always allows you the latest code, but eventually the buildbot will catch up.

Just got it from the buildbot2, now it's working.

I don't understand why I always need to download *.deb file manually and install them. Buildbot2 does not work from synaptic package manager.. But that's out of the scope of this post.

Thank you for the fix.

Please Log in or Create an account to join the conversation.

More
07 Nov 2023 20:51 - 07 Nov 2023 20:52 #284820 by rodw
Because the buildbot is not part of the official Debian Repository.
It is possible to tell apt to get the buildbot images in preference to those from Debian but its not a simple 1 line solution.
Last edit: 07 Nov 2023 20:52 by rodw.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.082 seconds
Powered by Kunena Forum