Pathpilot Glade idiots guide

More
6 years 5 months ago #166906 by Dorro1971
Hi Folks,

Is there an idiots guide for Pathpilot with Glade?..

I have Pathpilot 2.4 installed and working I even managed to create a custom bitfile for my 7i92.

I'm just getting nosy and would like to poke around the GUI a little bit.

I have installed gtksourceview as it didn't seem to be part of the install but it looks like the gui was created with Glade 2.16.0 as it complains about the current version (3) and some widgets are deprecated when i analyse it.
I edited the source to change requirements to Glade3 but the deprecated widgets are still not present..
I also tried installing Glade 2.16.0 with some success but now gtksourcview catalogs are unavailable and the gui cannot be loaded.

I'm a little stuck from here and also pretty new to linux so any help would be great.

On the plus side, my lathe is fully functional have simulated a tool turret and with a little arduino work that will be my next project.

I have fitted Baumer MY-Com switches to the x and z axis and now homes perfectly to a micron or 3 every time.

Anyhow, thanks for a great forum..and any help ...

Dorro

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

More
6 years 5 months ago #166910 by tommylight
I could have sworn that i have already read this post earlier today ........................

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

More
6 years 5 months ago #166949 by Dorro1971
Lol.. sorry I posted it on the wrong section and moved it!...

My apologies!
The following user(s) said Thank You: tommylight

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

More
6 years 5 months ago #166950 by tommylight

Dorro1971 wrote: Lol.. sorry I posted it on the wrong section and moved it!...

My apologies!

Was thinking i am seeing things before they happen ! :)

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

More
6 years 5 months ago #166991 by Dorro1971
Nope...just me being a spanner!

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

More
6 years 5 months ago - 6 years 5 months ago #167274 by smgvbest
when you edit the glade file, glade doesn't know about the PP environment yet.
to let it know and before running glade run ~tmc/scripts/rip-environment.sh

then run glade. i suggest running glade from cmdline

so
~tmc/scripts/rip-environment.sh
glade ~/tmc/python/images/tormach_mill_ui.glade

see if that helps
if you run into this error
./rip-environment.sh: line 146: /home/operator/tmc/scripts/venv/bin/activate: No such file or directory

edit rip-environment.sh and find activate
comment it out
it should work fine even if you don't but if you want to get rid of the error

so change this
# must activate virtualenv for python packages
source $EMC2_HOME/venv/bin/activate

to this

# must activate virtualenv for python packages
# source $EMC2_HOME/venv/bin/activate
Last edit: 6 years 5 months ago by smgvbest.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum