errors running PnCConf from terminal
24 Dec 2012 23:50 #28008
by jj89074
errors running PnCConf from terminal was created by jj89074
I am a new user of LinuxCNC and have an old Anilam controlled mill I am retrofitting with a 5i25 & 7i77. I've tried running PncConf, but it fails to work correctly when testing any axis.
I've tried a fresh install, re-booting the computer, running PnCConf from a terminal and running halrun -U to stop hal before running PnCConf, but nothing seems to work.
I get the following error messages when I run PnCConf from a terminal:
mega@mega-cnc:~$ pncconf
/usr/bin/pncconf:3999: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/mega/Desktop/custom_firmware/firmware.py
Any help is appreciated.
Thanks,
Jim
I've tried a fresh install, re-booting the computer, running PnCConf from a terminal and running halrun -U to stop hal before running PnCConf, but nothing seems to work.
I get the following error messages when I run PnCConf from a terminal:
mega@mega-cnc:~$ pncconf
/usr/bin/pncconf:3999: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/mega/Desktop/custom_firmware/firmware.py
Any help is appreciated.
Thanks,
Jim
Please Log in or Create an account to join the conversation.
25 Dec 2012 00:07 - 25 Dec 2012 00:09 #28011
by PCW
Replied by PCW on topic errors running PnCConf from terminal
Unfortunately Chris is on vacation so may not be available to help with this.
Does pncconf start? (I think it always has some harmless errors reported)
Do you have the 5i25 XML files installed? (see the beginning of the pncconf forum section)
Does pncconf start? (I think it always has some harmless errors reported)
Do you have the 5i25 XML files installed? (see the beginning of the pncconf forum section)
Last edit: 25 Dec 2012 00:09 by PCW.
Please Log in or Create an account to join the conversation.
25 Dec 2012 00:24 #28012
by jj89074
Replied by jj89074 on topic errors running PnCConf from terminal
Yes, I installed the XML files pinned at the top of this forum and I can run PnCConf.
I can progress thru PnCConf past setting-up the 7i77, but I get errors when I try to test any axis motor.
I can progress thru PnCConf past setting-up the 7i77, but I get errors when I try to test any axis motor.
Please Log in or Create an account to join the conversation.
25 Dec 2012 01:46 #28018
by PCW
Replied by PCW on topic errors running PnCConf from terminal
What are the errors?
Please Log in or Create an account to join the conversation.
25 Dec 2012 05:28 #28022
by jj89074
Replied by jj89074 on topic errors running PnCConf from terminal
The errors are in a pop-up window:
PNCconf encountered an error. The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/bin/pncconf", line 9334, in on_enableamp_toggled
self.update_axis_params()
File "/usr/bin/pncconf", line 9304, in update_axis_params
halrun.flush()
IOError: [Errno 32] Broken pipe
PNCconf encountered an error. The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/bin/pncconf", line 9334, in on_enableamp_toggled
self.update_axis_params()
File "/usr/bin/pncconf", line 9304, in update_axis_params
halrun.flush()
IOError: [Errno 32] Broken pipe
Please Log in or Create an account to join the conversation.
25 Dec 2012 05:38 #28023
by PCW
Replied by PCW on topic errors running PnCConf from terminal
I would first try the basic 7I77 hm2-servo config files to verify that the hardware is working properly
There may also be a newer pncconf version on the buildbot in case this is a pncconf bug
There may also be a newer pncconf version on the buildbot in case this is a pncconf bug
Please Log in or Create an account to join the conversation.
25 Dec 2012 09:37 #28025
by cncbasher
Replied by cncbasher on topic errors running PnCConf from terminal
this looks like a pncconf bug , are you using the live cd ? , changes have been made , i'd suggest as PCW says use buildbot version
Please Log in or Create an account to join the conversation.
27 Dec 2012 01:01 #28047
by jj89074
Replied by jj89074 on topic errors running PnCConf from terminal
OK, I've got the latest version from buildbot and I was able to get the mill up and running. I still get the error messages when running PnCConf from the terminal, but it works OK anyway.
I've re-run PnCConf quite a few times now (each time I add a new item: axis enable, E-Stop, Spindle control, etc.) and it updates things correctly. I know I can manually edit my files to do this, but I am new to Linux and LinuxCNC and the learning curve is a little steep. PnCConf has really helped in this regard and I think it will make life a lot easier for new people to adopt LinuxCNC.
I've been using Mach3 for five years and I already like LinuxCNC better.
Thanks for the help!
Jim
I've re-run PnCConf quite a few times now (each time I add a new item: axis enable, E-Stop, Spindle control, etc.) and it updates things correctly. I know I can manually edit my files to do this, but I am new to Linux and LinuxCNC and the learning curve is a little steep. PnCConf has really helped in this regard and I think it will make life a lot easier for new people to adopt LinuxCNC.
I've been using Mach3 for five years and I already like LinuxCNC better.
Thanks for the help!
Jim
Please Log in or Create an account to join the conversation.
27 Dec 2012 02:17 #28052
by cncbasher
Replied by cncbasher on topic errors running PnCConf from terminal
their are a few errors that show when using a terminal , but do not stop pncconf from working , so don't worry theirs nothing wrong with your install
glad you like linuxcnc , and welcome
glad you like linuxcnc , and welcome
Please Log in or Create an account to join the conversation.
27 Dec 2012 02:45 #28056
by BigJohnT
Replied by BigJohnT on topic errors running PnCConf from terminal
Jim,
Welcome to LinuxCNC!
IIRC they are just warnings you can ignore.
John
Welcome to LinuxCNC!
IIRC they are just warnings you can ignore.
John
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.156 seconds