digital1@digital1:~/linuxcnc/configs/Dig1$ linuxcnc Dig1g.ini
LINUXCNC - 2.7.3
Machine configuration directory is '/home/digital1/linuxcnc/configs/Dig1'
Machine configuration file is 'Dig1g.ini'
Starting LinuxCNC...
.
Found file(REL): ./Dig1g.hal
Found file(REL): ./custom.hal
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 99, in _f
    return f(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/gladevcp/hal_actions.py", line 460, in on_activate
    ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
AttributeError: 'EMC_Action_MDI' object has no attribute 'stat'
./dig1g.py:26: RuntimeWarning: missing handler 'on_window1_destroy'
  self.builder.connect_signals(self)
/usr/bin/gladevcp:212: RuntimeWarning: missing handler 'on_window1_destroy'
  builder.connect_signals(handlers)
Xlib.protocol.request.QueryExtension
Xlib.protocol.request.QueryExtension
task: main loop took 0.123593 seconds
Emit interp-run
activ_inc called
activ_inc called
/usr/bin/gladevcp:295: GtkWarning: GdkWindow 0x4200003 unexpectedly destroyed
  gtk.main()
Shutting down and cleaning up LinuxCNC...
**** GLADE VCP ERROR:    X Protocol Error: 3
task: 4443 cycles, min=0.000020, max=0.123593, avg=0.010182, 1 latency excursions (> 10x expected cycle time of 0.010000s)