# Ground Control D-Bus startup error

**URL:** https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161
**Category:** Ground Control
**Created:** [March 16, 2019, 10:30am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161 "2019-03-16T10:30:34Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 10:30am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/1 "2019-03-16T10:30:34Z")

</div>

Gradually getting toi the point of Ground COntrol running (upgraded Linux to Ubuntu 18…etc), but now have encountered the following issue:  
_[INFO] [Logger] Record log in /home/jules-tb/.kivy/logs/kivy\_19-03-16\_2.txt_

- [INFO] [Kivy] v1.9.1\*

- [INFO] [Python] v2.7.15rc1 (default, Nov 12 2018, 14:31:15) \*

- [GCC 7.3.0]\*

- [INFO] [Factory] 179 symbols loaded\*

- [INFO] [Image] Providers: img\_tex, img\_dds, img\_gif, img\_sdl2, img\_pil (img\_ffpyplayer ignored)\*

- [INFO] [OSC] using for socket\*

- [INFO] [Window] Provider: sdl2([‘window\_egl\_rpi’] ignored)\*

- dbus[2846]: arguments to dbus\_message\_new\_method\_call() were incorrect, assertion “path != NULL” failed in file …/…/…/dbus/dbus-message.c line 1362.\*

- This is normally a bug in some application using the D-Bus library.\*

- 

```
 D-Bus not built with -rdynamic so unable to print a backtrace*

```

- Aborted (core dumped)\*

Any suggestions?

---

<div class="post-metadata">

### Author: ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)
#### Post date: [March 16, 2019, 10:42am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/2 "2019-03-16T10:42:53Z")

</div>

First time i see this running 2 flavours of linux.  
Is ‘pip’ installed and if so, what is the respond to -\> pip list in a terminal?

Edit: My guess is that some dependencies of python/kivy are not meet.

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 10:57am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/3 "2019-03-16T10:57:34Z")

</div>

> [@Jules\_Humpheson](#):
>
> D-Bus not built with -rdynamic so unable to print a backtrace

Thanks Gero pip list returns the following:  
jules-tb@julestb-CF-19CHD02TT:~/Documents/GroundControl-master$ pip list  
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.  
asn1crypto (0.24.0)  
attrs (17.4.0)  
Automat (0.6.0)  
beautifulsoup4 (4.6.0)  
blinker (1.4)  
certifi (2018.1.18)  
chardet (3.0.4)  
click (6.7)  
colorama (0.3.7)  
command-not-found (0.3)  
constantly (15.1.0)  
cryptography (2.1.4)  
debtags (2.0)  
defer (1.0.6)  
dirspec (13.10)  
duplicity (0.7.17)  
enum34 (1.1.6)  
fasteners (0.12.0)  
html5lib (0.999999999)  
httplib2 (0.9.2)  
hyperlink (17.3.1)  
idna (2.6)  
incremental (16.10.1)  
ipaddress (1.0.17)  
keyring (10.6.0)  
keyrings.alt (3.0)  
Kivy (1.9.1)  
lockfile (0.12.2)  
lxml (4.2.1)  
monotonic (1.0)  
ndg-httpsclient (0.4.4)  
numpy (1.13.3)  
oauthlib (2.0.6)  
olefile (0.45.1)  
oneconf (0.3.9)  
PAM (0.4.2)  
pexpect (4.2.1)  
Pillow (5.1.0)  
pip (9.0.1)  
piston-mini-client (0.7.5)  
pyasn1 (0.4.2)  
pyasn1-modules (0.2.1)  
pycairo (1.16.2)  
pycrypto (2.6.1)  
pycups (1.9.73)  
pycurl (7.43.0.1)  
pygame (1.9.1release)  
pygobject (3.26.1)  
PyJWT (1.5.3)  
pyOpenSSL (17.5.0)  
pyserial (3.4)  
pysmbc (1.0.15.6)  
python-apt (1.6.3+ubuntu1)  
python-debian (0.1.32)  
pyxdg (0.25)  
reportlab (3.4.0)  
requests (2.18.4)  
SecretStorage (2.3.1)  
service-identity (16.0.0)  
setuptools (39.0.1)  
six (1.11.0)  
software-center-aptd-plugins (0.0.0)  
Twisted (17.9.0)  
ubuntuone-client-data (14.4)  
unity-lens-photos (1.0)  
urllib3 (1.22)  
webencodings (0.5)  
wheel (0.30.0)  
zope.interface (4.3.2)

---

<div class="post-metadata">

### Author: ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)
#### Post date: [March 16, 2019, 11:09am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/4 "2019-03-16T11:09:53Z")

</div>

Thank you, what i wanted to check was

> My stystem:  
> Kivy 1.10.1  
> Kivy-Garden 0.1.4  
> Pillow 5.1.0  
> pip 10.0.1  
> pygame 1.9.3  
> PyOpenGL 3.1.0  
> pyserial 3.3

Fishing in the dark here but is xclip/xsel installed. There error message was different on this, so this is likely misleading ☹

---

<div class="post-metadata">

### Author: ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)
#### Post date: [March 16, 2019, 11:12am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/5 "2019-03-16T11:12:12Z")

</div>

> [@Jules\_Humpheson](#):
>
> [INFO] [Window] Provider: sdl2([‘window\_egl\_rpi’] ignored)\*

Is this on a Rpi?

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 11:51am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/6 "2019-03-16T11:51:30Z")

</div>

No, an intel mobile (old Panasonic Toughbook)

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 11:52am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/7 "2019-03-16T11:52:18Z")

