PnCConf Wizard doesn't launch

More
5 years 2 months ago - 5 years 2 months ago #216773 by CFE
Hi all,

I am setting up a computer to control our plasma cutter through a MESA 7i76E card. I got the ethernet connection established between the computer and the card, and I get info about the card when I go "mesaflash --device 7i76e --addr 10.10.10.10 --readhmid" in a terminal. So far, so good. But the PnCConf wizard doesn't launch from the applications menu, and if I try "pncconf" in a terminal then I get the following message :
/usr/bin/pncconf:43: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk as gtk
Traceback (most recent call last):
  File "/usr/bin/pncconf", line 45, in <module>
    import gtk.glade
ModuleNotFoundError: No module named 'gtk.glade'

We have a buildbot installation on buster, master-rtpreempt, 2.9, and I have installed glade with "sudo apt-get install glade" in a terminal.  How do we get the PnCConf wizard to work ?

Cheers, Peter
Last edit: 5 years 2 months ago by CFE.

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

More
5 years 2 months ago #216781 by cmorley
Looks like pncconf is broken in master now do to the python2/ python3 change.

I'm not sure why it was partially converted to python3.
This won't be quick to fix - sorry.

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

More
5 years 2 months ago #216801 by rodw
Replied by rodw on topic PnCConf Wizard doesn't launch
In the absence of pncconf. could you make a new folder under configs and copy these files into it.
This is based on an old example I shared here
forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
But then we went multi spindle so the original hal file is wrong. I think I updated the attached hal file to use spindle.0 but don't have a 7i76e on this PC to test.
Time to learn how to edit hal and ini files. (Just like I had to before pncconf supported the 7i76e)

Please let me know how you get on

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

More
5 years 2 months ago #216807 by BigJohnT
My configuration tools all work with Python 3, you should be able to get a working configuration with the 7i76e configuration tool.

gnipsel.com/mesa/index.html

JT

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

More
5 years 2 months ago #216816 by BigJohnT
Another option is to do a git checkout of 2.8 and build a RIP. Then run Pncconf from the RIP to build your configuration. Interesting I can't find any mention of how to build a RIP in the documents...

JT

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

More
5 years 2 months ago #216817 by BigJohnT

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

Moderators: cmorley
Time to create page: 0.338 seconds
Powered by Kunena Forum