master 2.9 + glade no linuxcnc widgets / tools loading?

More
19 Mar 2022 19:24 #237736 by robertspark
I've got a master Deb install on bullseye and I've installed glade 3.8 as per the master docs but I've not got any linuxcnc icons / widgets of whatever the correct term is loading within the glade editor..... what am I doing wrong
I built the debs from git clone of master today and installed accordingly.

any advice greatly appreciated, thanks

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

More
19 Mar 2022 22:39 #237752 by cmorley
master uses python3/gtk3 glade (3.22?)
not glade python2/gtk2 (3.8)

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

More
20 Mar 2022 09:32 #237783 by robertspark
my bad

should have said
Glade 3.38.2 as installed on bullseye via
sudo apt install glade

..... still don't work and show the linuxcnc widgets

(I'd just installed bullseye + linuxcnc master + glade on a virtual machine as a secondary test

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

More
20 Mar 2022 10:56 #237789 by HansU
You mean the missing icons here?

 
Attachments:

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

More
20 Mar 2022 11:02 #237790 by robertspark
wwhhooo, I figure it out.... (by luck or chance)

It seems that the linuxcnc widgets are being installed in
/usr/share/glade3

but when glade is installed, it creates a folder called
/usr/share/glade

hence if you copy the contents of the two folders from "usr/share/glade3" to "usr/share/glade" then when you open glade it finds the files

Please note that this is a fresh install on Debian Bullseye 11.2 + linuxcnc master install from debs created on the machine from linuxcnc github clone.

The hint was when I looked at the READ_ME file in the github linuxcnc
github.com/LinuxCNC/linuxcnc/tree/master/lib/python/gladevcp

To use gladevcp in a run in place environment just source scripts/rip-environment
and it will set all paths.

To install it system-wide you must link files from ./share/glade3/
to /usr/share/glade3 system folder.

When using gladevcp widgets in python programs you need to import
gladevcp.makepins.

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

More
20 Mar 2022 11:36 #237791 by robertspark

You mean the missing icons here?


 


Yes no icons or widgets because they are being installed by linuxcnc (I presume) in the wrong folder {user/share/glade3}.... where as when glade is installed (version 3.38.2) it sets up its own folder called user/share/glade..... which is where it will look for the linuxcnc widgets.

I don't know where to look to check what linuxcnc installs where when it does a deb install of master to report an issue on github / more importantly a fix.
The following user(s) said Thank You: daiman444

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

More
23 Mar 2022 17:11 #238118 by andypugh

I don't know where to look to check what linuxcnc installs where when it does a deb install of master to report an issue on github / more importantly a fix.

One answer is probably a symlink from usr/shar/glade to usr/share/glade3

So it doesn't matter.
 

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

More
23 Mar 2022 17:51 #238120 by tommylight

I don't know where to look to check what linuxcnc installs where when it does a deb install of master to report an issue on github / more importantly a fix.

Click on the button the mouse is over:

You get a list of every file and where it will be copied:
Attachments:

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

More
23 Mar 2022 18:27 #238123 by robertspark
how do you get that window up as I just use dpkg -i when I've built the debs to install them.

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

More
23 Mar 2022 18:46 #238126 by tommylight
Gdebi.
I would not advise using DPKG to install stuff, it does not take care of some dependencies that Gdebi does, so might leave with an unusable system.
If it is not installed, use :
sudo apt-get install gdebi
The following user(s) said Thank You: robertspark

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

Moderators: mhaberlerHansU
Time to create page: 0.153 seconds
Powered by Kunena Forum