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

How to install on latest fedora? #722

Open
supertriodo opened this issue Jul 7, 2023 · 9 comments
Open

How to install on latest fedora? #722

supertriodo opened this issue Jul 7, 2023 · 9 comments

Comments

@supertriodo
Copy link

I love this project, it's simply amazing and it was working great on my opensuse.

But this summer with a new PC I tried fedora and I can't find a way to install sc-controller.

The installation instruction for fedora (https://software.opensuse.org/download.html?project=home%3Akozec&package=sc-controller) returns a no data webpage.

Thee AppImage of the latest stable version from 2020 output:

[triodo@fedora Descargas]$ ./sc-controller-0.4.8.glibc-x86_64.appimage
Traceback (most recent call last):
File "/tmp/.mount_sc-conAfoDFO/usr/bin/scc", line 6, in
from scc.scripts import main
File "/tmp/.mount_sc-conAfoDFO/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-conAfoDFO/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in
import os, sys, ctypes, imp, shlex, gettext, logging
File "/tmp/.mount_sc-conAfoDFO/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:5236): Gtk-WARNING **: 10:43:40.772: Unknown key gtk-modules in /home/triodo/.config/gtk-4.0/settings.ini

(zenity:5236): Adwaita-WARNING **: 10:43:40.803: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(zenity:5236): Gtk-WARNING **: 10:43:40.826: Failed to set text 'Traceback (most recent call last):
File "/tmp/.mount_sc-conAfoDFO/usr/bin/scc", line 6, in
from scc.scripts import main
File "/tmp/.mount_sc-conAfoDFO/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-conAfoDFO/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in
import os, sys, ctypes, imp, shlex, gettext, logging
File "/tmp/.mount_sc-conAfoDFO/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 en la línea 10, carácter 93: Se cerró el elemento «markup», pero el elemento que está abierto actualmente es «module»

The AppImage of the prerelease from 2022 output:

[triodo@fedora Descargas]$ ./sc-controller-0.4.8+5b42308-x86_64.appimage
E root code for hash md5 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
E root code for hash sha1 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
E root code for hash sha224 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
E root code for hash sha256 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
E root code for hash sha384 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
E root code for hash sha512 was not found.
Traceback (most recent call last):
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_sc-con7JdEb5/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
free(): invalid pointer

Any idea? and thanks for such an amazing work you have done with this esential linux app!

@kozec
Copy link
Owner

kozec commented Jul 8, 2023

Yeah, sorry about OBS, it kinda kicked me out some time ago.

I'll try to rebuild appimage using updated libs, maybe it will work on more recent distros that way.

@supertriodo
Copy link
Author

That would be great, thanks so much!

@kozec
Copy link
Owner

kozec commented Jul 16, 2023

Just as a test, will this "build" work for you?

SC_Controller-x86_64.AppImage.tar.gz

It should be reproducible by simply doing git checkout and running ./appimage-build.sh on latest commit.

@supertriodo
Copy link
Author

No luck.

[triodo@fedora Apps]$ ./SC_Controller-x86_64.AppImage
E root code for hash md5 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
E root code for hash sha1 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
E root code for hash sha224 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
E root code for hash sha256 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
E root code for hash sha384 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
E root code for hash sha512 was not found.
Traceback (most recent call last):
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = __get_hash(__func_name)
File "/tmp/.mount_SC_ConXeta8T/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
free(): invalid pointer
[triodo@fedora Apps]$

@kozec
Copy link
Owner

kozec commented Jul 23, 2023

Ok, I have vague idea where this comes from, but I have yet to find how whether only solution is to build one's own openssl. If you have some kind of compact package available in fedora, installing it may work as temporar workaround.

@supertriodo
Copy link
Author

I'm sorry but I'm new to fedora, don't really know how to look for a compact openssl package.

@jeremiel26
Copy link

Hi, tried to lauch appimage on fedora 38, got "An error as occured" window and this terminal output:

$ LANG=C ./sc-controller-0.4.8.glibc-x86_64.AppImage
Traceback (most recent call last):
File "/tmp/.mount_sc-conW01EpD/usr/bin/scc", line 6, in
from scc.scripts import main
File "/tmp/.mount_sc-conW01EpD/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-conW01EpD/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in
import os, sys, ctypes, imp, shlex, gettext, logging
File "/tmp/.mount_sc-conW01EpD/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:101382): Gtk-WARNING **: 17:36:30.294: Theme parser error: gtk.css:4052:3-22: No property named "-gtk-outline-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.294: Theme parser error: gtk.css:4169:3-29: No property named "-GtkWidget-window-dragging"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4183:9-37: No property named "-gtk-outline-top-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4185:9-38: No property named "-gtk-outline-top-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4188:9-40: No property named "-gtk-outline-bottom-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4190:9-41: No property named "-gtk-outline-bottom-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4193:5-33: No property named "-gtk-outline-top-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4195:5-34: No property named "-gtk-outline-top-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4198:5-36: No property named "-gtk-outline-bottom-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4200:5-37: No property named "-gtk-outline-bottom-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4206:7-36: No property named "-gtk-outline-top-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4208:7-39: No property named "-gtk-outline-bottom-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4211:7-35: No property named "-gtk-outline-top-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4213:7-38: No property named "-gtk-outline-bottom-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4287:23-37: Not a valid image

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4326:3-31: No property named "-gtk-outline-top-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4328:3-32: No property named "-gtk-outline-top-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.295: Theme parser error: gtk.css:4335:3-34: No property named "-gtk-outline-bottom-left-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.296: Theme parser error: gtk.css:4337:3-35: No property named "-gtk-outline-bottom-right-radius"

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser error: gtk.css:5017:12-17: "shade" is not a valid color name.

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser error: gtk.css:5077:12-17: "shade" is not a valid color name.

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser error: gtk.css:5104:12-15: "mix" is not a valid color name.

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser error: gtk.css:5108:12-15: "mix" is not a valid color name.

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser warning: gtk.css:5309:3-5310:1: Expected ';' at end of block

(zenity:101382): Gtk-WARNING **: 17:36:30.297: Theme parser error: gtk.css:5340:3-19: No property named "-gtk-icon-effect"

(zenity:101382): Gtk-WARNING **: 17:36:30.409: Failed to set text 'Traceback (most recent call last):
File "/tmp/.mount_sc-conW01EpD/usr/bin/scc", line 6, in
from scc.scripts import main
File "/tmp/.mount_sc-conW01EpD/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-conW01EpD/usr/lib/python2.7/site-packages/scc/tools.py", line 15, in
import os, sys, ctypes, imp, shlex, gettext, logging
File "/tmp/.mount_sc-conW01EpD/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?

@PoorPocketsMcNewHold
Copy link

Ok, I have vague idea where this comes from, but I have yet to find how whether only solution is to build one's own openssl. If you have some kind of compact package available in fedora, installing it may work as temporar workaround.

Probably meant, compat no?
We do have openssl.1.1 on Fedora, but it just makes a
free(): invalid pointer error.

@alterNERDtive
Copy link

It appears both the build service builds and the AppImage are still broken. So before I start building and/or fixing things myself, is there a point? Or is more of this unmaintained?

Don’t get me wrong, that would be fine. Nobody is entitled to free software being maintained indefinitely. But I wouldn’t invest my time on top in that case :)

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

5 participants