tooledti becomes unavailable after use

More
02 Jan 2014 02:36 - 02 Jan 2014 23:55 #42270 by somenewguy
So I am running 2.6.0dev on my laptop to sim and code, but 2.5 in the shop. . Once I run my code in 2.6.0dev, if i go to file > edit tool table, nothing launches. I have to restart axis to get it to work.

setup: ubuntu 12.04 32 bit
installed sim from git
using the ngcgui config with no edits aside from path to subs

if I launch axis, I can edit the tool table
i can turn on, home the machine, and select a tool.
after that I can still axis the tool table
ir I run a .ngc file (example attached below)
If I click on "edit tooltable" nothing pops open

File Attachment:

File Name: pastebinEX.ngc
File Size:0 KB


I am going to go back to 2.5, but I wanted to document this so someone would be aware

EDIT: removed G40 complaints, should have own thread
Attachments:
Last edit: 02 Jan 2014 23:55 by somenewguy. Reason: two issues in one post is confusing, focus on tooltable

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

More
02 Jan 2014 20:53 #42280 by andypugh
I have noticed this too.
There is a workaround, you can start tooledit from the command line.
I agree that it is a bug that ought to be fixed, though.

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

More
02 Jan 2014 22:57 #42289 by dgarrett
I cannot reproduce this problem on any of the machines available to me.
Please report your OS, how linuxcnc is installed, and the window manager in
use.

Here are some steps to try to isolate the
problem:

Start linuxcnc for the axis.ini (simulator) in a shell:

# If you are running a RIP, source scripts/rip-environment first:
$ source your_git_root/scripts/rip-environment

# run in background with trailing ampersand (&)
# (your path will be different):
$ linuxcnc your_git_root/configs/sim/axis/axis.ini &

# in the axis gui, duplicate the behavior where tooledit
# doesn't start when the axis gui menu item for:
# 'File/Edit tool table'
# is pressed.
# then, issue this command in the same terminal:
$ pgrep -l tooledit
# then, issue this command in the same terminal (that is -d' 'one blank in single quotes)
$ strace -f -e execve -p $(pgrep bin/axis|cut -d' ' -f 1)

# then press 'File/Edit tool table', verify misbehavior
#
# Ctrl-C to kill strace
$ pgrep -l tooledit

# post strace and pgrep results.
# example session (not-failing) is:
www.panix.com/~dgarrett/stuff/session.txt

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

More
03 Jan 2014 00:38 #42293 by somenewguy
after dropping down to 2.5.3 I could not reproduce this error anymore. Andy are you wililng to do that for him? Gotta go shovel and get some work done. Otherwise I'll try and do this by the weekend. 2.6.0dev seems to be the issue.

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

Time to create page: 0.136 seconds
Powered by Kunena Forum