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
Empty (blank) page on launch. Console output on refresh: flatpak-spawn: Invalid byte sequence in conversion input #29
Comments
|
My bad, miss-read that. |
|
@travier thanks for the report. Just to confirm: "on launch" means "immediately on startup" and not "after trying to press the connect button"? Are you a new user of Cockpit Client or is this a regression that was observed after you upgraded to the latest version? |
|
Yes, it was stuck on a blank page before connecting to a server, directly on launch. I've re-tried today, clearing all Flatpak data and it works now so I'm not sure where the issue was. |
|
OK, I've re-tried again and now the client is stuck again on a blank page. |
|
This happens when I launch Cockpit from the KDE menu but not always when I launch from the command line. |
|
OK, clearing the data again, I can consistently reproduce that. Launching from the KDE menu give me a blank page, when launching from the command line gives me the window as expected. |
|
They are not launched using the same parameters (first is command line, second is desktop entry): |
|
Looks like KDE shows the second one only in the menu: |
|
Starting the application "in a loop", I see a lot of IBus errors in the journal logs: |
|
This appears to be a problem with the way KDE is trying to D-Bus-activate the application. If you're feeling up to it, can you please try the following?
and then see if the problem is solved? Thanks |
|
Doing the above fixes the issue: |
|
Reading:
I'm not sure how that works with Flatpaks. |
|
OK, this looks like https://bugzilla.redhat.com/show_bug.cgi?id=1869108 or flatpak/flatpak#3342 as I did: and now it works. This is also likely why it worked after a reboot. |
|
Hum, it's not working anymore again, so it must be something else 🤔 |
|
I think we may as well disable D-Bus activation by default. We use it from the test cases, but that should still work even if we don't have it in the desktop file. |
This doesn't seem to be particularly well supported in all flatpak environments, particularly under KDE. Fixes flathub/org.cockpit_project.CockpitClient#29
|
@travier just to be extra-sure, can you please try and build the branch that I just pushed at cockpit-project/cockpit#19063 and confirm that it fixes the issue for you? |
This doesn't seem to be particularly well supported in all flatpak environments, particularly under KDE. Fixes flathub/org.cockpit_project.CockpitClient#29
Launching Cockpit client gives me an empty (blank) page on launch.
Pressing the refresh button generated the following output in console logs:
Fedora Kinoite 38, Wayland.
The text was updated successfully, but these errors were encountered: