After the update to v3.5.5, I get the following error: "Due to a known issue in the KDE framework, updating already downloaded items is not possible." and then all installed catalogs are removed. I tried to do a clean install (e.g. remove all config/cache/user files and reinstall kstars), but after I've downloaded the catalog and restarted the application I get a notification with that error. $ kstars Call to writableLocation without an application-based location. org.kde.kstars: Welcome to KStars 3.5.5 Stable org.kde.kstars: Build: 2021-09-15T00:00:00Z org.kde.kstars: OS: "opensuse-tumbleweed" org.kde.kstars: API: "x86_64-little_endian-lp64" org.kde.kstars: Arch: "x86_64" org.kde.kstars: Kernel Type: "linux" org.kde.kstars: Kernel Version: "5.14.2-1-default" org.kde.kstars: Qt Version: 5.15.2 org.kde.kstars: Processing "unnamedstars.dat" , HTMesh Level 3 org.kde.kstars: Sky Mesh Size: 512 org.kde.kstars: Loaded DSO catalog file: "unnamedstars.dat" org.kde.kstars: "Star HD20,794 not found." org.kde.kstars: "Star HD98,230 not found." org.kde.kstars: Loaded DSO catalogs. File opened: "/home/pstivanin/.local/share/kstars/comets.dat" kf.xmlgui: Shortcut for action "get_data" "Download New Data..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. kf.xmlgui: Shortcut for action "timestep_increase_units" "Increase Time Scale" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. kf.xmlgui: Shortcut for action "timestep_decrease_units" "Decrease Time Scale" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Cannot center on "star" : no object found. org.kde.kstars: Current icon theme is "Adwaita" glibc >= 2.1 detected. Using GNU extension sincos() static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*) File opened: "/home/pstivanin/.local/share/kstars/comets.dat" org.kde.kstars: Loading asteroids File opened: "/home/pstivanin/.local/share/kstars/asteroids.dat" kf.kwidgetsaddons: Invalid pixmap specified. kf.kwidgetsaddons: Invalid pixmap specified.
Can you try to explicitly uninstall the catalog and install it again. Otherwise deleting .local/share/knewstuff3/kstars.knsregistry might help. On 9/17/21 14:09, Jasem Mutlaq wrote: > https://bugs.kde.org/show_bug.cgi?id=442591 > > Jasem Mutlaq <mutlaqja@ikarustech.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Assignee|mutlaqja@ikarustech.com |hiro@protagon.space >
I've tried to: * uninstall/install catalogs (even with everything uninstalled if I restart Kstars I get that error) * removing everything kstars related from my home dir (find . -iname *kstars*) Error still there. I'm using openSUSE Tumbleweed, latest snapshot, GNOME x86_64 I'm gonna try on a vm now.
How to reproduce: 1. download https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Current.iso 2. install OS with default settings, select "Desktop with GNOME" 3. after the system is installed, "sudo zypper in -y kstars" 4. launch kstars 5. at the setup wizard, select "download extra data" 6. install, for example, openNGC and Lynd's Catalogue of Dark Nebulae 7. close - done, exit kstars 9. start kstars again 10. select Data -> download new data what happens: a popup with the error mentioned in c#1 appears and all installed catalogues are no longer intsalled what should happen instead: no popup and catalogs are still there
I am trying to reproduce the behavior now. Let's see. I am suspecting that this is a problem with the upstream knewstuff code... 9/17/21 16:58, Paolo wrote: > https://bugs.kde.org/show_bug.cgi?id=442591 > > --- Comment #3 from Paolo <info@paolostivanin.com> --- > How to reproduce: > > 1. download > https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Current.iso > 2. install OS with default settings, select "Desktop with GNOME" > 3. after the system is installed, "sudo zypper in -y kstars" > 4. launch kstars > 5. at the setup wizard, select "download extra data" > 6. install, for example, openNGC and Lynd's Catalogue of Dark Nebulae > 7. close - done, exit kstars > 9. start kstars again > 10. select Data -> download new data > > what happens: a popup with the error mentioned in c#1 appears and all installed > catalogues are no longer intsalled > > what should happen instead: no popup and catalogs are still there >
can you tell me what "kf5-config --version" gives on your vm? I can't reproduce the issue with version 5.84.0 On 9/17/21 16:58, Paolo wrote: > https://bugs.kde.org/show_bug.cgi?id=442591 > > --- Comment #3 from Paolo <info@paolostivanin.com> --- > How to reproduce: > > 1. download > https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Current.iso > 2. install OS with default settings, select "Desktop with GNOME" > 3. after the system is installed, "sudo zypper in -y kstars" > 4. launch kstars > 5. at the setup wizard, select "download extra data" > 6. install, for example, openNGC and Lynd's Catalogue of Dark Nebulae > 7. close - done, exit kstars > 9. start kstars again > 10. select Data -> download new data > > what happens: a popup with the error mentioned in c#1 appears and all installed > catalogues are no longer intsalled > > what should happen instead: no popup and catalogs are still there >
$ kf5-config --version Qt: 5.15.2 KDE Frameworks: 5.85.0 kf5-config: 1.0
I just tried on openSUSE Leap 15.3 (installed from scratch on a VM), which has the following KDE components: Qt: 5.12.7 KDE Frameworks: 5.76.0 kf5-config: 1.0 but the issue is still there :(
Hmm, that's weird. It seems that now catalogs are *no* longer being uninstalled, even though the notification always pops up when opening the catalog dialog. I can no longer reproduce the deinstallation bug.
The notification is hardcoded and always pops up because there is an upstream bug in knewstuff. Sorry for the delay. I am still haggling with the VM :P
Can you check if under Data->Manage DSO Catalogs the catalogs are present and stay present...
Ok weird. For me kstars just straight out crashes in the vm
Yes, catalogs are installed and present! Ok,if the notification is expected then this bug can be closed, I'd say. I'm not able to reproduce it again.
you mean on an openSUSE vm? for me it works just fine, both with 15.3 GNOME and Tumbleweed GNOME. I've allocated 2GB ram and 2 vCPUs (I'm using virt-manager)
> you mean on an openSUSE vm? > for me it works just fine, both with 15.3 GNOME and Tumbleweed GNOME. I've > allocated 2GB ram and 2 vCPUs (I'm using virt-manager) I'm using VirtualBox with 4GiB and 4 cores. No clue what's going on. I suspect that something inside the VirtualBox kernel stuff is glitching on nixos... > Yes, catalogs are installed and present! > > Ok,if the notification is expected then this bug can be closed, I'd say. > I'm not able to reproduce it again. The thing with that popup message is rather unfortunate, but has to stay for now. The downloading and updating of the catalogs is handled by an external library [knewstuff] that we don't have control over. Currently, updating catalogs is broken, so you have to uninstall and reinstall them to update. A fix is already in the upstream code, but it takes a while to propagate.
Ok, thanks a lot Valentin!