I’ve managed to get a decent calibration on my non standard frame, finally.
Just before I had to leave the workshop this morning, I thought I’d have a go at cutting a gcode file, so I used the ‘Open File’ button. GC crashed, and it wasn’t a one-off. The crash message is here:
[INFO ] Kivy v1.8.0[INFO ] [Logger ] Record log in /root/.kivy/logs/kivy_17-08-19_3.txt[INFO ] [Factory ] 157 symbols loaded[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones[INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s[DEBUG ] [Window ] Ignored <egl_rpi> (import error)[INFO ] [Window ] Provider: pygame([‘window_egl_rpi’] ignored)[DEBUG ] [Window ] Display driver x11[DEBUG ] [Window ] Actual window size: 800x600[DEBUG ] [Window ] Actual color bits r8 g8 b8 a0[DEBUG ] [Window ] Actual depth bits: 24[DEBUG ] [Window ] Actual stencil bits: 8[DEBUG ] [Window ] Actual multisampling samples: 2[INFO ] [GL ] OpenGL version <3.0 Mesa 10.3.2>[INFO ] [GL ] OpenGL vendor [INFO ] [GL ] OpenGL renderer <Gallium 0.4 on NVA8>[INFO ] [GL ] OpenGL parsed version: 3, 0[INFO ] [GL ] Shading version <1.30>[INFO ] [GL ] Texture max size <8192>[INFO ] [GL ] Texture max units <16>[DEBUG ] [Shader ] Fragment compiled successfully[DEBUG ] [Shader ] Vertex compiled successfully[DEBUG ] [ImagePygame ] Load </usr/lib/python2.7/dist-packages/kivy/data/glsl/default.png>[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked[INFO ] [Text ] Provider: pygame[DEBUG ] [Cache ] register <kv.loader> with limit=500, timeout=60s[INFO ] [Loader ] using a thread pool of 2 workers[DEBUG ] [Cache ] register <textinput.label> with limit=None, timeout=60.0s[DEBUG ] [Cache ] register <textinput.width> with limit=None, timeout=60.0s[DEBUG ] [App ] Loading configuration </root/groundcontrol.ini>[DEBUG ] [App ] Loading kv <./groundcontrol.kv>[INFO ] [OSC ] using for socket[DEBUG ] [Base ] Create provider from mouse,disable_multitouch[DEBUG ] [Base ] Create provider from probesysfs[DEBUG ] [ProbeSysfs ] using probsysfs![INFO ] [Base ] Start application main loop[DEBUG ] [Atlas ] Load </usr/lib/python2.7/dist-packages/kivy/data/…/data/images/defaulttheme.atlas>[DEBUG ] [Atlas ] Need to load 1 images[DEBUG ] [Atlas ] Load </usr/lib/python2.7/dist-packages/kivy/data/…/data/images/defaulttheme-0.png>[DEBUG ] [ImagePygame ] Load </usr/lib/python2.7/dist-packages/kivy/data/…/data/images/defaulttheme-0.png>[INFO ] [GL ] NPOT texture support is available
Connected on port /dev/ttyACM1
Sending: B12 I0 J8148.0 K10 M6.35 N3.17 P7560.0 S400 T5 U10 V20 W1 X0 Sending: B03 A1200 C1219.2 Q2308.56 E516.47 F263.15 R139 H79 Y1 Z100 Machine Position Report Command Misread Happened OnceSending: ~ Sending: B12 I0 J8148.0 K10 M6.35 N3.17 P7560.0 S400 T5 U10 V20 W1 X0 Sending: B03 A1200 C1219.2 Q2308.56 E516.47 F263.15 R139 H79 Y1 Z100 Sending: B05 Sending: G21 Sending: ~ Sending: G91 G00 Y-10.0 G90 Sending: G91 G00 Y-10.0 G90 Sending: G91 G00 Y-10.0 G90 Sending: G91 G00 Y-10.0 G90 Sending: G91 G0 X-10.0 G90 Sending: G91 G0 X-10.0 G90 Sending: G91 G0 X-10.0 G90 [INFO ] [Base ] Leaving application in progress… Traceback (most recent call last): File “./main.py”, line 643, in GroundControlApp().run() File “/usr/lib/python2.7/dist-packages/kivy/app.py”, line 792, in run runTouchApp() File “/usr/lib/python2.7/dist-packages/kivy/base.py”, line 481, in runTouchApp EventLoop.window.mainloop() File “/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py”, line 381, in mainloop self._mainloop() File “/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py”, line 287, in _mainloop EventLoop.idle() File “/usr/lib/python2.7/dist-packages/kivy/base.py”, line 324, in idle self.dispatch_input() File “/usr/lib/python2.7/dist-packages/kivy/base.py”, line 309, in dispatch_input post_dispatch_input(*pop(0)) File “/usr/lib/python2.7/dist-packages/kivy/base.py”, line 220, in post_dispatch_input listener.dispatch(‘on_motion’, etype, me) File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/core/window/init.py”, line 645, in on_motion self.dispatch(‘on_touch_down’, me) File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/core/window/init.py”, line 657, in on_touch_down if w.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/popup.py”, line 185, in on_touch_down return super(Popup, self).on_touch_down(touch) File “/usr/lib/python2.7/dist-packages/kivy/uix/modalview.py”, line 243, in on_touch_down super(ModalView, self).on_touch_down(touch) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/relativelayout.py”, line 203, in on_touch_down ret = super(RelativeLayout, self).on_touch_down(touch) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 284, in on_touch_down if child.dispatch(‘on_touch_down’, touch): File “kivy/_event.pyx”, line 316, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4690) File “/usr/lib/python2.7/dist-packages/kivy/uix/behaviors.py”, line 93, in on_touch_down self.dispatch(‘on_press’) File “kivy/_event.pyx”, line 312, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4636) File “/usr/lib/python2.7/dist-packages/kivy/lang.py”, line 1299, in custom_callback exec(kvlang.co_value, idmap) File “./groundcontrol.kv”, line 212, in on_press: root.openFile() File “/tree/projects/maslow/groundcontrol/GroundControl-master/UIElements/viewMenu.py”, line 25, in openFile content = LoadDialog(load=self.load, cancel=self.dismiss_popup) File “/usr/lib/python2.7/dist-packages/kivy/uix/floatlayout.py”, line 66, in init super(FloatLayout, self).init(**kwargs) File “/usr/lib/python2.7/dist-packages/kivy/uix/layout.py”, line 63, in init super(Layout, self).init(**kwargs) File “/usr/lib/python2.7/dist-packages/kivy/uix/widget.py”, line 173, in init Builder.apply(self) File “/usr/lib/python2.7/dist-packages/kivy/lang.py”, line 1566, in apply self._apply_rule(widget, rule, rule) File “/usr/lib/python2.7/dist-packages/kivy/lang.py”, line 1673, in _apply_rule self._apply_rule(child, crule, rootrule) File “/usr/lib/python2.7/dist-packages/kivy/lang.py”, line 1633, in _apply_rule cls = Factory_get(cname) File “/usr/lib/python2.7/dist-packages/kivy/factory.py”, line 119, in getattr raise FactoryException(‘Unknown class <%s>’ % name) kivy.factory.FactoryException: Unknown class
Apologies for the formatting, but the last line is probably the important one. I haven’t had time to look at the code, but I can’t see anything like this on the forum. Any ideas?