Bug 463506 - Kasts will not launch.
Summary: Kasts will not launch.
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 23:24 UTC by Justin
Modified: 2023-01-01 23:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2022-12-26 23:24:25 UTC
SUMMARY
***
Kasts will not launch.
***


STEPS TO REPRODUCE
1. Launch via Icon
OR
2. Launch with run via the command line.
3. No launch.

OBSERVED RESULT
Kasts will not launch.

EXPECTED RESULT
Launching Kasts opens to app - as this was its previous behaviour.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.10
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-26-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: Dell Inc.
Product Name: Precision 5520

Kasts: 22.11

ADDITIONAL INFORMATION

flatpak run --verbose org.kde.kasts
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/anarcho/.local/share/flatpak
F: Opening user flatpak installation at path /home/anarcho/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/org.kde.kasts/x86_64/master since parental controls are disabled globally
F: Opening user flatpak installation at path /home/anarcho/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-22.08/1f10e0ef45eebebad541b446e604f7dbbaf3318397319efd6d062ee55479e750/files/lib32 does not exist
F: Cleaning up unused container id 2059789979
F: Cleaning up per-app-ID state for org.kde.kasts
F: Allocated instance id 3350429148
F: Add defaults in dir /org/kde/kasts/
F: Add locks in dir /org/kde/kasts/
F: Allowing dri access
F: Allowing host-fs access
F: skipping export for path /usr/libx32 in unsupported prefix
F: Unable to open path /run/media to export read/write: No such file or directory
F: Allowing homedir access
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/anarcho/.config/pulse/client.conf': Error opening file /home/anarcho/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 43 xdg-dbus-proxy --args=45'
F: Running 'bwrap --args 43 kasts'
Database version 6
Comment 1 bart 2022-12-27 10:22:38 UTC
Could you please provide more info?  From the log below, it looks like you are using a flatpak version.  Is this the one from flathub or from the KDE nightly repository?
Comment 2 Justin 2022-12-27 10:50:59 UTC
Currently KDE Testing Applications -which I switched to after experiencing the fail to launch behaviour from the Flathub version.
i.e both KDE Testing Applications 22.11 and  Flathub version 22.11 fail to launch.
Comment 3 Justin 2022-12-27 10:53:25 UTC
(In reply to Justin from comment #2)
> Currently KDE Testing Applications -which I switched to after experiencing
> the fail to launch behaviour from the Flathub version.
> i.e both KDE Testing Applications 22.11 and  Flathub version 22.11 fail to
> launch.

How else may I assist in giving you more info?
Thanks.
Comment 4 bart 2022-12-27 11:54:20 UTC
Thanks for the additional info. I can confirm that the nightly is broken.
This might be related to the fact that we merged a change into the master branch that depends on features which are not yet available in a released version of dependencies. I will have a look whether that's indeed the cause.  If so, then the nightly might be broken for a while until those dependencies are properly released.

The package from flathub still works for me.
Comment 5 bart 2022-12-27 12:31:58 UTC
> The package from flathub still works for me.

Mmm, after updating the runtime, it also doesn't work for me anymore. It crashes with

```
Database version 6
QQmlApplicationEngine failed to load component
qrc:/main.qml:255:20: Type Kirigami.ContextDrawer unavailable
file:///usr/lib/qml/org/kde/kirigami.2/ContextDrawer.qml:180:17: Type P.ContextDrawerActionItem unavailable
file:///usr/lib/qml/org/kde/kirigami.2/private/ContextDrawerActionItem.qml:41:5: Type ActionsMenu unavailable
file:///usr/lib/qml/org/kde/kirigami.2/private/ActionsMenu.qml:18:38: Type ActionMenuItem unavailable
file:///usr/lib/qml/org/kde/kirigami.2/private/ActionMenuItem.qml:18:10: Non-existent attached object
```
Comment 6 bart 2022-12-27 18:13:35 UTC
Okay, it seems like it was a false alarm. Something in my flatpak setup got messed up.
After I deleted all the runtimes and installed them from scratch all flatpaks are up and running, both the nightly and the flathub one.

I would suggest to try the same: uninstall the runtimes and re-install (i.e. org.kde.Platform).
Comment 7 Justin 2022-12-27 23:01:04 UTC
(In reply to bart from comment #6)
> Okay, it seems like it was a false alarm. Something in my flatpak setup got
> messed up.
> After I deleted all the runtimes and installed them from scratch all
> flatpaks are up and running, both the nightly and the flathub one.
> 
> I would suggest to try the same: uninstall the runtimes and re-install (i.e.
> org.kde.Platform).

Thanks.
I uninstalled the runtime, Kasts (and other apps dependent on the runtime) and reinstalled Kasts from Flathu, but Kasts will still not launch.
Comment 8 Justin 2022-12-27 23:05:55 UTC
nb. io.photoflare.photoflare and org.kde.itinerary also depend on org.kde.Platform 5.15-22.08 and do launch.
Comment 9 bart 2023-01-01 13:51:51 UTC
(In reply to Justin from comment #7)
> (In reply to bart from comment #6)
> > Okay, it seems like it was a false alarm. Something in my flatpak setup got
> > messed up.
> > After I deleted all the runtimes and installed them from scratch all
> > flatpaks are up and running, both the nightly and the flathub one.
> > 
> > I would suggest to try the same: uninstall the runtimes and re-install (i.e.
> > org.kde.Platform).
> 
> Thanks.
> I uninstalled the runtime, Kasts (and other apps dependent on the runtime)
> and reinstalled Kasts from Flathu, but Kasts will still not launch.

One other thing that I just thought of: I also cleared out my settings and cache files when I completely reinstalled the runtimes.  Maybe the clearing of the (qml?) cache actually solved the problem rather than the reinstallation itself?  Could you try and remove the directory ~/.var/app/org.kde.kasts and see if that helps?
Comment 10 bart 2023-01-01 14:03:35 UTC
Of course the instructions above will clear out any saved progress.  Be sure to back up the directory first if you don't want to loose it.
Comment 11 Justin 2023-01-01 23:30:18 UTC
(In reply to bart from comment #10)
> Of course the instructions above will clear out any saved progress.  Be sure
> to back up the directory first if you don't want to loose it.

Yes, removing the directory ~/.var/app/org.kde.kasts did the trick!
I did loose my subscriptions but a quick login and sync with Nextcloud had them back!

Thank you!

Closing.