Closed shard77 closed 2 years ago
Let's wait. The problem is we don't have testers on non-Gnome environments. We wouldn't push the latest release being aware of this bug.
The thing is it's not happening on Gnome. In fact the fix could be a workaround to fallback to the C locale, but we still can't get the right locale outside Gnome.
Well, I am on Gnome (42 from Fedora 36), and for me the latest version from flathub is NOT starting up (giving me the locale error). The version before is behaving correctly, so it started only recently with 6.2.6/fcebe7664a6d
the result from locale
for my system is
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
which is just english with german formats, being set from Gnome's settings app.
what I did in the end was adding --env=LC_ALL=C
to the flatpak run
command in the autostart .desktop file to make it work again.
In the systems where the bug is happening what is the gtk4 version being used? Here on Arch Linux I have 4.6.6
.
In the systems where the bug is happening what is the gtk4 version being used? Here on Arch Linux I have
4.6.6
.
In Mate Desktop mostly gtk 3.24
Fedora ist at 4.6.5 it seems (gtk4-4.6.5-1.fc36.x86_64)
In the systems where the bug is happening what is the gtk4 version being used? Here on Arch Linux I have
4.6.6
.In Mate Desktop mostly gtk 3.24
that doesn't seem to be a gtk4 version?
Just another quick note:
I was able to make it start not only by setting LC_ALL, but also by unsetting all of the explicitely set LC_* env variables before running it. Maybe that helps...
Did someone test the master branch from AUR or Flatpak nightly?
Did someone test the master branch from AUR or Flatpak nightly?
My easyeffetcs flatpak version is 6.2.6 and the beta/nightly 6.2.6 too. To update the beta channel is diff from update in standard way "flatpak update"?
I don't know, never used Flatpak. In case, just uninstall and reinstall the nightly and let us know it the issue is reproducible.
The nightly Flatpak works for me. The thing is: I went back to the stable Flatpak and it works again as well (I uninstalled the nightly version and restarted my system, so it's definitely the stable one).
Looking through my Flatpak update history, all my *.Locale Flatpaks were updated today before noon (incl. stable Easyeffects). Not sure if it's related, but that's the one major difference I can spot between two days ago and now.
Can you try completing deleting all EasyEffects Flatpak data (some config and cache are left by default) with flatpak remove com.github.wwmm.easyeffects --delete-data
? And then reinstall 6.2.6 stable to be sure it was the locale packages?
Be warned this will delete all config you have for EasyEffects.
I removed the data in ~/.var manually each time before I posted here. To be save I repeated the process with the command, reinstalled the stable version and it again runs without any issues.
@aarproducoes has it the same behavior for you?
@aarproducoes has it the same behavior for you?
So, steps I made: . i removed all easyeffects flatpaks with data, reboot; . installed the nightly version, launched, but freeze and don't open; . removed all again, reboot; . i installed the stable version, launched (run) same msg error and crash; . launched with "flatpak run --env=LC_ALL=en_US.UTF-8 com.github.wwmm.easyeffects" opened and worked.
installed the nightly version, launched, but freeze and don't open;
Did you get any logs from it? Nightly version works fine for me, and nothing significant has changed from stable version at least in terms of Flatpak packaging.
@aarproducoes post the logs.
We need also people testing with the AUR package,
@aarproducoes post the logs.
We need also people testing with the AUR package,
Alright. I'll post the logs for the nightly version asap. I've a arch based linux (endeavourOS xfce) on my other laptop, i will try it later when i in home again.
@aarproducoes post the logs.
We need also people testing with the AUR package,
Logs from easyeffects flatpak nightly 03.1easyeffects(nightly)_flatpak-debug.txt 04.pipewire dump_2022.07.06. 10h56 GMT -3h.txt
It took so long and I hit control+c after several minutes...
Did you give the easyeffects -q
command before launching the nightly version?
Did you give the
easyeffects -q
command before launching the nightly version?
No. I followed this steps: https://github.com/wwmm/easyeffects/wiki/Package-Repositories#nightly-flatpak
@aarproducoes It seems easyeffects is already running on your system. Do you have autostart enabled? Make sure it's not running as service before you make it start from command line. Anyway it's weird.
@aarproducoes It seems easyeffects is already running on your system. Do you have autostart enabled? Make sure it's not running as service before you make it start from command line. Anyway it's weird.
No autostart. I checked before launch, zero process named easyeffect. Really weird.
Let's wait @wwmm, maybe he can find the issue. If you can test the AUR package, please do it.
It took so long and I hit control+c after several minutes...
What exactly took too long? The window was not shown? The logs seem to be complete. Usually when there is an instance already running it stops way early. There would be no print about Chromium, the devices, etc.
It took so long and I hit control+c after several minutes...
What exactly took too long? The window was not shown? The logs seem to the complete. Usually when there is an instance already running it stops way early. There would be no print about Chromium, the devices, etc.
Yes, the window was not shown. As in the log, easyeffetcs looks like working in background, but there is no sight of window. I opened htop to check if the app was listed and yes it is. So, even when after I interrupt it by pressing ctrl+c on terminal the proccess still running until I kill it.
About testing the AUR version i couldn't do it last night. Maybe later today.
About testing the AUR version i couldn't do it last night. Maybe later today.
Just tried it after experiencing the same issue as described above. AUR version seems to be working fine.
About testing the AUR version i couldn't do it last night. Maybe later today.
Just tried it after experiencing the same issue as described above. AUR version seems to be working fine.
Okay, it's good the app is nor crashing, but how is the locale? Which language did you set and how are the numbers formatted in labels and spinbuttons? Do you see them with comma or dot as decimal separator?
About testing the AUR version i couldn't do it last night. Maybe later today.
Just tried it after experiencing the same issue as described above. AUR version seems to be working fine.
Okay, it's good the app is nor crashing, but how is the locale? Which language did you set and how are the numbers formatted in labels and spinbuttons? Do you see them with comma or dot as decimal separator?
Language is en_US and decimal separator is dot.
@aarproducoes new flatpak version is out. Is the issue still happening?
Anyway the issue related to the locale should be fixed, so this could be closed.
Anyway the issue related to the locale should be fixed, so this could be closed.
Or at least everything that could be done on our side has been done. If std::locale("")
fails we handle the exception that we imagine to have been the cause of the crash. But everyone must have in mind that things like the one below are far from normal
❯ locale -a
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
Whatever it is that is causing std::locale("")
to fail in your systems will still be there. EasyEffects will just fallback to the C locale if an exception is thrown.
Hey, I installed easyeffects 2 days ago, and it worked fine. Today, I started to launch it, and it instantly crashes. I am on Arch Linux; Plasma KDE; Kwin.
Here are the logs: