vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
959 stars 71 forks source link

Sometimes a window named "initializing" gets stuck on launch #264

Closed mijorus closed 2 years ago

mijorus commented 2 years ago

Describe the bug Sometimes an empty window opens when launching bauh and says open, completely empty until I close the app. Example below (for some reason it is filled with the underlying content, but I think that is a Mutter misbehave)

Software Environment bauh version: 0.10.2 O.S: PopOS 21.10, stock, just a couple of GNOME extensions installed (X11) Python version: 3.9 Installation method: pip

image

vinifmor commented 2 years ago

Try launching bauh through the command line and check if any error output is displayed.

mijorus commented 2 years ago

Launching with --logs (otherwise nothing shows up):

2022-04-22 16:53:20,798 INFO [/usr/local/lib/python3.9/dist-packages/bauh/app.py:47 - main()] - Scale factor set to 1.0
2022-04-22 16:53:20,798 INFO [/usr/local/lib/python3.9/dist-packages/bauh/app.py:52 - main()] - HDPI settings activated
2022-04-22 16:53:20,951 INFO [/usr/local/lib/python3.9/dist-packages/bauh/context.py:102 - set_theme()] - theme file '/usr/local/lib/python3.9/dist-packages/bauh/view/resources/style/light/light.qss' loaded
2022-04-22 16:53:21,106 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/controller.py:409 - prepare()] - Initializing
2022-04-22 16:53:21,106 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - CoreConfigManager: Reading cached configuration file
2022-04-22 16:53:21,110 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - CoreConfigManager: Merging configuration file
2022-04-22 16:53:21,110 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - CoreConfigManager: Writing configuration file
2022-04-22 16:53:21,114 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - CoreConfigManager: Finished. Took 0.01 seconds
2022-04-22 16:53:21,121 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - FlatpakConfigManager: Reading cached configuration file
2022-04-22 16:53:21,122 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/controller.py:430 - prepare()] - Finished (0.02 seconds)
2022-04-22 16:53:21,122 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - FlatpakConfigManager: Merging configuration file
2022-04-22 16:53:21,122 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - FlatpakConfigManager: Writing configuration file
2022-04-22 16:53:21,122 INFO [/usr/local/lib/python3.9/dist-packages/bauh/commons/boot.py:29 - _log()] - FlatpakConfigManager: Finished. Took 0.00 seconds
2022-04-22 16:53:21,139 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/qt/prepare.py:437 - finish()] - 2 tasks finished in 0.005339146 seconds
2022-04-22 16:53:21,162 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/update.py:22 - check_for_update()] - Checking for updates
2022-04-22 16:53:21,307 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/update.py:39 - check_for_update()] - Release 0.10.2 already notified
2022-04-22 16:53:21,546 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/controller.py:221 - read_installed()] - FlatpakManager took 0.37 seconds
2022-04-22 16:53:21,551 INFO [/usr/local/lib/python3.9/dist-packages/bauh/view/core/controller.py:259 - read_installed()] - Took 0.39 seconds
2022-04-22 16:53:22,411 WARNING [/usr/local/lib/python3.9/dist-packages/bauh/api/http.py:68 - get()] - Could not retrieve data from 'https://flathub.org/api/v1/apps/org.flathub.flatpak-external-data-checker'
2022-04-22 16:53:22,985 WARNING [/usr/local/lib/python3.9/dist-packages/bauh/api/http.py:68 - get()] - Could not retrieve data from 'https://flathub.org/api/v1/apps/org.flathub.flatpak-external-data-checker'
2022-04-22 16:53:22,985 WARNING [/usr/local/lib/python3.9/dist-packages/bauh/gems/flatpak/worker.py:91 - run()] - Could not retrieve app data for id 'org.flathub.flatpak-external-data-checker'. Server response: ?. Body: ?

Result: image

vinifmor commented 2 years ago

@mijorus , the logs don't contain any unexpected error or message. Does this behavior also happen with bauh's AppImage ?

mijorus commented 2 years ago

Unfortunately yes, I downloaded and launched the AppImage RN and the problem persists. image

You can see the github changelog stuck on the window. Btw I'm upgrading to 22.04 soon, I'll let you know if this problem persists on Gnome 42

vinifmor commented 2 years ago

Ok. Thanks.

mijorus commented 2 years ago

On PopOS 22.04 everything works fine, no more broken windows. Feel free to close this if you want.

vinifmor commented 2 years ago

Sure. Thank you for letting me know.