Summary: | Comics not installing on KDE SC 4.11.1, but Comic applet says they are installed. | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Ryan <ryanvader82> |
Component: | widget-comic | Assignee: | Matthias Fuchs <mat69> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andamu, ao, argymeg, assolutooccidentale, christian.lange.81, davidgilmorehappy, georges.portailler, gita.benadi, karaluh, keithzg, lucidlytwisted, mat69, michaelaquilina, pedrogomes81, Saljacky, scarpino, simonandric5, stupor_scurvy343, willemsonke |
Priority: | NOR | ||
Version: | 4.11.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | http://http://forum.kde.org/viewtopic.php?f=67&t=117423 | ||
Latest Commit: | http://commits.kde.org/kdeplasma-addons/250ad26b897ad15259dc9dc96481c5396b501c86 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Fix installing .comic provider packages.
Plain diff -u -p orig fixed > patch file. |
Description
Ryan
2013-09-18 03:48:34 UTC
Installing comics with plasmapkg -t comic -i works. But installing them with the applet installer does not. I can confirm this on Kubuntu 13.10 (KDE 4.11.2). Installing it via the comic applet does not work (the install dialog only shows the deinstall-button, but it doesn't appear in the list of installed comics). Downloading and installing via the command line (plasmapkg -t comic -i) works though. Thank you, now that i can add the strips manually, i can figure out how to display them. I am also experiencing the same issue. I am currently running Kubuntu 13.10 Someone please mark confirmed... I am also seeing this on a fresh install of Kubuntu 13.10, KDE 4.11.2, Qt 4.8.4 Can someone provide a bit more detail on Commet #1? https://bugs.kde.org/show_bug.cgi?id=325028#c1 Is that a possible workaround? I seem to be having the same problem on Chakra Linux, KDE 4.11.3. So I guess it is not only Kubuntu having an issue. (In reply to comment #6) > I am also seeing this on a fresh install of Kubuntu 13.10, KDE 4.11.2, Qt > 4.8.4 > > Can someone provide a bit more detail on Commet #1? > https://bugs.kde.org/show_bug.cgi?id=325028#c1 > > Is that a possible workaround? If you download the comic file and use that command it will install the comic manually. It is the same as clicking install in the comic strip settings. (theoretically anyway). I noticed this issue myself on 4.11.2 on Kubuntu 13.10. I've tested 4.11.3 and the latest 4.12 RC (4.11.97), and the issue remains. It also happens in 4.11.4 on Arch Linux. For those of you who need this, here's an easy way to make it work. Run sudo sed -i 's/-i/-u/g' /usr/share/kde4/config/comic.knsrc This will change the InstallationCommand in the comic.knsrc to use the plasmapkg install option (-i) for the comic package instead of the upgrade option (-u). This will make installing the comic packages again, but they will no be upgraded. So first you'll have to remove the package, then install it again when a new version of the comic package appears. This seems like a good fix so we need someone to publish it to git please. I also confirm the bug on OpenSuse 13.1, KDE 4.12. The .comic files are downloaded to the .kde4/share/apps/plasma/comics folder, but not installed. I could run plasmapkg manually. But I have editted the comic.knsrc file as Andrei mentioned, and it works. However I cannot uninstall some specific strip. Two examples are "nerdson" and "skin horse". If I go the the strips list, and click at "Uninstall", it's no longer listed as an "installed" strip there. But it is still listed as an installed strip in the "General" menu. The message I get from plasmaviewer is the following: plasmapkg(18327)/libplasma Plasma::PackageStructurePrivate::createPackageMetadata: No metadata file in the package, expected it at: "/tmp/kde-pcgomes/plasmapkgKzv59j//metadata.desktop" Plugin /home/pcgomes/.kde4/share/apps/plasma/comics//98763-nerdson.comic is not installed. plasmoidviewer(18311)/knewstuff (api): Command failed It is worth to mention that the file "98763-nerdson.comic" is removed from the folder ".kde4/share/apps/plasma/comics/", but not the "nerdson" folder. Also, the "plasma-comic-nerdson.desktop" file inside ".kde4/share/kde4/services" remain. If I execute "plasmapkg -t comic -r nerdson" it is removed. i had the very same problem installing comics just now only one of those i'm reading works the other ones (snoopy, garfield, wizard of id, calvina nd hobbes, bob the squirrel, etc) ain't working: is it plasma fault or comics "database"'s? *** Bug 306279 has been marked as a duplicate of this bug. *** I have the same problem with comic, it has been working since Kubuntu 8.10 and on through all upgrades inclduing 13.10 I inavertently suppressed it from my desktop using the add / modify graphic component feature et now i am unable to have my prefered comics apod & dilbert on my desktop. Running plasmoidviewer in a terminal returns the error "not installed" to have it installed run "sudo apt-get install kde-workspace-bin" which dosen't solve problem. The followin,g commands are installing the appropriate comics but I am unable to show them up: "sudo plasmapkg -t comic -i /home/geo/.kde/share/apps/plasma/102733-apod.comic" "sudo plasmapkg -t comic -i /home/geo/.kde/share/apps/plasma/102733-apod.comic" I do not knwo how to install the plasmoidviewer outside kde-workspace-bin. Thanks for your help Created attachment 85835 [details]
Fix installing .comic provider packages.
This patch fixes the .comic packages not installing correctly with the GHNS dialog.
how do i apply it? does it fix my issue as well (it seems i can successfully install comics now, but whenever i want to add some like wizard of id or snoopy it's like it can't retrieve it from the web)? Created attachment 85847 [details]
Plain diff -u -p orig fixed > patch file.
Apply with patch -p 0 -i /path/to/kde-runtime-diff.patch file. This applies to the kde-runtime/plasma/tools/plasmapkg/main.cpp file in KDE source code. Regarding Comment #12, I've submitted another patch which fixes the issue of installing/removing packages like desktop themes or the nerdson comic which contain the files enclosed in another folder in the package archive file. *** Bug 335610 has been marked as a duplicate of this bug. *** Git commit 250ad26b897ad15259dc9dc96481c5396b501c86 by David E. Narvaez. Committed on 06/06/2014 at 11:51. Pushed by narvaez into branch 'KDE/4.13'. Fix Comic Strip Installation Use the plasmapkg option to install instead of the one to upgrade. REVIEW: 118583 M +1 -1 applets/comic/comic.knsrc http://commits.kde.org/kdeplasma-addons/250ad26b897ad15259dc9dc96481c5396b501c86 |