I've copied manually copied:
- gtksourceview.xml and hal_python.xml from
Code:
linuxcnc/lib/python/gladevcp
to
Code:
/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?