- Posts: 731
- Thank you received: 217
gladevcp catalog, and other questions
3 years 9 months ago #262948
by HansU
Replied by HansU on topic gladevcp catalog, and other questions
First remark: glade-gtk2 is for Glade 2 (like the name says) and therefore only up to LinuxCNC 2.8 applicable.
You have to use Glade 3, latest version is 3.40, but 3.22 for example works as well.
I haven't tried to set up the glade catalog globally, instead I started Glade from a RIP (run in place) environment and that works well. Maybe you can give this a try.
You have to use Glade 3, latest version is 3.40, but 3.22 for example works as well.
I haven't tried to set up the glade catalog globally, instead I started Glade from a RIP (run in place) environment and that works well. Maybe you can give this a try.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #262975
by blazini36
Replied by blazini36 on topic gladevcp catalog, and other questions
I should have been clear.....I know all about the gtk2/python2/<2.8 thing goes. I'm actually trying to get started converting a GTK2 UI into a GTK3 UI. I was just making the point that I've used GladeVCP many times so I know what it used to take to do it. What I cannot get working is GladeVCP for GTK3. The glade version I'm trying to run this on is 3.40. As I said in the last post, the first thing I tried was to get it running on a 2.9 RIP on my workstation......then Debian Bookworm in a VM using the apt version of linuxcnc/dev. One of those should be able to workFirst remark: glade-gtk2 is for Glade 2 (like the name says) and therefore only up to LinuxCNC 2.8 applicable.
You have to use Glade 3, latest version is 3.40, but 3.22 for example works as well.
I haven't tried to set up the glade catalog globally, instead I started Glade from a RIP (run in place) environment and that works well. Maybe you can give this a try.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #262978
by cmorley
Replied by cmorley on topic gladevcp catalog, and other questions
ModuleNotFoundError: No module named '_hal'
This is typical of a Python version error. Do you have multiple versions of python3 on the system?
I vaguely remember an issue with linuxcnc not correctly finding the right versions in some situations.
This is typical of a Python version error. Do you have multiple versions of python3 on the system?
I vaguely remember an issue with linuxcnc not correctly finding the right versions in some situations.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #262981
by blazini36
Replied by blazini36 on topic gladevcp catalog, and other questions
Probably. That error is on the bone stock Bookworm VM install, I only installed LinuxCNC and the deps on that and nothing else so I'd assume every bookworm install has python3, python3.10 and python3.11 in /usr/binModuleNotFoundError: No module named '_hal'
This is typical of a Python version error. Do you have multiple versions of python3 on the system?
I vaguely remember an issue with linuxcnc not correctly finding the right versions in some situations.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #262989
by HansU
Replied by HansU on topic gladevcp catalog, and other questions
I only did run Glade on a RIP build on Buster. But I guess that doesn't help you.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #263144
by blazini36
Replied by blazini36 on topic gladevcp catalog, and other questions
Is there no way to separate the assets from the LinuxCNC environment and actually package qtvcp and gladevcp as standalone developement tools? qtvcp and gladevcp are both a huge PIA lately because of having to actually run Linuxcnc. Arch hasn't been able to properly run LinuxCNC at all for the past few months, you can start LinuxCNC.....but it's a zombie. I have a machine that ran Arch (Manjaro actually) and 2.8.4 is dead after updating it recently. RIP builds don't work either.
I get that LinuxCNC is geared towards Debian, that's fine. I know fairly little about programming but I'd assume it would be alot easier to manage in the long run if all the vcp assets could be loaded without the LinuxCNC environment, or at least a much more stripped down version of it.
I've gotten qtvcp to load fully into designer in a bookworm VM running the apt version of linuxcnc. I can now get the gladevcp widgets loaded into glade but the icons are dead (this is a git issue). Trick to GladeVCP is as cmorely mentioned......you have to add the widget path to glade preferences, no amount of exporting path anything seems to work anymore. I can make do with the VM but it's alot easier to work with software that's running natively.
I get that LinuxCNC is geared towards Debian, that's fine. I know fairly little about programming but I'd assume it would be alot easier to manage in the long run if all the vcp assets could be loaded without the LinuxCNC environment, or at least a much more stripped down version of it.
I've gotten qtvcp to load fully into designer in a bookworm VM running the apt version of linuxcnc. I can now get the gladevcp widgets loaded into glade but the icons are dead (this is a git issue). Trick to GladeVCP is as cmorely mentioned......you have to add the widget path to glade preferences, no amount of exporting path anything seems to work anymore. I can make do with the VM but it's alot easier to work with software that's running natively.
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.072 seconds