[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    Re: [Kstars-devel] Downloadable star catalogs
From:       Khudyakov Alexey <alexey.skladnoy () gmail ! com>
Date:       2010-02-26 20:01:08
Message-ID: 201002262301.08631.alexey.skladnoy () gmail ! com
[Download RAW message or body]

В сообщении от 26 февраля 2010 21:53:19 Lukas Middendorf написал:
> Am Monday 22 February 2010 schrieb Khudyakov Alexey:
> > It seems that knewstuff doesn't play well with big files. I cannot
> > download USNO catalog because it won't fit into my 512M /tmp.
> 
> It indeed seems to be a problem with free disk space.
> 
> The USNO catalog needs a total of 5.4GiB of disk space while being
>  installed. 1.4GiB for the original tar.bz2 (in /tmp)
> 2.0GiB for the tar after uncompressing (in /tmp)
> 2.0GiB for the real catalog (in /home)
> 
> If you run out of disk space in the last step (I have /tmp and /home on the
> same partition) you get only part of the file.
> 
> I guess it could be optimized by either deleting the original download
>  right after uncompressing and before unpacking or by doing the
>  uncompressing and unpacking in one step to skip the *.tar. What is the
>  right component to report this against?
> 
Actually file could be downloaded and uncompressed without using /tmp at all. 
Simple shell script example:

wget "$URL" -O - | gunzip | tar xf - 

I think this is right approach. Most likely knewstuff wasn't designed with 
really big files in mind.

Right component is knewstuff in kdelibs. And please post bug number here if you 
report this issue.

P.S. Currently KStars uses old knewstuff2. I will port it to new variant 
shortly.
_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic