all the packages you mentioned are runtime dependencies, please add them.

the problem you see is python2/3 related, but you cant fix it with update-alternatives. I suggest you undo that, as it migh tbreak other packages.

for glade to work you need to run it from commandline with a rip envirionment, which sets the paths.

the problem is the buildin python interpreter in glade, which is set at compile time of glade.

the only solution is to update to a newer glade version.

On 31.05.21 13:35, andy pugh wrote:
On Mon, 31 May 2021 at 12:06, andy pugh <[email protected]> wrote:

*ImportError: /home/andypugh/linuxcnc-dev/lib/python/_hal.so: undefined
symbol: _Py_FalseStruct*

Google suggested that this could be due to running Py3 code in Py2, and
when I checked ("python --version") my default Python was still 2.7.

I ran "sudo update-alternatives --install /usr/bin/python python
/usr/bin/python3 10" and now my system defaults to Python 3, but even after
re-building LinuxCNC the Glade editor isn't loading the widgets.

However I am now wondering if the real problem is lower down in the output:

(glade:56119): GLib-CRITICAL **: 12:28:55.441: g_string_insert_c: assertion
'pos <= string->len' failed
(glade:56119): GLib-CRITICAL **: 12:28:55.441: g_string_insert_c: assertion
'pos <= string->len' failed



_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to