sc-controller icon indicating copy to clipboard operation
sc-controller copied to clipboard

Does not work on POP!OS 20.10

Open Somamint opened this issue 3 years ago • 6 comments

The appimage won't open on POP!OS 20.10.

Anything i can offer to help, let me know :)

Somamint avatar Mar 22 '21 16:03 Somamint

Try running it in terminal and check whether it outputs anything.

kozec avatar Mar 23 '21 07:03 kozec

sh sc-controller-0.4.8.glibc-x86_64.AppImage sc-controller-0.4.8.glibc-x86_64.AppImage: 1: Syntax error: "(" unexpected

Somamint avatar Mar 23 '21 08:03 Somamint

if i start it in lutris just to get more information i got this

sc-controller-0.4.8.glibc-x86_64.AppImage Initial process has started with pid 16968 Game is considered started. Traceback (most recent call last): File "/tmp/.mount_sc-conFXVeTg/usr/bin/scc", line 6, in from scc.scripts import main File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in from scc.tools import init_logging, set_logging_level, find_binary File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in import os, sys, ctypes, imp, shlex, gettext, logging File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/ctypes/init.py", line 7, in from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory

(zenity:16977): GdkPixbuf-WARNING **: 09:34:01.138: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': Datei oder Verzeichnis nicht gefunden

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being.

(zenity:16977): Gtk-WARNING **: 09:34:01.185: Failed to set text 'Traceback (most recent call last): File "/tmp/.mount_sc-conFXVeTg/usr/bin/scc", line 6, in from scc.scripts import main File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in from scc.tools import init_logging, set_logging_level, find_binary File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in import os, sys, ctypes, imp, shlex, gettext, logging File "/tmp/.mount_sc-conFXVeTg/usr/lib/python2.7/ctypes/init.py", line 7, in from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory' from markup due to error parsing markup: Fehler in Zeile 10, Zeichen 93: Element “markup” was closed, but the currently open element is “module”

(zenity:16977): GdkPixbuf-WARNING **: 09:34:01.204: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': Datei oder Verzeichnis nicht gefunden

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being.

(zenity:16977): Gtk-WARNING **: 09:34:01.204: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

(zenity:16977): GdkPixbuf-WARNING **: 09:34:01.204: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': Datei oder Verzeichnis nicht gefunden

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being. ** Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Format der Bilddatei unbekannt (gdk-pixbuf-error-quark, 3)

Somamint avatar Mar 23 '21 08:03 Somamint

I get similar on Pop!OS 20.10 with sc-controller-0.4.8.glibc-x86_64.AppImage:

Traceback (most recent call last):
  File "/tmp/.mount_sc-conu49Sv5/usr/bin/scc", line 6, in <module>
    from scc.scripts import main
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in <module>
    from scc.tools import init_logging, set_logging_level, find_binary
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in <module>
    import os, sys, ctypes, imp, shlex, gettext, logging
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory

(zenity:71699): Gtk-WARNING **: 17:29:23.792: Failed to set text 'Traceback (most recent call last):
  File "/tmp/.mount_sc-conu49Sv5/usr/bin/scc", line 6, in <module>
    from scc.scripts import main
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in <module>
    from scc.tools import init_logging, set_logging_level, find_binary
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in <module>
    import os, sys, ctypes, imp, shlex, gettext, logging
  File "/tmp/.mount_sc-conu49Sv5/usr/lib/python2.7/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory' from markup due to error parsing markup: Error on line 10 char 93: Element “markup” was closed, but the currently open element is “module”

(zenity:71699): Gtk-WARNING **: 17:29:23.808: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
/tmp/.mount_sc-conu49Sv5/AppRun: line 28: 71699 Aborted                 (core dumped) "$@"

konsumer avatar May 21 '21 00:05 konsumer

I'm on a 21.04 POP! OS and i also have the same problem with running appimage

`./sc-controller.AppImage Traceback (most recent call last): File "/tmp/.mount_sc-conjq6UH6/usr/bin/scc", line 6, in from scc.scripts import main File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in from scc.tools import init_logging, set_logging_level, find_binary File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in import os, sys, ctypes, imp, shlex, gettext, logging File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/ctypes/init.py", line 7, in from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory

(zenity:126388): GdkPixbuf-WARNING **: 13:28:36.911: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being.

(zenity:126388): Gtk-WARNING **: 13:28:36.990: Failed to set text 'Traceback (most recent call last): File "/tmp/.mount_sc-conjq6UH6/usr/bin/scc", line 6, in from scc.scripts import main File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/site-packages/scc/scripts.py", line 8, in from scc.tools import init_logging, set_logging_level, find_binary File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in import os, sys, ctypes, imp, shlex, gettext, logging File "/tmp/.mount_sc-conjq6UH6/usr/lib/python2.7/ctypes/init.py", line 7, in from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory' from markup due to error parsing markup: Error on line 10 char 93: Element “markup” was closed, but the currently open element is “module”

(zenity:126388): GdkPixbuf-WARNING **: 13:28:37.046: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being.

(zenity:126388): Gtk-WARNING **: 13:28:37.046: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

(zenity:126388): GdkPixbuf-WARNING **: 13:28:37.047: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being. ** Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Pop/48x48/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3) /tmp/.mount_sc-conjq6UH6/AppRun: line 28: 126388 Aborted (core dumped) "$@" `

i've tried to install using https://software.opensuse.org/download.html?project=home%3Akozec&package=sc-controller but installation expects me to have python-gobject, python-gi, python-gi-cairo installed... the only problem is that i already have it installed but with python3-...

i've tried to install baoh but it also didn't work out... no idea what can be done.

xenon205 avatar Jun 12 '21 11:06 xenon205

by chance i found this "sudo snap install sc-controller" and it works.... but can't fund any devices...

xenon205 avatar Jun 13 '21 15:06 xenon205