[Kstars-devel] Could not install USNO NOMAD

Akarsh Simha akarshsimha at gmail.com
Tue Aug 11 12:45:25 CEST 2009


On Mon, Aug 10, 2009 at 11:01:04PM +0400, Alexey Khudyakov wrote:
> ?? ?????????????????? ???? ?????????????????????? 10 ?????????????? 2009 22:43:10 ?????????? JeaMY Lee ??????????????:
> > hello,
> >
> > fresh USNO-download with kstars ends in:
> >
> > "QFile::at: Cannot set file position -2121848832"
> >
> > the packed file with the "USNO-NOMAD-1e8.dat" was downloaded fully and
> > without errors from the server and stored in a random file.
> > -rw-r--r--  1 jeamy users 1450631611 10. Aug 18:47 Vj8hE66fAm
> >
> > but the decompression failed with the error above.
> > see file size of the tar file (unpacked with KNewStuff2) against the
> > unpacked file :
> > -rw-------  1 jeamy users 2173122560 10. Aug 18:49 ktar-w26300.tar
> > -rw-r--r--  1 jeamy users 2173117930 10. Aug 18:51 USNO-NOMAD-1e8.dat
> >
> > i did the decompression it on the command line to verify the integrity
> > of the downloaded file.
> > it works perfectly.
> >
> > conclusion: the automatic download succeeds, but the decompression fails
> > at some point.
> > jeamy
> 
> I think it's 32-bit failure. 
> > -rw-------  1 jeamy users 2173122560 10. Aug 18:49 ktar-w26300.tar
> Slightly bigger than 2^31
> 
> > "QFile::at: Cannot set file position -2121848832" 
> About -2e+9 ~ 2^31
> 
> Probably int was used for storing of position instead of qint64.
> I suspect bug in KNewStuff2. 

Hi Alexey,

Thanks for the information. I've filed a bug against KNewStuff2. It
sounds pretty convincing to me that the overflowing of int is the
trouble.

Here's a link to the bug:
https://bugs.kde.org/show_bug.cgi?id=203414

Regards
Akarsh


More information about the Kstars-devel mailing list