PnCConf Wizard doesn't launch

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

I thought I post our question about the PnCConf Wizard here, since it looks like the PnCConf now takes care of configuring QtPlasmaC. I have a basic configuration (manually edited config files) and I am ready to set up QtPlasmaC.

I have set 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

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

More
5 years 2 months ago #217278 by phillc54
Unfortunately PnCconf was broken by the changeover to python3/GTK3. I have no idea when it will be fixed.

The solution at the moment is to setup another PC or a virtual machine with a version from before the changover and build the config with that.

Probably not the answer you were looking for but that is the current sad state of affairs...
 

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

More
5 years 2 months ago #217280 by CFE
Replied by CFE on topic PnCConf Wizard doesn't launch
Hi Phil,

Thanks for your reply. I have a PC currently controlling the plasma cutter with 2.8 and via parallel ports. Can the PnCConfig wizard in 2.8 be used to setup QtPlasmaC ? I could then transfer the files to the new computer ? Or will that break any symlinks ?

Cheers, Peter

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

More
5 years 2 months ago #217281 by phillc54
Unfortunately it can't, you need the master branch PnCconf as it is the only one with the QtPlamaC option.

If you are using the same settings and wiring on your master QtPlasmaC machine as the 2.8 PlasmaC machine then you could make a copy of the 2.8 machine config and copy it to the master machine config directory and when you try to run it then it "should" get updated to QtPlasmaC.

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

More
5 years 2 months ago #217282 by CFE
Replied by CFE on topic PnCConf Wizard doesn't launch
A bit worried about the "should", but I will give it a go. Thanks Phil.

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

More
5 years 2 months ago #217283 by phillc54

A bit worried about the "should", but I will give it a go. Thanks Phil.
Haha, that just means that there is no warranty. :)

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

Moderators: snowgoer540
Time to create page: 0.124 seconds
Powered by Kunena Forum