PyNgcGui Build Fault

More
17 Feb 2014 23:52 #43919 by LAIR82
PyNgcGui Build Fault was created by LAIR82
Hello Guys,

I am freshening up one of my turning centers that is running Gscreen, it was about 8 months behind on being current with all of the updates that have been made to it. Last week I did the same exact routine on another turning center, getting it current, and had no issues, today is a different story,

I am getting the following when trying to start linux now, I went back and re-compiled to see if maybe there might have been an issue, but came up with the same result.

Here is the fault,

cinci15cc@cinci15cc:~/linuxcnc-dev$ linuxcnc
LINUXCNC - 2.6.0~pre
Machine configuration directory is '/home/cinci15cc/linuxcnc/configs/15cc'
Machine configuration file is 'mygscreen.ini'
Starting LinuxCNC...
io started
halcmd loadusr io started
INFO CLASSICLADDER- No ladder GUI requested-Realtime runs till HAL closes.
task pid=5364
emcTaskInit: using builtin interpreter
/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py:114: Warning: cannot register existing type `PyNgcGui'
type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
File "/home/cinci15cc/linuxcnc-dev/bin/gscreen", line 37, in <module>
import gladevcp.makepins
File "/home/cinci15cc/linuxcnc-dev/lib/python/gladevcp/__init__.py", line 1, in <module>
from hal_pythonplugin import *
File "/home/cinci15cc/linuxcnc-dev/lib/python/gladevcp/hal_pythonplugin.py", line 35, in <module>
from hal_pyngcgui import PyNgcGui
File "/home/cinci15cc/linuxcnc-dev/lib/python/gladevcp/hal_pyngcgui.py", line 31, in <module>
class PyNgcGui(gtk.Frame,hal_actions._EMC_ActionBase):
File "/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py", line 60, in __init__
cls._type_register(cls.__dict__)
File "/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py", line 114, in _type_register
type_register(cls, namespace.get('__gtype_name__'))
RuntimeError: could not create new GType: PyNgcGui (subclass of GtkFrame)
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Cleanup done
LinuxCNC terminated with an error. You can find more information in the log:
/home/cinci15cc/linuxcnc_debug.txt
and
/home/cinci15cc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
cinci15cc@cinci15cc:~/linuxcnc-dev$

Any thoughts?


Thanks

Rick

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

More
18 Feb 2014 00:15 #43920 by dgarrett
Replied by dgarrett on topic PyNgcGui Build Fault
see
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...e20728207bb940f8a86c


you can remove the files manually, or safer:

cd your_linuxcnc_root
git clean -nfd # to see what would be removed
git clean -xfd # to remove them

you can also cd to a lower directory in the tree to use git clean

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

More
18 Feb 2014 00:37 #43921 by LAIR82
Replied by LAIR82 on topic PyNgcGui Build Fault
Does this look right/ok?

cinci15cc@cinci15cc:~/linuxcnc-dev$ git clean -nfd
Would remove configs/Sherline3Axis/
Would remove configs/SherlineLathe/
Would remove configs/cooltool/
Would remove configs/demo_sim_cl/
Would remove configs/demo_step_cl/
Would remove configs/halui_pyvcp/
Would remove configs/lathe-pluto/
Would remove configs/motenc/
Would remove configs/stepper/
Would remove configs/stg/
Would remove configs/vti/
Would remove lathe_style_tool_change2.patch
Would remove lathe_style_toolchange_G10_fix.patch
Would remove lib/python/gladevcp/pyngcgui.py
Would remove lib/python/stepconf/
Would remove python/
Would remove share/emc/
Would remove share/linuxcnc/stepconf/
Would remove src/config.h.in~
cinci15cc@cinci15cc:~/linuxcnc-dev$


Rick

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

More
18 Feb 2014 01:02 #43923 by dgarrett
Replied by dgarrett on topic PyNgcGui Build Fault
git clean will remove items that _you_ have added to the tree and leftovers from structural changes to the tree (like Would remove lib/python/gladevcp/pyngcgui.py)

It is generally safe to use unless one of the files identified for removal is one you have added.

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

More
18 Feb 2014 02:46 #43925 by LAIR82
Replied by LAIR82 on topic PyNgcGui Build Fault
That did the trick, it started up just fine now.



Thanks

Rick

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

Moderators: mhaberlerHansU
Time to create page: 0.127 seconds
Powered by Kunena Forum