Bug 116789 - Get new Superkaramba theme from internet (with KHotNewStuff) doesn't work
Summary: Get new Superkaramba theme from internet (with KHotNewStuff) doesn't work
Status: RESOLVED FIXED
Alias: None
Product: superkaramba
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Ryan Nickell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 21:53 UTC by Michal Krenek (Mikos)
Modified: 2005-12-14 05:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Krenek (Mikos) 2005-11-20 21:53:45 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Unlisted Binary Package

If I try Get New Stuff in SuperKaramba, it seems to work at first, but after download it displays this error message:

Could not rename partial file /tmp/kde-mikos/.
Please check permissions.

But /tmp/kde-mikos is directory, not file. My permissions on /tmp are drwxrwxrwt and /tmp/kde-mikos have drwx------ permissions (and I am owner of this directory).
Comment 1 Ryan Nickell 2005-11-21 05:13:34 UTC
The only time I see this is when a download link posted on kdelook.org is actually a redirect to a website instead of the link to the download file.
For example I think that Liquid Weather updated the link to point to his new site, but TechMon downloaded and unpacked fine for me.

Please verify this, as it is not an error with SK, however, we could provide a better error message to indicate what went wrong in the process.
Comment 2 Hogne Titlestad 2005-12-05 08:14:41 UTC
It seems like a bug, as when the file fails, SuperKaramba acts as if the file is installed, and so you can't to install it anew, nor uninstall the failed file.
Comment 3 Ryan Nickell 2005-12-14 05:16:51 UTC
SVN commit 488353 by nickell:

BUG:116789  Links are now shown in a browser window for users to
download manually.


 M  +2 -1      sknewstuff.cpp  


--- branches/KDE/3.5/kdeutils/superkaramba/src/sknewstuff.cpp #488352:488353
@@ -138,7 +138,8 @@
   QString file(source.fileName());
   if ( file.isEmpty() )
   {
-    kdDebug() << "the file was empty, this must be a direct URL" << endl;
+    kdDebug() << "The file was empty. " << source.url() << 
+      " must be a direct URL" << endl;
     KRun::runURL( source, "text/html");
     return file;
   }