Closed ArtPoon closed 1 year ago
Run under verbose mode to get more information:
art@orolo:~/git/OpenRDP$ python3 -v -c 'from openrdp.main import openrdp'
...
import 'gi.overrides.Gio' # <_frozen_importlib_external.SourceFileLoader object at 0x7f05e3105cc0>
# destroy gi.repository.GModule
# destroy gi.repository.GdkPixbuf
# /usr/lib/python3/dist-packages/gi/overrides/__pycache__/Gdk.cpython-36.pyc matches /usr/lib/python3/dist-packages/gi/overrides/Gdk.py
# code object from '/usr/lib/python3/dist-packages/gi/overrides/__pycache__/Gdk.cpython-36.pyc'
# destroy gi.repository.GdkX11
Unable to init server: Could not connect: Connection refused
import 'gi.overrides.Gdk' # <_frozen_importlib_external.SourceFileLoader object at 0x7f05e310c080>
# destroy gi.repository.Atk
# /usr/lib/python3/dist-packages/gi/overrides/__pycache__/Gtk.cpython-36.pyc matches /usr/lib/python3/dist-packages/gi/overrides/Gtk.py
# code object from '/usr/lib/python3/dist-packages/gi/overrides/__pycache__/Gtk.cpython-36.pyc'
Unable to init server: Could not connect: Connection refused
import 'gi.overrides.Gtk' # <_frozen_importlib_external.SourceFileLoader object at 0x7f05e329a128>
(-c:74114): Gdk-CRITICAL **: 21:18:18.159: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
# destroy matplotlib.backends.backend_gtk3
It looks like the module is attempting to launch an X Window system. Might be associated with loading matplotlib
and running this remotely.
was not able to reproduce this on orolo (Ubuntu 20.04.5, Python 3.8.10), closing for now