</div>

(Centrino duo to be a bit more accurate)

---

<div class="post-metadata">

### Author: ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)
#### Post date: [March 16, 2019, 11:58am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/8 "2019-03-16T11:58:45Z")

</div>

> [INFO] [Logger] Record log in /home/whoareyou4/.kivy/logs/kivy\_19-03-16\_3.txt  
> [INFO] [Kivy] v1.10.1  
> [INFO] [Python] v2.7.15rc1 (default, Nov 12 2018, 14:31:15)  
> [GCC 7.3.0]  
> [INFO] [Factory] 194 symbols loaded  
> [INFO] [Image] Providers: img\_tex, img\_dds, img\_sdl2, img\_pil, img\_gif (img\_ffpyplayer ignored)  
> [INFO] [Window] Provider: sdl2([‘window\_egl\_rpi’] ignored)  
> [INFO] [GL] Using the “OpenGL” graphics system  
> [INFO] [GL] Backend used   
> [INFO] [GL] OpenGL version \<3.1 Mesa 18.2.2\>  
> [INFO] [GL] OpenGL vendor \<[X.Org](http://X.Org)\>  
> [INFO] [GL] OpenGL renderer \<AMD REDWOOD (DRM 2.50.0 / 4.15.0-46-generic, LLVM 7.0.0)\>  
> [INFO] [GL] OpenGL parsed version: 3, 1  
> [INFO] [GL] Shading version \<1.40\>  
> [INFO] [GL] Texture max size \<16384\>  
> [INFO] [GL] Texture max units \<16\>  
> [INFO] [Window] auto add sdl2 input provider  
> [INFO] [Window] virtual keyboard not allowed, single mode, not docked  
> [INFO] [Text] Provider: sdl2  
> [INFO] [Base] Start application main loop  
> [INFO] [GL] NPOT texture support is available  
> [INFO] [GL] Unpack subimage support is available

This is my terminal output starting GC. The [INFO] [Window] Provider: sdl2([‘window\_egl\_rpi’] ignored) is the same, so was barking up the wrong tree. Any difference with your terminal that could give a lead?

---

<div class="post-metadata">

### Author: ![Jamtek](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jamtek/32/12604_2.png) [@Jamtek](https://forums.maslowcnc.com/u/Jamtek)
#### Post date: [March 16, 2019, 1:35pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/9 "2019-03-16T13:35:57Z")

</div>

> [@Jules\_Humpheson](#):
>
> [Kivy] v1.9.1\*

It looks like you are using an older version of kivy that is from the Ubuntu repository.

Maybe try updating Kivy to the latest stable branch.

[https://kivy.org/doc/stable/installation/installation-linux.html](https://kivy.org/doc/stable/installation/installation-linux.html)

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 7:08pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/10 "2019-03-16T19:08:45Z")

</div>

updated kivy, but still get the same issue…

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 16, 2019, 7:50pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/11 "2019-03-16T19:50:38Z")

</div>

xclip/xsel are installed, but I notice that some of the others (PyOpenGL, Kivy-Garden) aren;t installed and others have previous version numbers.

---

<div class="post-metadata">

### Author: ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)
#### Post date: [March 16, 2019, 7:51pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/12 "2019-03-16T19:51:06Z")

</div>

> [@Jules\_Humpheson](#):
>
> dbus[2846]: arguments to dbus\_message\_new\_method\_call() were incorrect

Not much to be found:

- [Bug #1775067 “D-Bus bug in 18.04 i386 SDL: arguments to dbus\_mes...” : Bugs : libsdl2 package : Ubuntu](https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1775067)
- [dbus[3859]: arguments to dbus\_message\_new\_method\_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362 · Issue #1178 · colobot/colobot · GitHub](https://github.com/colobot/colobot/issues/1178)
- [Bug #1772471 “[SRU] Bug in SDL2 blocks Unity-based games” : Bugs : libsdl2 package : Ubuntu](https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471)

cross-referencing each other without a final solution.

If i was in this corner, as a novice i would try in order:

- dist-upgrade
- removing and purging python and kivy and bringing them back by hand
- if the 2 above do not work, bite in the sour apple and go for a different distro.

I’ve had run GC on kubuntu and lubuntu in the past and are now running it on ubuntu mate 18.04.2 LTS in the home office with Fake\_Servo for debugging and Manjaro (Archlinux) in the workshop.

---

<div class="post-metadata">

### Author: ![Jatt](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jatt](https://forums.maslowcnc.com/u/Jatt)
#### Post date: [March 16, 2019, 11:55pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/13 "2019-03-16T23:55:33Z")

</div>

try entering this on the command line first, then running ground control:

`export KIVY_GL_BACKEND=gl`

(this is a workaround for a known bug where angle sdl doesn’t work properly in the i386 version of kivy on ubuntu 18.0.4

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 17, 2019, 10:55pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/14 "2019-03-17T22:55:03Z")

</div>

Thanks Jatt, still falls over at line 1362 unforetunately

---

<div class="post-metadata">

### Author: ![Jamtek](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jamtek/32/12604_2.png) [@Jamtek](https://forums.maslowcnc.com/u/Jamtek)
#### Post date: [March 18, 2019, 1:37am UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/15 "2019-03-18T01:37:46Z")

</div>

I have Ground Control running on two laptops. One running Ubuntu 16.04 LTS and the other running the newer Ubuntu 18.04 LTS.

I think In both cases getting Kivy and GC setup was just a matter of adding the Kivy PPA to my repository list and installing it with a few apt-get commands. See my bash\_history below…

```auto
sudo apt install software-properties-common
sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get update
sudo apt-get install python-kivy
sudo apt install python-pip
pip install pyserial

```

Are you running X11 desktop with gnome? I think some people reported issues with Ubuntu 17 when it defaulted to use wayland instead of X11. Only other think I can think of is you can can break things in python when adding modules with apt and pip together. Maybe its best to just pip for adding python modules, other than adding the kivy ppa.

---

<div class="post-metadata">

### Author: ![Jules\_Humpheson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jules_humpheson/32/11971_2.png) [@Jules\_Humpheson](https://forums.maslowcnc.com/u/Jules_Humpheson)
#### Post date: [March 18, 2019, 9:54pm UTC](https://forums.maslowcnc.com/t/ground-control-d-bus-startup-error/9161/16 "2019-03-18T21:54:00Z")

</div>

Hi Jamtek,  
Thanks for that - I’ve reinstalled Ubuntu 18.04 .2 LTS, resintalled KIvy & Python and it’s now up and running.  
Jules
