sc-controller
sc-controller copied to clipboard
Can't run sc-controller on Fedora 33 KDE (libffi.so.7 not found)
I can't run the .appimage. Here is the output: https://pastebin.com/YZ9e31Yf
It seems to be missing libffi.so.7, and the most similar package that I've found is libffi, which is already installed.
Thank you in advance.
Looks like appimage bundles older version of libffi and every other distro has current one available.
Can you check whether this appimage works?
Sadly, it doesn't.
The only message that I receive when running it from the terminal is: "WINDOW DECORATIONS RELOADED", and then it closes.
Hello, I have the same problem on fedora 33 workstation, I've tried out the fedora-fix appimage and while I didn't get "WINDOW DECORATIONS RELOADED", I got this
W Config Failed to load configuration; Creating new one.
W Config Reason: (IOError(2, 'No such file or directory'),)
That was on first attempt, after it I didn't get any output
So, I've ended up installing Fedora kde into VM and that crazy thing works.
Can either of you post output of cat /etc/fedora-release
and then of ./sc-controller-0.4.8.fedora_fix.glibc-x86_64.AppImage gui -d
?
$ cat /etc/fedora-release Fedora release 33 (Thirty Three)
$ ./sc-controller-0.4.8.fedora_fix.glibc-x86_64.AppImage gui -d WINDOW DECORATIONS RELOADED
Nothing more, sadly.
Any idea where WINDOW DECORATIONS RELOADED
message comes from? It doesn't show on my machine.
No idea. Maybe I'm missing some GTK component since I'm not on Gnome.
this is what happens for me
$ cat /etc/fedora-release
Fedora release 33 (Thirty Three)
$ ./sc-controller-0.4.8.fedora_fix.glibc-x86_64.AppImage gui -d
and nothing more, besides babble from appimage integrator
Okay, so now what's different on my VM...
Is either of you using graphics driver that has to be installed manually? Window manager plugin? Wayland? @Jeder321 what appimage integrator are you using?
I have the same problem in 3 different PC's.
One is a Ryzen 5 3400G, another with an i5 4670k and Nvidia GTX 770 (driver installed from rpmfusion), and the other is a Thinkpad with an i7-3520M and intel HD graphics 4000.
All are using Xorg and the latest version of KDE.
In the Ryzen I don't have the WINDOW DECORATIONS RELOADED
message. That's the only difference.
EDIT: I tried in other PC running KDE Neon and it also shows the WINDOW DECORATIONS RELOADED
message, but it works fine. So that message doesn't seem to be of importance.
I use https://github.com/TheAssassin/AppImageLauncher
I am using AMDGPU, one from kernel and I am on wayland, gnome of course, running on ThinkPad t495 with ryzen 5 3500u inside. I've also installed snap version yesterday and strangely enough it's working, but I don't like snaps
Ok, so judging from raging diversity of our systems, it's probably not related to GPU, driver, desktop environment or even whether one uses X or Wayland. Only common thing is Fedora and running on non-virtual HW.
Where is that snap comming from? Maybe there is some workaround used that I'm not aware of.
I apologize for this late reply, but that snap is from here https://snapcraft.io/sc-controller
Same issue, Kubuntu 20.10 here.
And with 0.4.7: libffi.so.6: cannot open shared object file
(notice the 6 instead of 7)
edit: I tried this
Can you check whether this appimage works? sc-controller-0.4.8.fedora_fix.glibc-x86_64.AppImage
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 75: ordinal not in range(128)
According to this: https://askubuntu.com/a/1286776 the library isn't the same anymore.
I did install libffi.so.7 according to this: https://askubuntu.com/a/1290347
Now I have:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 75: ordinal not in range(128)
I had this right away with sc-controller-0.4.8.fedora_fix.glibc-x86_64.AppImage
so I believed it fixed library that issue.
Ok I found that was a python 2/python 3 issue (python 2 not installed on my system). I did remove libffi.so.7, just in case it could do something bad to my system to have mixed library versions. And following this: https://github.com/kozec/sc-controller/issues/367#issuecomment-727286721 I did install the Python 3 fork latest version https://github.com/Ryochan7/sc-controller/releases/tag/v0.4.8.2.
It works :slightly_smiling_face: - surprisingly, without any special fix for that issue. Problem solved for me :)
I did install the Python 3 fork latest version https://github.com/Ryochan7/sc-controller/releases/tag/v0.4.8.2.
It works slightly_smiling_face - surprisingly, without any special fix for that issue. Problem solved for me :)
I confirm that version works for me too!
I did install the Python 3 fork latest version https://github.com/Ryochan7/sc-controller/releases/tag/v0.4.8.2.
It works - surprisingly, without any special fix for that issue. Problem solved for me :)
Works for me too, didn't have to remove anything
I can't tell if it's a python2-specific issue, or some other issue fixed by the fork, but at least that was simple :)
I guess this issue can be closed ?
I can't tell if it's a python2-specific issue, or some other issue fixed by the fork, but at least that was simple :)
UnicodeDecodeError
most likely is but if there is no other message printed out I can't even begin to imagine what may be causing it.
I guess this issue can be closed ?
Feel free to. Although I was never able to reproduce the issue, adding missing library to appimage should theoretically solve it.