- Posts: 731
- Thank you received: 0
master 2.9 + glade no linuxcnc widgets / tools loading?
3 years 4 months ago #273106
by HansU
Replied by HansU on topic master 2.9 + glade no linuxcnc widgets / tools loading?
You are not using LinuxCNC? Then you should definitely buy a CNC machine and try LinuxCNC! Otherwise you don't know what you miss 
If you are using Glade-3 (for Gtk3) you can find the catalog file and the python scripts here:
github.com/LinuxCNC/linuxcnc/tree/master/lib/python/gladevcp
The catalog is copied here: /usr/share/glade/catalogs/
And the python scripts here: /usr/lib/python3/dist-packages/gladevcp/
For Glade-gtk2 the paths are a bit different.
If you are using Glade-3 (for Gtk3) you can find the catalog file and the python scripts here:
github.com/LinuxCNC/linuxcnc/tree/master/lib/python/gladevcp
The catalog is copied here: /usr/share/glade/catalogs/
And the python scripts here: /usr/lib/python3/dist-packages/gladevcp/
For Glade-gtk2 the paths are a bit different.
Please Log in to join the conversation.
3 years 4 months ago #273107
by HansU
This gives a good short guidance: gist.github.com/KurtJacobson/f260ff3b2e979f694ed7c1a4c17fa479
Replied by HansU on topic master 2.9 + glade no linuxcnc widgets / tools loading?
Update
Post configure, which make target can specify? Merely calling make results in the error
Makefile:121: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
This gives a good short guidance: gist.github.com/KurtJacobson/f260ff3b2e979f694ed7c1a4c17fa479
Please Log in to join the conversation.
3 years 4 months ago #273147
by Olumide
Replied by Olumide on topic master 2.9 + glade no linuxcnc widgets / tools loading?
I've copied manually copied:
Unfortunately I still get the error
I note that linuxcnc/lib/python contains a hal.py source in addition to other .py files. Should these also be copied to
- gtksourceview.xml and hal_python.xml from
toCode:linuxcnc/lib/python/gladevcpCode:/usr/share/glade/catalogs/
- the remaining files (*.py and *.glade) to
Code:/usr/lib/python3/dist-packages/gladevcp/
Unfortunately I still get the error
Code:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gladevcp/__init__.py", line 1, in <module>
from .hal_pythonplugin import *
File "/usr/lib/python3/dist-packages/gladevcp/hal_pythonplugin.py", line 1, in <module>
from .hal_widgets import HAL_HideTable
File "/usr/lib/python3/dist-packages/gladevcp/hal_widgets.py", line 22, in <module>
import hal
ModuleNotFoundError: No module named 'hal'
(glade:5404): GladeUI-WARNING **: 10:09:33.179: We could not find the symbol "h_al__hide_table_get_type"
(glade:5404): GladeUI-WARNING **: 10:09:33.179: Could not get the type from "HAL_HideTable"
(glade:5404): GladeUI-WARNING **: 10:09:33.180: Failed to load the GType for 'HAL_HideTable'
(glade:5404): GladeUI-WARNING **: 10:09:33.180: We could not find the symbol "h_al__hbox_get_type"
(glade:5404): GladeUI-WARNING **: 10:09:33.180: Could not get the type from "HAL_HBox"
(glade:5404): GladeUI-WARNING **: 10:09:33.180: Failed to load the GType for 'HAL_HBox'
I note that linuxcnc/lib/python contains a hal.py source in addition to other .py files. Should these also be copied to
Code:
/usr/lib/python3/dist-packages?
Please Log in to join the conversation.
Time to create page: 0.055 seconds
