[Bug 1116778] New: Steam sc-controller gui not working
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 Bug ID: 1116778 Summary: Steam sc-controller gui not working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: frank@kunz-im-inter.net QA Contact: qa-bugs@suse.de CC: dleuenberger@suse.com Found By: --- Blocker: --- When starting sc-controller it fails due to missing Gtk namespace: sc-controller Traceback (most recent call last): File "/usr/bin/sc-controller", line 12, in <module> gi.require_version('Gtk', '3.0') File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 127, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available It seems to be a missing dependency, I tried to figure out which one, but couldn't find which is the missing package. The installed version of the sc-controller package is: zypper info sc-controller Information for package sc-controller: -------------------------------------- Repository : openSUSE-20181110-0 Name : sc-controller Version : 0.3.6.2-1.6 Arch : x86_64 Vendor : openSUSE Installed Size : 3.1 MiB Installed : Yes Status : up-to-date Source package : sc-controller-0.3.6.2-1.6.src Summary : User-mode driver and GTK3-based GUI for the Steam Controller Description : Application allowing to setup, configure and use the Steam Controller without using the Steam client. cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20181116" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20181116" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20181116" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" I tried also with the latest release and master from https://github.com/kozec/sc-controller, this shows the same error message. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 Frank Kunz <frank@kunz-im-inter.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frank@kunz-im-inter.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 http://bugzilla.opensuse.org/show_bug.cgi?id=1116778#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org Assignee|bnc-team-screening@forge.pr |opensuse@dstoecker.de |ovo.novell.com | --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- The package would be typelib-1_0-Gtk-3_0 - but that is of course not meant to be manually installed but should be a dep of the package. I created request id 650558 towards the devel project that would address the deps (by means of enabling auto-detection) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 http://bugzilla.opensuse.org/show_bug.cgi?id=1116778#c2 --- Comment #2 from Frank Kunz <frank@kunz-im-inter.net> --- Yes, I can confirm that this is the missing package. But now I step into the next issue: sc-controller (process:2531): Gtk-CRITICAL **: 19:29:54.290: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyTraceback (most recent call last): File "/usr/lib64/python2.7/site-packages/scc/gui/app.py", line 853, in do_startup self.setup_widgets() File "/usr/lib64/python2.7/site-packages/scc/gui/app.py", line 88, in setup_widgets self.builder.connect_signals(self) ValueError: Pointer arguments are restricted to integers, capsules, and None. See: https://bugzilla.gnome.org/show_bug.cgi?id=683599 Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/scc/gui/app.py", line 826, in on_daemon_dead self.set_daemon_status("unknown", True) File "/usr/lib64/python2.7/site-packages/scc/gui/app.py", line 918, in set_daemon_status self.window.set_icon_from_file(icon) AttributeError: 'App' object has no attribute 'window' ** (sc-controller:2531): WARNING **: 19:29:55.035: AT-SPI: Could not obtain desktop path or name Invalid MIT-MAGIC-COOKIE-1 key ** (sc-controller:2531): WARNING **: 19:29:55.076: atk-bridge: get_device_events_reply: unknown signature ** (sc-controller:2531): WARNING **: 19:29:55.077: atk-bridge: get_device_events_reply: unknown signature ** (sc-controller:2531): WARNING **: 19:29:55.077: atk-bridge: GetRegisteredEvents returned message with unknown signature The upstream version shows the same issue. Do you expect that the by request id 650558 enabled auto-detection will fix this as well? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 http://bugzilla.opensuse.org/show_bug.cgi?id=1116778#c3 --- Comment #3 from Frank Kunz <frank@kunz-im-inter.net> --- I forgot to mention that I applied this patch for my latest test: commit 4054d01dda245b62cf86d84b70841d00cd5a6a5c Author: kozec <kozec@kozec.com> Date: Mon Jun 19 00:23:43 2017 +0200 Fix: Crashing on openSUSE KDE. Fixes #209 diff --git a/scripts/sc-controller b/scripts/sc-controller index 1a11619..494e089 100755 --- a/scripts/sc-controller +++ b/scripts/sc-controller @@ -20,7 +20,8 @@ if __name__ == "__main__": from gi.repository import Gtk, GObject glades = os.path.join(get_share_path(), "glade") images = os.path.join(get_share_path(), "images") - Gtk.IconTheme.get_default().append_search_path(images) + if Gtk.IconTheme.get_default(): + Gtk.IconTheme.get_default().append_search_path(images) GObject.threads_init() from scc.gui.app import App -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116778 http://bugzilla.opensuse.org/show_bug.cgi?id=1116778#c4 Frank Kunz <frank@kunz-im-inter.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Frank Kunz <frank@kunz-im-inter.net> --- Tested with Tumbleweed 20181129. There it works. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com