gmoccapy tool change issue after apply

More
10 years 8 months ago #69348 by 10K
I'm having a similar issue.

I input a new tool on a blank tool table screen on gmoccapy, and hit "apply". If I then look at the tool.tbl file, it's empty.

I've edited the tool.tbl file directly with Mousepad. When I go into the tool table screen on gmoccapy, it pulls up the data from the file. But if I hit "apply", the tool information disappears. And when I check the file, it's empty again.

I deleted the tool.tbl file. If I hit "apply", the file is recreated, but it's empty.

In no case have I ever been able to load the tool (tool not found), or set any offsets using the buttons.

Any ideas?

Versions:
Linux Jessie 32-bit
LinuxCNC 2.8.0-prel-1468-gl70bb5a
gmoccapy 1.5.6

Please Log in to join the conversation.

More
10 years 8 months ago #69372 by newbynobi
Let me check on this, it works in 1.5.5.4 with 2.6.12 but show the described behavior on 1.5.6, but I did not make any change to that part of gmoccapy.

I will check on that.

Norbert

Please Log in to join the conversation.

More
10 years 8 months ago #69379 by newbynobi
I found out, that the strange behavior comes from the gladevcp tooledit_widget.
It has archived several changes in master, but 2.7 is fine.
So I work around could be downgrade to 2.7.

I mailed already to the developers list and ask Chris Morley and Balestrino to review there changes.

I'll keep you informed.

Norbert

Please Log in to join the conversation.

More
10 years 8 months ago #69384 by cmorley
Norbert

Did you test with Jessie or wheezy?

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #69389 by newbynobi
Hallo Chris,

with both, the tool table disappears on both installs.
As far as I found it is related to the wear offset stuff.

Norbert

Please Log in to join the conversation.

More
10 years 8 months ago #69390 by cmorley
k thanks

Please Log in to join the conversation.

More
10 years 8 months ago #69402 by cmorley
I have pushed a fix to master.
There was a line commented out when i should not have beem

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #69461 by 10K
I downloaded the two files

tooledit_gtk.glade
tooledit_widget.py


from
Code:
https://github.com/LinuxCNC/linuxcnc/tree/master/lib/python/gladevcp

and overwrote the files in
Code:
/usr/lib/python2.7/dist-packages/gladevcp

That fixed the problem!

Thanks for the quick fix.

Please Log in to join the conversation.

More
10 years 8 months ago #69480 by cmorley
Glad it was an easy fix! thanks for reporting.

Chris M

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum