Spindle Load feedback in Gmoccapy

More
3 years 10 months ago #258756 by HansU
For getting the Glade catalog for Gtk2 (LinuxCNC 2.8) working, following needs to be done:

First check with
Code:
pkg-config --variable=catalogdir gladeui-1.0
the directory of the glade catalog.
For me it was
Code:
/usr/local/share/glade3/catalogs

Then get the "lib/python/gladevcp" directory from the source code repository ( github.com/LinuxCNC/linuxcnc/tree/2.8/lib/python/gladevcp )
and copy all files from that directory to the above mentioned directory.
For example
Code:
git clone -b 2.8 https://github.com/LinuxCNC/linuxcnc.git --depth 1 cd linuxcnc/lib/python/gladevcp sudo cp -r * /usr/local/share/glade3/catalogs

This worked at least for me for glade-gtk2.
The following user(s) said Thank You: blazini36

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

More
3 years 10 months ago #260105 by piflixe
The new spindle_load bar posted above works for me. Thank you!

Still no success in setting up glade unfortunately.

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

More
3 years 10 months ago - 3 years 10 months ago #260326 by andypugh

Still no success in setting up glade unfortunately.


Which version of Glade have you installed? (And which version of LinuxCNC
If you are on LinuxCNC 2.8 then you need the Glade version here: www.linuxcnc.org/dists/buster/base/binar...k2_3.8.6-1_amd64.deb
But it is probably best to get it through the package manager. Make sure that you are getting a package called glade-gtk2.

Last edit: 3 years 10 months ago by andypugh.

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

More
3 years 7 months ago #265786 by zz912
I am trying run spindle_load.py for LCNC 2.9 by HansU, but it types:

Code:
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 110, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 90, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_hal_status_interp_run not found glade/spindle_load.py:3: unterminated quoted string 'halcmd -f glade/spindle_load.py' exited with 1

I  use RIP instalation.
 

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

More
3 years 7 months ago #265788 by HansU
The following user(s) said Thank You: zz912

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

More
3 years 7 months ago #265794 by zz912
I tried it now, and it works.

Thank you.

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

Moderators: newbynobi, HansU
Time to create page: 0.305 seconds
Powered by Kunena Forum