denis-stepanov/advent

assertion 'GDK_IS_DISPLAY (display)' failed

Closed this issue · 1 comments

In a headless Raspbian environment I have this on startup:

(advent-pyenv) $ advent
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(advent:1510): Gdk-CRITICAL **: 00:49:48.318: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
TV starts unmuted
...

This is harmless, but is a but annoying as the entire tool has been written as a command line tool. The need for display is believed to come from Dejavu's use of mathplotlib and has even been investigated in worldveil/dejavu#29 but not fixed. The fix should be trivial.

OK with a new release of Dejavu; resolving.