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
Hitting Apply gives TypeError: can only concatenate str #171
Comments
But i have to say, cool project! And very nice interface. Keep up the great work! |
This exact issue has been reported countless times. There is some problem in the program logic but I cannot figure it out. Part of the reason is that I cannot reproduce this bug. It only ever happens on the users' systems and never on mine. Even if I have somewhat similar setup. For example, I have used the AppImage on Manjaro with GNOME 44.1, exactly the setup you reported and it worked flawlessly on my system. If I ever figure something out, I'll let you know. In the meantime, you can switch to an alternative packaging format. The app is available on the AUR and Flathub as well.
Only one bug related to GNOME 44 was reported. That bug has already been fixed (like 3 weeks ago). |
I did also try the AUR version. This version unfortunately also gives the same error. |
Try reinstalling gnome-shell package. |
I've also added a graphical dialog which will show up on application startup if To test out new the dialog, you can install the |
Thank you for the quick update! I did install it and got the new 'reinstall gnome-shell' warning when starting the app. Manjaro has the gnome-shell package not installed by default and instead there was gnome-shell-maia installed (see the manjaro forum link). This maia version has some different accent coloring (green instead of blue). At first i could not install the gnome-shell package unless i removed gnome-shell-maia first, but this was also giving dependency errors, but i did the job. Gnome-shell package in now installed. Then after a logoff/logon i run the gdm-settings app again and it works!! (no TypeErrors anymore) :) |
Maybe for a next minor update: is it possible to also detect the gnome-shell-maia as an unmodified default shell theme? |
I looked into it. From what I understand, reinstalling gnome-shell-maia package should have also fixed the problem. The app assumes the theme as modified only if it contains a file named |
Thanks for looking into it. I did set the gdm-settings back to defaults, removed gnome-shell and installed gnome-shell-maia. Run gdm-settings, changed top bar settings, logged out, saw the change, it works! I remember starting up gdm-settings for the first time, it did work once then. That must have changed something not correctly, since then the errors came along. |
Changing resource_list = lib.get_stdout(["gresource", "list", env.HOST_ROOT + gresource_file]).splitlines()
if not gresource_file:
raise FileNotFoundError('No unmodified GResource file of the default shell theme was found')
to if not gresource_file:
raise FileNotFoundError('No unmodified GResource file of the default shell theme was found')
resource_list = lib.get_stdout(["gresource", "list", env.HOST_ROOT + gresource_file]).splitlines() in the The main reason for this is: deletion of the Gresource file/ no gresource file provided by the theme. |
Fixed it. However, you should have not been getting an error on the command line in the first place (unless you deleted the default gresource file after launching GDM Settings) because if it needs to, the app shows a graphical error message on launch, describing everything. gdm-settings/gdms/gui/__init__.py Lines 136 to 138 in 43bb1d6
|
What happened?
App does not work on my up to date Manjaro system with gnome 44.1. When i change a toggle or background, i always get this error in debug mode:
Also no changes are saved after hitting apply and closing the app and reopening the app again.
Expected behavior
Changes must be saved
I read a few bug reports about problems with gnome 44 in the last months.
Tip: Maybe a good idea to tell people on front page that this app does not work well with gnome 44
To Reproduce
Start App
Change a toggle
Hit apply
Logout
See the login screen (no changes made)
Detailed Explanation (Optional)
No response
Application Version
3.2
Format/Source
AppImage
Environment
The text was updated successfully, but these errors were encountered: