Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't Launch on Ubuntu 22.04 #703

Open
InklingGirl opened this issue Dec 19, 2022 · 8 comments
Open

Doesn't Launch on Ubuntu 22.04 #703

InklingGirl opened this issue Dec 19, 2022 · 8 comments

Comments

@InklingGirl
Copy link

Neither versions v0.4.8 nor v0.4.8.9 launch on Ubuntu 22.04.

@Ryochan7
Copy link
Contributor

Need more details because v0.4.8.9 works on my Ubuntu 22.04 VM. If nothing else, try running the program from source rather than the AppImage

@InklingGirl
Copy link
Author

I would prefer to run it as an AppImage, & it didn't work on my daily driver bare metal installation or a fresh virtual machine install. What more details would you like @Ryochan7?

@InklingGirl
Copy link
Author

Yeah, no matter how I try to run them, they just don't run, & I'm just using a fresh install 22.04 in VirtualBox.

@maxtimbo
Copy link

running the AppImage I get:

Traceback (most recent call last):
  File "/tmp/.mount_sc-conW2IoiD/usr/bin/sc-controller", line 12, in <module>
    gi.require_version('Gtk', '3.0') 
  File "/tmp/.mount_sc-conW2IoiD/usr/lib/python2.7/site-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

I'm running X11 on Ubuntu 22.04.2, Gnome 42.5

@InklingGirl
Copy link
Author

I'm running X11 on Ubuntu 22.04.2, Gnome 42.5

I'm running Wayland, same OS & DE otherwise, & I get (w/ the AppImage of v0.4.8):

Traceback (most recent call last):
  File "/tmp/.mount_sc-conWm89k8/usr/bin/scc", line 6, in <module>
    from scc.scripts import main
  File "/tmp/.mount_sc-conWm89k8/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-conWm89k8/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-conWm89k8/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:10952): GdkPixbuf-WARNING **: 16:42:07.527: 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:10952): Gtk-WARNING **: 16:42:07.585: Failed to set text 'Traceback (most recent call last):
  File "/tmp/.mount_sc-conWm89k8/usr/bin/scc", line 6, in <module>
    from scc.scripts import main
  File "/tmp/.mount_sc-conWm89k8/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-conWm89k8/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-conWm89k8/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: Elementmarkupwas closed, but the currently open element ismodule”

(zenity:10952): GdkPixbuf-WARNING **: 16:42:07.639: 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:10952): Gtk-WARNING **: 16:42:07.639: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

(zenity:10952): GdkPixbuf-WARNING **: 16:42:07.639: 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/Yaru/16x16/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/Yaru/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
/tmp/.mount_sc-conWm89k8/AppRun: line 28: 10952 Aborted                 (core dumped) "$@"

(& w/ the AppImage of v0.4.8.9, same as @maxtimbo):

Traceback (most recent call last):
  File "/tmp/.mount_sc-conLhKlKE/usr/bin/sc-controller", line 12, in <module>
    gi.require_version('Gtk', '3.0') 
  File "/tmp/.mount_sc-conLhKlKE/usr/lib/python2.7/site-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

Neither version works no matter how I deploy the respective AppImage, in my usual system on bare metal or a freshly installed VM, w/ Wayland or X11, via AppImageLauncher or manually. Developer input after months would be appreciated, @Ryochan7.

@maxtimbo
Copy link

I was going to install from source, but I really don't like the idea of installing outdated, ancient python2x just for this app.

@InklingGirl
Copy link
Author

@maxtimbo for me, @Ryochan7's fork launches (albeit, it's having issues using my DualShock 4). Try that. If it works, then clearly something is wrong w/ this repository's AppImage or binary therein.

@Fuseteam
Copy link

i can confirm @Ryochan7's fork launches fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants