Hi Bogdan
 
The satellite module still does not compile in windows. The error log looks the same as it has for about three weeks


Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44"    E 150' 56' 32"



 
> Date: Sun, 17 Jan 2010 12:11:21 +0200
> From: daggerstab@gmail.com
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: Re: [Stellarium-pubdevel] Satellites plug-in crashes Stellarium after updating the TLE list
>
> On Tue, Jan 12, 2010 at 4:36 PM, Bogdan Marinov <daggerstab@gmail.com> wrote:
> > Hello.
> >
> > This is the Satellites plug-in after the last changes, statically linked:
> >
> > After the TLE list is updated once, Stellarium crashes during loading
> > the next time it's run. The same happens if a second update is started
> > manually after the first one. Stellarium log snippet:
> >
> > Satellites::updateTLEs starting update
> > SatellitesDialog::selectedSatelliteChanged for  "AO-10"
> > SatellitesDialog::selectedSatelliteChanged for  ""
> > SatellitesDialog::selectedSatelliteChanged for  "AO-10"
> > SatellitesDialog::selectedSatelliteChanged for  ""
> > SatellitesDialog::selectedSatelliteChanged for  "AO-27"
> > SatellitesDialog::selectedSatelliteChanged for  ""
> > updated orbital elements for:  "AAU CUBESAT"
> > updated orbital elements for:  "DTUSAT"
> > updated orbital elements for:  "ENVISAT"
> > updated orbital elements for:  "ISS (ZARYA)"
> > updated orbital elements for:  "NCUBE-2"
> > Satellites::updateFromFiles Writing updated JSON file
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Cannot serialize QVariant of type  float  in JSON
> > Satellites::updateFromFiles updated orbital elements for  5  satellites
> > SatellitesDialog::updateStateReceiver got a signal
> > Satellites::updateTLEs starting update
> > SatellitesDialog::updateStateReceiver got a signal
> > terminate called after throwing an instance of 'std::runtime_error'
> >  what():  Invalid JSON value: ""
> > Aborted
>
> I investigated a little bit further: I compared the satellites.json
> files before and after an update, and the "hintColor" field was not
> saved properly.
>
> Instead of [0, 0.5, 0.5], the value was [, , ], which causes the crash
> according to the log above.
>
> The reason why StelJsonParser no longer can parse the values seems to
> be the transition to Qt 4.6: something has changed in the handling of
> float values since 4.5.
> http://doc.trolltech.com/4.6/qvariant.html#toFloat
> "This function was introduced in Qt 4.6."
>
> I've committed a fix to the Satellites plug-in:
> http://stellarium.svn.sourceforge.net/viewvc/stellarium?view=rev&revision=5679
>
> Regards,
> Bogdan Marinov
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel


Learn how Video chat with Windows Live Messenger