gladevcp don't run

More
05 Jul 2015 01:02 #60411 by jtc
gladevcp don't run was created by jtc
Hi.

I'm trying to open a file with gladevcp, but I get this error:
RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault (core dumped)

I's using a virtual machine with ubuntu 12.04 and a run in place installation.

If I run glade, I can't have access to LinuxCNC-specific widgets, but I can run a sample configuration...
jtc@ubuntu:~$ . /home/jtc/linuxcnc-dev/scripts/rip-environment
jtc@ubuntu:~$ cd linuxcnc-dev/configs/sim/axis/gladevcp/
jtc@ubuntu:~/linuxcnc-dev/configs/sim/axis/gladevcp$ gladevcp manual-example.ui
RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault (core dumped)
jtc@ubuntu:~/linuxcnc-dev/configs/sim/axis/gladevcp$ linuxcnc
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/jtc/linuxcnc-dev/configs/sim/axis/gladevcp'
Machine configuration file is 'gladevcp_tab.ini'
Starting LinuxCNC...



João

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

More
05 Jul 2015 03:46 #60420 by cmorley
Replied by cmorley on topic gladevcp don't run
I'm not sure about the seg faultbut you must use glade-gtk2 for gadevcp.
I believe Ubuntu 12.04 usually has glade gtk3 stock. You can probably download the right one through official Ubuntu repositories.

The samples work because they were built with the proper grade editor.

Chris M
The following user(s) said Thank You: jtc

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

More
05 Jul 2015 04:23 - 05 Jul 2015 04:27 #60422 by jtc
Replied by jtc on topic gladevcp don't run
ok, its no running with hal/python and VCP actions showed on glade.

to be able to run it, I use this command:
jtc@ubuntu:~/linuxcnc-dev/configs/sim/axis/gladevcp$ glade-gtk2 manual-example.ui

in the tutorials its used "gladevcp myui.ui" (www.linuxcnc.org/docs/html/gui/gladevcp....adevcp:Prerequisites)

edit:

I tested on debian, and using "glade-gtk2" instead of "gladevcp" works fine, so the documentation looks like to be outdated.
Last edit: 05 Jul 2015 04:27 by jtc.

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

More
06 Jul 2015 03:51 #60445 by cmorley
Replied by cmorley on topic gladevcp don't run
where in manual please?
Those are two different commands.
one is to open the GLADE editor preloaded with a panel
the other is to display the panel within HAL environment.

Chris M

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

More
06 Jul 2015 04:00 #60446 by jtc
Replied by jtc on topic gladevcp don't run
not in manual, its in the last link.

I was referring to open the glade editor with linuxcnc modules.

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

More
06 Jul 2015 04:16 #60448 by cmorley
Replied by cmorley on topic gladevcp don't run
ok I looked at link..seems it's right...it was referring to _running_ the panel...you say you want to _edit_ the panel.

Glad you got it figured out :)

Chris M

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

Moderators: HansU
Time to create page: 0.121 seconds
Powered by Kunena Forum