- Posts: 11
- Thank you received: 0
Lathe Macros
4 years 2 weeks ago #254278
by Thompo
Replied by Thompo on topic Lathe Macros
As i typed that, i thought to try and open the lathemacro.ui directly in glade and get error
Failed to load /home/neil/linuxcnc/configs/lathe_test/macros/lathemacro.ui.
"The following required catalogs are unavailable: gladevcp"
Searching for this sounds like a tomorrow job lol
Failed to load /home/neil/linuxcnc/configs/lathe_test/macros/lathemacro.ui.
"The following required catalogs are unavailable: gladevcp"
Searching for this sounds like a tomorrow job lol
Please Log in to join the conversation.
4 years 2 weeks ago #254286
by andypugh
Replied by andypugh on topic Lathe Macros
It works for me on Debian 10 (Buster) with Glade 3.22
It does sound like you don't have gladevcp, which is part of LinuxCNC.
On my system:
(Bear in mind that this is the system that I was experimenting with Python 2 and GTK2 with, I would expect different paths on your system.
What LinuxCNC version and lathemacro version are you using?
It does sound like you don't have gladevcp, which is part of LinuxCNC.
On my system:
Code:
andypugh@2:~/linuxcnc/configs/sim.gmoccapy.lathe_configs$ sudo find / -name gladevcp
[sudo] password for andypugh:
/usr/lib/python2.7/dist-packages/gladevcp
/usr/share/doc/linuxcnc/examples/sample-configs/apps/gladevcp
/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/gladevcp
/usr/share/doc/linuxcnc/examples/sample-configs/sim/touchy/gladevcp
/usr/bin/gladevcp
(Bear in mind that this is the system that I was experimenting with Python 2 and GTK2 with, I would expect different paths on your system.
What LinuxCNC version and lathemacro version are you using?
Please Log in to join the conversation.
4 years 2 weeks ago #254311
by Thompo
Replied by Thompo on topic Lathe Macros
Thankyou for the assistance, really appreciate it!
Im running 2.9.0 on Mint 21 with RT Kernel as below.
I ran a search on my system for GladeVCP as a folder and got this.
Looks like its there but maybe not in the right place for this to work?
Thanks[/code]
Im running 2.9.0 on Mint 21 with RT Kernel as below.
Code:
[code]Download the RT kernel from:http://ftp.de.debian.org/debian/pool/main/l/linux-signed-amd64/linux-image-5.19.0-2-rt-amd64_5.19.11-1_amd64.deb
Download the LinuxCNC deb from:http://http.us.debian.org/debian/pool/main/l/linuxcnc/linuxcnc-uspace_2.9.0~pre0+git20220906.02744cdef6-1_amd64.deb
I ran a search on my system for GladeVCP as a folder and got this.
Attachment not found
Looks like its there but maybe not in the right place for this to work?
Thanks[/code]
Please Log in to join the conversation.
4 years 2 weeks ago #254315
by andypugh
Replied by andypugh on topic Lathe Macros
Maybe try installing the linuxcnc-dev package. That might help.
Do any of the gladevcp demo configs run for you? (for example sim/axis/gladevcp)
Do any of the gladevcp demo configs run for you? (for example sim/axis/gladevcp)
Please Log in to join the conversation.
4 years 1 week ago #254357
by Thompo
Replied by Thompo on topic Lathe Macros
thanks Andy i tried to get the dev version here
http.us.debian.org/debian/pool/main/l/linuxcnc/
but it comes up saying already installed.
I cant open any .ui files, i get the same error in glade
"The following required catalogs are unavailable: gladevcp"
Looking at the .ui file, im guessing line 5 is my problem?
Completely green to all this so im finding it tough going, would i be better creating a post elsewhere so as not to pollute this thread?
###EDIT!!!###
i just seen your bit about trying the sim/Axis options and they seem to work ok, but the gmocappy lathe_macro simulation, displays the tab in the main window but stays on the main screen when clicked.
http.us.debian.org/debian/pool/main/l/linuxcnc/
but it comes up saying already installed.
I cant open any .ui files, i get the same error in glade
"The following required catalogs are unavailable: gladevcp"
Looking at the .ui file, im guessing line 5 is my problem?
Attachment not found
Completely green to all this so im finding it tough going, would i be better creating a post elsewhere so as not to pollute this thread?
###EDIT!!!###
i just seen your bit about trying the sim/Axis options and they seem to work ok, but the gmocappy lathe_macro simulation, displays the tab in the main window but stays on the main screen when clicked.
Attachment not found
Please Log in to join the conversation.
4 years 1 week ago #254363
by andypugh
Replied by andypugh on topic Lathe Macros
You could try deleting that line from the .ui file. (It is commented out in the sample files)
Please Log in to join the conversation.
4 years 1 week ago #254374
by Thompo
Replied by Thompo on topic Lathe Macros
Deleting the line <requires lib="gladeui" version="0.0"/>
Glade opens without error but im not sure it looks correct once inside? Im expecting to see a series of graphics that contain the textbox inputs that feed the macros? but im not sure if linuxcnc generates these when it runs?
Im sure this is something simple and most likely user error :side:
Attachment not found
Glade opens without error but im not sure it looks correct once inside? Im expecting to see a series of graphics that contain the textbox inputs that feed the macros? but im not sure if linuxcnc generates these when it runs?
Im sure this is something simple and most likely user error :side:
Please Log in to join the conversation.
4 years 1 week ago #254375
by andypugh
Replied by andypugh on topic Lathe Macros
Glade is not finding gladevcp.
(Nor is LinuxCNC)
It looks like you can add it to glade (but that might not help LinuxCNC)
(Nor is LinuxCNC)
It looks like you can add it to glade (but that might not help LinuxCNC)
Attachment not found
Attachment not found
Please Log in to join the conversation.
4 years 1 week ago #254376
by andypugh
Replied by andypugh on topic Lathe Macros
(But if you can find one under Python3, definitely use that one)
Please Log in to join the conversation.
4 years 1 week ago #254469
by Thompo
Replied by Thompo on topic Lathe Macros
Success i think...
Removed and reinstalled linuxcnc got an error with ref to "gi.require_version('Rsvg', '2.0')"
Found this, while searching for help wth it stackoverflow.com/questions/10393675/rsv...python-3-2-on-ubuntu
Ran this
90% sure that was installed previously but might have been on a previous attempt
And it worked
Now i just have to replicate the lathe_macro sim on my setup then move the PC back out the shed and see if the lathe runs.
Thanks for your assistance[/code]
Removed and reinstalled linuxcnc got an error with ref to "gi.require_version('Rsvg', '2.0')"
Found this, while searching for help wth it stackoverflow.com/questions/10393675/rsv...python-3-2-on-ubuntu
Ran this
Code:
[code]sudo apt-get install gir1.2-rsvg-2.0 python3-cairo python3-gi
Which installed this
gir1.2-rsvg-2.0:amd64 (2.52.5+dfsg-3)
90% sure that was installed previously but might have been on a previous attempt
And it worked

Attachment not found
Now i just have to replicate the lathe_macro sim on my setup then move the PC back out the shed and see if the lathe runs.
Thanks for your assistance[/code]
Please Log in to join the conversation.
Time to create page: 0.973 seconds
