Ground Control crashes on launch

I am running a acer switch 3 with a NC4200 and windows 10 64bit
When I launch the “Launch Ground Control” a console opens up for a few seconds, runnes a few lines, closes and nothing more happens.

Did someone have the same issue?

Thanks

Is this repeatable? Is the same happening the if you launch it again?
(asking because I had the same only on first launch)

Yes, I was never able to run it!

And I already tried many versions of ground control. Always the same…

The latest version is always advised.
Sorry, linux guy here, but just went through a win10 installation to write a manual.
Are you using the portable version of GC from GitHub? Did you get security warning the first time you launched? Can you open a cmd window in the GC folder and type ->Launch Ground Control.bat<- ?
This way the console might stay open and give more info.

Just tried it and it works. But you need to use " before and after the Launch Ground Control.bat.

Both at the same time?

Yes, portable version of GC.
No, I don’t get a security warning. only if I directly run the GroundControl.exe

I get this from the console:

[INFO ] [Logger ] Record log in C:\Users\isai.kivy\logs\kivy_18-06-08_71.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
[INFO ] [Factory ] 194 symbols loaded
Traceback (most recent call last):
File “C:\Users\Bar\Git\GroundControl\main.py”, line 12, in
from kivy.app import App
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 396, in load_module
File “C:\Python27\lib\site-packages\kivy\app.py”, line 327, in
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 396, in load_module
File “C:\Python27\lib\site-packages\kivy\uix\widget.py”, line 244, in
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 396, in load_module
File “C:\Python27\lib\site-packages\kivy\graphics_init_.py”, line 89, in
context is unique for each instance/start() call of the module, and will
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 687, in load_module
File “kivy\graphics\vbo.pxd”, line 7, in init kivy.graphics.instructions (kivy\graphics\instructions.c:16488)
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 687, in load_module
File “kivy\graphics\compiler.pxd”, line 1, in init kivy.graphics.vbo (kivy\graphics\vbo.c:6998)
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 687, in load_module
File “kivy\graphics\shader.pxd”, line 5, in init kivy.graphics.compiler (kivy\graphics\compiler.c:4525)
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 687, in load_module
File “kivy\graphics\texture.pxd”, line 3, in init kivy.graphics.shader (kivy\graphics\shader.c:14021)
File “c:\users\bar\appdata\local\temp\pip-build-mzpgnb\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 687, in load_module
File “kivy\graphics\context_instructions.pxd”, line 1, in init kivy.graphics.texture (kivy\graphics\texture.c:33800)
ImportError: No module named context_instructions
[12152] Failed to execute script main

1 Like

Sorry the “C” was wrong!
It has an intel pentium N4200 inside!

Thank you for capturing that error message!

That looks to me like an issue within Kivy which is beyond my undersanding of how kivy works. My instinct is that something is different enough between the system I bundled it on and the system you are running it on that Kivy doesn’t want to play nice.

My first instinct is that we should try running from the source. Does running GC from the source sound like something you would be up for trying? (Instructions here)

2 Likes

@iangst

Please see the write up I have on this here:

https://www.disciplesofcnc.com/wiki/pmwiki.php?n=Site.KivyProblems

It might get you up and running.

Thank you

1 Like

First of all, many thanks for your help!

When I run GC from source code I get this:

C:\Program Files\GroundControl-Windows.Portable.v1.14\GroundControl>main.py
[INFO ] [Logger ] Record log in C:\Users\isai.kivy\logs\kivy_18-06-11_3.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[CRITICAL] [Window ] Unable to find any valuable Window provider.
sdl2 - ImportError: DLL load failed: %1 ist keine zulõssige Win32-Anwendung.
File “C:\Python27\lib\site-packages\kivy\core_init_.py”, line 59, in core_select_lib
fromlist=[modulename], level=0)
File “C:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py”, line 27, in
from kivy.input.provider import MotionEventProvider
File “C:\Python27\lib\site-packages\kivy\input_init_.py”, line 33, in
import kivy.input.providers
File “C:\Python27\lib\site-packages\kivy\input\providers_init_.py”, line 14, in
import kivy.input.providers.tuio
File “C:\Python27\lib\site-packages\kivy\input\providers\tuio.py”, line 42, in
from kivy.lib import osc
File “C:\Python27\lib\site-packages\kivy\lib\osc_init_.py”, line 24, in
from .oscAPI import *
File “C:\Python27\lib\site-packages\kivy\lib\osc\oscAPI.py”, line 33, in
import socket, os, time, errno, sys
File “C:\Python27\lib\socket.py”, line 47, in
import _socket

[INFO ] [Text ] Provider: sdl2
Traceback (most recent call last):
File “C:\Program Files\GroundControl-Windows.Portable.v1.14\GroundControl\main.py”, line 32, in
from UIElements.frontPage import FrontPage
ImportError: No module named UIElements.frontPage

@Bee: now I will try your stuff!

Thank you!

2 Likes

@Bee
I’m not able to boot the USB-stick, I made from your iso file… ?
It tells me, it wouldn’t be a bootable system.

But I was able to boot ubuntu 18 from stick.
Now I try to make a bootable stick with ubuntu 16.04 directly from UNetbootin.

2 Likes

Hmmm this could just be an issue with running the prepackaged version with the system python.

Will you try the same thing with the “download zip” version from the Github page?

1 Like

I’m getting closer:
A window opens up for half a second… :upside_down_face:

C:\Program Files\GroundControl-master>main.py
[INFO ] [Logger ] Record log in C:\Users\isai.kivy\logs\kivy_18-06-11_7.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the “OpenGL” graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <4.4.0 - Build 21.20.16.4639>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer <Intel® HD Graphics 505>
[INFO ] [GL ] OpenGL parsed version: 4, 4
[INFO ] [GL ] Shading version <4.40 - Build 21.20.16.4639>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Shader ] fragment shader: <WARNING: 0:7: ‘’ : #version directive missing>
[INFO ] [Shader ] vertex shader: <WARNING: 0:7: ‘’ : #version directive missing>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2
Traceback (most recent call last):
File “C:\Program Files\GroundControl-master\main.py”, line 32, in
from UIElements.frontPage import FrontPage
File “C:\Program Files\GroundControl-master\UIElements\frontPage.py”, line 15, in
from DataStructures.data import Data
File “C:\Program Files\GroundControl-master\DataStructures\data.py”, line 8, in
from DataStructures.logger import Logger
File “C:\Program Files\GroundControl-master\DataStructures\logger.py”, line 12, in
class Logger(MakesmithInitFuncs):
File “C:\Program Files\GroundControl-master\DataStructures\logger.py”, line 20, in Logger
with open(“log.txt”, “a”) as logFile:
IOError: [Errno 13] Permission denied: ‘log.txt’

2 Likes

Does it work if you move it to a location other than program files? I’m thinking that maybe program files is write protected

2 Likes

yay!!! Thank you so much! it works!
I will test it tomorrow with the machine.
Thanks to all of you for your super quick answers!

4 Likes

@Bee
Just to know:
I was able tu boot on Ubuntu 16.4 but only the 64 bit version.
With the 32 bit it was the same as with your iso file.

2 Likes

What hardware are you running on? Make and Model please.

Thank you

acer switch 3, Intel Pentium N4200 1,1 GHz, Intel HD Graphics 505, Windows 10 64bit