I seemed to have borked my GTK/Glade installation
- JetForMe
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 308
- Thank you received: 27
03 Sep 2024 01:47 - 03 Sep 2024 01:48 #309246
by JetForMe
I seemed to have borked my GTK/Glade installation was created by JetForMe
I was running a 2.9.0 prerelease and decided to upgrade to the current 2.9.3. That seemed to go smoothly, but now when I launch linuxcnc, it exits with the following. Looking at the apt upgrade transcript, it definitely installed some GTK stuff. But this is the main error:
I've struggled a lot in the past with GTK 2 vs 3 issues. I'd be happy to move to GTK 3, if Axis and LinuxCNC can handle that, but I'm not sure how it would break my VCP. I've attached some files in case they help
**** GLADE VCP ERROR: With xml file: ./lzpanel.ui : 'gi.repository.Gtk' object has no attribute 'glade'
I've struggled a lot in the past with GTK 2 vs 3 issues. I'd be happy to move to GTK 3, if Axis and LinuxCNC can handle that, but I'm not sure how it would break my VCP. I've attached some files in case they help
Last edit: 03 Sep 2024 01:48 by JetForMe.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
05 Sep 2024 13:53 #309409
by andypugh
Replied by andypugh on topic I seemed to have borked my GTK/Glade installation
In the ui file it says:
interface-requires gladevcp 0.0
requires lib="gtk+" version="2.24"
Whereas the current version of the lathemacros has
<requires lib="gtk+" version="3.4"/>
<requires lib="gladevcp" version="0.0"/>
Do any of the sample gladevcp configs work?
It might help to open your .ui file in the latest glade and then re-save it.
interface-requires gladevcp 0.0
requires lib="gtk+" version="2.24"
Whereas the current version of the lathemacros has
<requires lib="gtk+" version="3.4"/>
<requires lib="gladevcp" version="0.0"/>
Do any of the sample gladevcp configs work?
It might help to open your .ui file in the latest glade and then re-save it.
Please Log in or Create an account to join the conversation.
- JetForMe
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 308
- Thank you received: 27
30 Apr 2025 02:42 #327326
by JetForMe
Replied by JetForMe on topic I seemed to have borked my GTK/Glade installation
I think the last time I tried to update to GTK+3, a bunch of the components no longer existed, like HAL_HideTable. Where do those come from?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
02 May 2025 19:57 #327537
by andypugh
Replied by andypugh on topic I seemed to have borked my GTK/Glade installation
Anything HAL in GTK will have come with the LinuxCNC installation.
It _might_ help to install linuxcnc-uspace-dev (it won't hurt, at least)
It _might_ help to install linuxcnc-uspace-dev (it won't hurt, at least)
Please Log in or Create an account to join the conversation.
- JetForMe
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 308
- Thank you received: 27
03 May 2025 02:07 #327577
by JetForMe
Replied by JetForMe on topic I seemed to have borked my GTK/Glade installation
I finally managed to sort it out and update my .ui file to GTK+3. I wish there was a better guide for the various LinuxCNC-specific components and the migration necessary.
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.061 seconds