On Monday 23 November 2015 12:54:01 Luiz Romário Santana Rios wrote:
> QNetworkReply is a sequential device.
Yes, that's the problem.
> This, as I
> understand it, is only a problem because KCompressionDevice is able to
> open any file it wants in any sequence
No, not KCompressionDevice, but KT
2015-11-25 18:53 GMT-03:00 David Faure :
> On Saturday 21 November 2015 15:50:31 Luiz Romário Santana Rios wrote:
>> , or make the waitFor* calls and warn the user
>> that passing a QIODevice which is not yet fully ready to
>> KCompressionDevice might make KTar::open() block.
>
> That would work I
On Saturday 21 November 2015 15:50:31 Luiz Romário Santana Rios wrote:
> , or make the waitFor* calls and warn the user
> that passing a QIODevice which is not yet fully ready to
> KCompressionDevice might make KTar::open() block.
That would work I guess. In a unittest or a non-gui tool
or a secon
2015-11-23 13:57 GMT-03:00 Aleix Pol :
> On Mon, Nov 23, 2015 at 4:54 PM, Luiz Romário Santana Rios
> wrote:
>> 2015-11-02 14:53 GMT-03:00 Luiz Romário Santana Rios :
>>> Hello,
>>>
>>> I'm trying to decompress a XZ archive downloaded using
>>> QNetworkAccessManager, so, according to the documents
On Mon, Nov 23, 2015 at 4:54 PM, Luiz Romário Santana Rios
wrote:
> 2015-11-02 14:53 GMT-03:00 Luiz Romário Santana Rios :
>> Hello,
>>
>> I'm trying to decompress a XZ archive downloaded using
>> QNetworkAccessManager, so, according to the documents, I have to pass
>> the QNetworkReply pointer to
2015-11-02 14:53 GMT-03:00 Luiz Romário Santana Rios :
> Hello,
>
> I'm trying to decompress a XZ archive downloaded using
> QNetworkAccessManager, so, according to the documents, I have to pass
> the QNetworkReply pointer to a KCompressionDevice and, then, use it as
> Ktar's device like this:
>
>
Hello again.
2015-11-07 6:03 GMT-03:00 David Faure :
> On Friday 06 November 2015 08:47:34 Luiz Romário Santana Rios wrote:
>> 2015-11-06 4:48 GMT-03:00 David Faure :
>> > On Monday 02 November 2015 14:53:40 Luiz Romário Santana Rios wrote:
>> >>
>> >> I'm trying to decompress a XZ archive downloa
On Saturday 07 November 2015 12:18:56 Nick Shaforostoff wrote:
> > Aleix suggested QBuffer, but archives can be *huge*, so this might
> > eat all available memory. This is the reason why KTar uses a temp file
> > for the compressed-tar case.
>
> qbuffer may be used for decompressing archives that
> Aleix suggested QBuffer, but archives can be *huge*, so this might
> eat all available memory. This is the reason why KTar uses a temp file
> for the compressed-tar case.
qbuffer may be used for decompressing archives that are e.g. less than 50% of
free ram
if an archive is larger then tmpfile
On Friday 06 November 2015 08:47:34 Luiz Romário Santana Rios wrote:
> 2015-11-06 4:48 GMT-03:00 David Faure :
> > On Monday 02 November 2015 14:53:40 Luiz Romário Santana Rios wrote:
> >>
> >> I'm trying to decompress a XZ archive downloaded using
> >> QNetworkAccessManager, so, according to the d
2015-11-06 4:48 GMT-03:00 David Faure :
> On Monday 02 November 2015 14:53:40 Luiz Romário Santana Rios wrote:
>>
>> I'm trying to decompress a XZ archive downloaded using
>> QNetworkAccessManager, so, according to the documents, I have to pass
>> the QNetworkReply pointer to a KCompressionDevice
>
2015-11-02 14:53 GMT-03:00 Luiz Romário Santana Rios :
> Hello,
>
> I'm trying to decompress a XZ archive downloaded using
> QNetworkAccessManager, so, according to the documents, I have to pass
> the QNetworkReply pointer to a KCompressionDevice and, then, use it as
> Ktar's device like this:
>
>
On Fri, Nov 6, 2015 at 8:48 AM, David Faure wrote:
> On Monday 02 November 2015 14:53:40 Luiz Romário Santana Rios wrote:
>>
>> I'm trying to decompress a XZ archive downloaded using
>> QNetworkAccessManager, so, according to the documents, I have to pass
>> the QNetworkReply pointer to a KCompres
On Monday 02 November 2015 14:53:40 Luiz Romário Santana Rios wrote:
>
> I'm trying to decompress a XZ archive downloaded using
> QNetworkAccessManager, so, according to the documents, I have to pass
> the QNetworkReply pointer to a KCompressionDevice
I don't think this can work at all.
(and yes
2015-11-03 21:29 GMT-03:00 Aleix Pol :
> On Tue, Nov 3, 2015 at 3:58 AM, Luiz Romário Santana Rios
> wrote:
>> 2015-11-02 23:03 GMT-03:00 Aleix Pol :
>>> On Tue, Nov 3, 2015 at 3:00 AM, Luiz Romário Santana Rios
>>> wrote:
2015-11-02 22:41 GMT-03:00 Aleix Pol :
> On Mon, Nov 2, 2015 at 6
2015-11-02 23:03 GMT-03:00 Aleix Pol :
> On Tue, Nov 3, 2015 at 3:00 AM, Luiz Romário Santana Rios
> wrote:
>> 2015-11-02 22:41 GMT-03:00 Aleix Pol :
>>> On Mon, Nov 2, 2015 at 6:53 PM, Luiz Romário Santana Rios
>>> wrote:
Hello,
I'm trying to decompress a XZ archive downloaded usi
On Tue, Nov 3, 2015 at 3:00 AM, Luiz Romário Santana Rios
wrote:
> 2015-11-02 22:41 GMT-03:00 Aleix Pol :
>> On Mon, Nov 2, 2015 at 6:53 PM, Luiz Romário Santana Rios
>> wrote:
>>> Hello,
>>>
>>> I'm trying to decompress a XZ archive downloaded using
>>> QNetworkAccessManager, so, according to th
2015-11-02 22:41 GMT-03:00 Aleix Pol :
> On Mon, Nov 2, 2015 at 6:53 PM, Luiz Romário Santana Rios
> wrote:
>> Hello,
>>
>> I'm trying to decompress a XZ archive downloaded using
>> QNetworkAccessManager, so, according to the documents, I have to pass
>> the QNetworkReply pointer to a KCompression
On Mon, Nov 2, 2015 at 6:53 PM, Luiz Romário Santana Rios
wrote:
> Hello,
>
> I'm trying to decompress a XZ archive downloaded using
> QNetworkAccessManager, so, according to the documents, I have to pass
> the QNetworkReply pointer to a KCompressionDevice and, then, use it as
> Ktar's device like
Em 02/11/2015 16:31, "Boudhayan Gupta" escreveu:
>
> I'd first ascertain whether the file is corrupt.
I'm pretty sure the file is OK. As a workaround, I had to write the
downloaded contents into a temporary file, then extract the contents from
the temp file using KTar, but I have to change that, s
I'd first ascertain whether the file is corrupt. Why don't you dump
the tar to a QFile and manually use tar -xvf to extract it, just to
test whether the download is working?
On 2 November 2015 at 23:23, Luiz Romário Santana Rios
wrote:
> Hello,
>
> I'm trying to decompress a XZ archive downloaded
Hello,
I'm trying to decompress a XZ archive downloaded using
QNetworkAccessManager, so, according to the documents, I have to pass
the QNetworkReply pointer to a KCompressionDevice and, then, use it as
Ktar's device like this:
https://gist.github.com/anonymous/b8fb686367f518a7dbb5
The problem i
22 matches
Mail list logo