xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

#2576 closed defect (fixed)

xpra small testing toolkit

Reported by: stdedos Owned by: Antoine Martin
Priority: minor Milestone: 4.0
Component: client Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

xpra v4.0-r25012 @ Bionic

I think there was a way to run all the small tools (under the swiss icon on "main" xpra GUI. I cannot find the ticket though.

Could you add them somewhere e.g.

Or tell me where they are?


I am trying to check what button is "grabbed" when I am pressing a button on my keyboard.

However, the applet doesn't open:

$ xpra 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/../../gtk_common/gtk_view_keyboard.py", line 7, in <module>
    from gi.repository import GLib, Pango, Gtk, Gdk
ImportError: No module named gi.repository


And neither does anything (clicked all of them: top to bottom, left to right):

Gtk-Message: 10:31:38.604: GtkDialog mapped without a transient parent. This is discouraged.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/colors_plain.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/colors.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/colors_gradient.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/transparent_window.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/transparent_colors.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/../gl/window_backend.py", line 12, in <module>
    from xpra.util import typedict, envint, AdHocStruct, AtomicInteger, iround
ImportError: No module named xpra.util
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/text_entry.py", line 7, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/file_chooser.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/header_bar.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/grabs.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/clicks.py", line 7, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_focus.py", line 7, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_states.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_title.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_opacity.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_transient.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/window_overrideredirect.py", line 3, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/../../gtk_common/gtk_view_keyboard.py", line 7, in <module>
    from gi.repository import GLib, Pango, Gtk, Gdk
ImportError: No module named gi.repository
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/../../gtk_common/gtk_view_clipboard.py", line 8, in <module>
    from gi.repository import Pango, Gtk, Gdk
ImportError: No module named gi.repository
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/tray.py", line 7, in <module>
    import gi
ImportError: No module named gi
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/fontrendering.py", line 6, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/bell.py", line 6, in <module>
    from xpra.gtk_common.gtk_util import add_close_accel
ImportError: No module named xpra.gtk_common.gtk_util
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/client/gtk_base/example/cursors.py", line 3, in <module>
    import gi
ImportError: No module named gi

Change History (1)

comment:1 Changed 3 weeks ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in r25152.

Until new builds are available, try:

XPRA_PYTHON_COMMAND=python3 xpra

The wiki will be updated when v4 becomes available.

Note: See TracTickets for help on using tickets.