[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KNS3::UploadDialog doesn't upload the file
From: Jeremy Whiting <jpwhiting () kde ! org>
Date: 2011-10-16 10:46:27
Message-ID: CADWV2K6wJ-vrGWv16BnQA4rS9MQ8k7Mx5rPLpOcVAbH-0Gm=7w () mail ! gmail ! com
[Download RAW message or body]
It's an attica bug, see https://bugs.kde.org/show_bug.cgi?id=281850
On Sun, Oct 16, 2011 at 4:42 AM, Stephane MANKOWSKI
<stephane@mankowski.fr> wrote:
> Hi,
>
> I tried to use the upload dialog panel of KNS3 like this:
> QPointer<KNS3::UploadDialog> dialog = new
> KNS3::UploadDialog("skrooge_monthly.knsrc", this);
>
> dialog->setUploadFile(zipFileName);
> dialog->setUploadName(templat);
> dialog->setPreviewImageFile(0, KUrl(preview1));
> dialog->setPreviewImageFile(1, KUrl(preview2));
> dialog->setPreviewImageFile(2, KUrl(preview3));
> dialog->setDescription(i18nc("Default description for a monthly
> report template", "My favorite template"));
> dialog->exec();
> delete dialog;
>
> The panel is displayed like expected.
> The new page is well created on the http://opendesktop.org servers:
> 1-With the right description :-)
> 2-With the right previews :-)
> 3-Without the download file (set by setUploadFile) :-(
>
> In the console, I can see that:
> XML Returned:
> "<?xml version="1.0"?>
> <ocs>
> <meta>
> <status>failed</status>
> <statuscode>102</statuscode>
> <message>localfile not found</message>
> </meta>
> </ocs>
> "
>
> Do you know why? What is wrong?
> Regards,
> Stephane
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
>>> <<
>
>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic