Pathpilot Glade idiots guide

More
6 years 5 months ago #167406 by Dorro1971
Thank you so much smgvbest.

I tried your advice but got an error at line 82 "cannot return from a function"
so i commented out the return statement...and then the whole case condition
along with line 146.

Sadly i still get "Failed to load /home/operator/v2.4.3/python/images/tormach_mill_ui.glade.
The following required catalogs are unavailable: gtksourceview"

I can install gtksourceview but then some widgets are depracted.

I can install an earlier version of glade but then gtksourceview is missing.

I thought it might simply be a case of opening the file with glade but it seems not..I don't really get all the commands that i need to enter just top open a file so i think i will continue editing the xml file.


Like I mentioned I have my machine running after building a custom bitfile and modifying hal so I'm just being nosey, that and my display is 1360X768 so i thought i could "stretch it" lol.

Thank you once again for your time, I think i need to build a gui from scratch to understand what's going on.......

Cheers, Ian

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #172344 by gerritv
I'm not sure what the repurcussions are but by deleting the line in .glade that says gtksourceview required I can now load the tormach-mill file. I installed glade 2.4, run it using glade-gtk2.
The following user(s) said Thank You: Dorro1971

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #172381 by Dorro1971
Thank you, I'll gove it a try when I'm next in the shop....

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #191447 by gerritv
I found the catalog file! opensuse.pkgs.org/tumbleweed/gnome-next-...1.17.x86_64.rpm.html .
I extracted the catalog file using zstd, it is attached for your viewing pleasure.

sudo cp the file to /usr/glade3/catalogs and you are set to go. As before use glade-gtk2 to edit the gui.

Gerrit

File Attachment:

File Name: gtksourceview.zip
File Size:915 B
Last edit: 5 years 10 months ago by gerritv.
The following user(s) said Thank You: snowgoer540, Dorro1971

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #191517 by Vmax549
So have you been able to mod the PathPilot screen and then load it and it run OK ??

(;-) TP

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #192280 by Dorro1971
YES! YES! YES!

I just copied the XML file into the home folder opened terminal

sudo cp gtksourceview.xml /usr/share/glade/catalogs

and double clicked the glade file in python/images

now I can edit!

THANK YOU! gerritv

Please Log in or Create an account to join the conversation.

Time to create page: 0.287 seconds
Powered by Kunena Forum