Closed punknroll closed 10 years ago
Hum, fishy! The logfile actually suggest that MaxTemp IS greater than MinTemp... What version were you using? 0.2 or latest master?
I use latest master!
git pull and running ./install.sh again should be sufficient to run the latest version?
Here is a new small log for testing...same problem:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE openambitlog>
<openambitlog version="1.0">
<SerialNumber>68A5095124001100</SerialNumber>
<Time>2014-09-08T10:55:30</Time>
<MovescountId></MovescountId>
<DeviceInfo>
<Serial>68A5095124001100</Serial>
<Model>Duck</Model>
<Name>Suunto Ambit2</Name>
<FWVersion>2.0.9</FWVersion>
<HWVersion>74.1.19201</HWVersion>
</DeviceInfo>
<PersonalSettings>
<SportModeButtonLock>1</SportModeButtonLock>
<TimeModeButtonLock>0</TimeModeButtonLock>
<CompassDeclination>0</CompassDeclination>
<UnitsMode>0</UnitsMode>
<Units>
<AirPressureUnit>0</AirPressureUnit>
<AltitudeUnit>0</AltitudeUnit>
<DistanceUnit>0</DistanceUnit>
<HeightUnit>0</HeightUnit>
<TemperatureUnit>0</TemperatureUnit>
<VerticalSpeedUnit>0</VerticalSpeedUnit>
<WeightUnit>0</WeightUnit>
<CompassUnit>0</CompassUnit>
<HRUnit>0</HRUnit>
<SpeedUnit>0</SpeedUnit>
</Units>
<GPSPositionFormat>0</GPSPositionFormat>
<Language>1</Language>
<NavigationStyle>0</NavigationStyle>
<GPSTimeKeeping>0</GPSTimeKeeping>
<Use24hClock>0</Use24hClock>
<Alarm>00:00</Alarm>
<AlarmEnable>0</AlarmEnable>
<DualTime>00:00</DualTime>
<DisplayDateMode>0</DisplayDateMode>
<TonesMode>1</TonesMode>
<BacklightMode>0</BacklightMode>
<BacklightBrightness>50</BacklightBrightness>
<DisplayBrightness>50</DisplayBrightness>
<DisplayIsNegative>0</DisplayIsNegative>
<Weight>7300</Weight>
<BirthYear>1979</BirthYear>
<MaxHR>180</MaxHR>
<RestHR>60</RestHR>
<FitnessLevel>70</FitnessLevel>
<IsMale>1</IsMale>
<Length>175</Length>
<AltiBaroMode>2</AltiBaroMode>
<FusedAltiDisabled>0</FusedAltiDisabled>
<BikePODCalibration>10000</BikePODCalibration>
<BikePODCalibration2>10000</BikePODCalibration2>
<BikePODCalibration3>10000</BikePODCalibration3>
<FootPODCalibration>10000</FootPODCalibration>
<AutomaticBikePowerCalibration>1</AutomaticBikePowerCalibration>
</PersonalSettings>
<Log>
<Header>
<DateTime>2014-09-08T10:55:30</DateTime>
<Duration>25000</Duration>
<Ascent>0</Ascent>
<Descent>0</Descent>
<AscentTime>0</AscentTime>
<DescentTime>0</DescentTime>
<RecoveryTime>0</RecoveryTime>
<Speed>
<Avg>0</Avg>
<Max>1550</Max>
<MaxTime>23664</MaxTime>
</Speed>
<Cadence>
<Avg>0</Avg>
<Max>0</Max>
<MaxTime>0</MaxTime>
</Cadence>
<Altitude>
<Max>487</Max>
<Min>-32768</Min>
<MaxTime>20676</MaxTime>
<MinTime>0</MinTime>
</Altitude>
<HR>
<Avg>0</Avg>
<Max>0</Max>
<Min>0</Min>
<MaxTime>0</MaxTime>
<MinTime>0</MinTime>
</HR>
<PeakTrainingEffect>10</PeakTrainingEffect>
<ActivityType>3</ActivityType>
<Activity>Laufen</Activity>
<Temperature>
<Max>314</Max>
<Min>312</Min>
<MaxTime>19951</MaxTime>
<MinTime>47</MinTime>
</Temperature>
<Distance>0</Distance>
<LogItemCount>42</LogItemCount>
<Energy>0</Energy>
<TimeToFirstFix>0</TimeToFirstFix>
<BatteryChargeAtStart>0</BatteryChargeAtStart>
<BatteryCharge>0</BatteryCharge>
<DistanceBeforeCalibrationChange>0</DistanceBeforeCalibrationChange>
<Unknown1>0100000000</Unknown1>
<Unknown2>fc</Unknown2>
<Unknown3>01000000</Unknown3>
<Unknown4>00000000</Unknown4>
<Unknown5>4e006363</Unknown5>
<Unknown6>0000000000000000ffffffff000000000000000000000000</Unknown6>
</Header>
<Samples>
<Sample>
<Type id="792">activity</Type>
<UTC>0109-04-03T14:19:45.954Z</UTC>
<Time>0</Time>
<ActivityType>3</ActivityType>
<CustomModeId>52435</CustomModeId>
</Sample>
<Sample>
<Type id="61440">unknown</Type>
<UTC>0109-04-03T14:19:45.954Z</UTC>
<Time>0</Time>
<Data>0000</Data>
</Sample>
<Sample>
<Type id="777">lap-info</Type>
<UTC>0109-04-03T14:19:45.954Z</UTC>
<Time>0</Time>
<Lap>
<Type id="31">Start</Type>
<DateTime>2014-09-08T10:55:30</DateTime>
<Duration>0</Duration>
<Distance>0</Distance>
</Lap>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:45.999Z</UTC>
<Time>45</Time>
<VerticalSpeed>0</VerticalSpeed>
<Temperature>312</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Speed>0</Speed>
<Time>45</Time>
</Sample>
<Sample>
<Type id="786">time</Type>
<UTC>0109-04-03T14:19:46.000Z</UTC>
<Time>46</Time>
<TimeRef>10:55:30</TimeRef>
</Sample>
<Sample>
<Type id="783">gps-base</Type>
<UTC>0109-04-03T14:19:46.000Z</UTC>
<Time>46</Time>
<NavValid>0</NavValid>
<NavType>516</NavType>
<UTCReference>2014-09-08T08:55:30.000Z</UTCReference>
<Latitude>475119463</Latitude>
<Longitude>120928091</Longitude>
<GPSAltitude>53293</GPSAltitude>
<GPSSpeed>18</GPSSpeed>
<GPSHeading>32376</GPSHeading>
<EHPE>966</EHPE>
<NumberOfSatellites>6</NumberOfSatellites>
<GpsHDOP>9</GpsHDOP>
<Satellites>
<Satellite>
<SV>25</SV>
<SNR>32</SNR>
<State>191</State>
</Satellite>
<Satellite>
<SV>12</SV>
<SNR>20</SNR>
<State>173</State>
</Satellite>
<Satellite>
<SV>21</SV>
<SNR>31</SNR>
<State>173</State>
</Satellite>
<Satellite>
<SV>29</SV>
<SNR>36</SNR>
<State>191</State>
</Satellite>
<Satellite>
<SV>31</SV>
<SNR>29</SNR>
<State>173</State>
</Satellite>
<Satellite>
<SV>14</SV>
<SNR>29</SNR>
<State>173</State>
</Satellite>
<Satellite>
<SV>10</SV>
<SNR>6</SNR>
<State>172</State>
</Satellite>
<Satellite>
<SV>2</SV>
<SNR>8</SNR>
<State>173</State>
</Satellite>
<Satellite>
<SV>5</SV>
<SNR>0</SNR>
<State>0</State>
</Satellite>
<Satellite>
<SV>6</SV>
<SNR>0</SNR>
<State>0</State>
</Satellite>
<Satellite>
<SV>0</SV>
<SNR>0</SNR>
<State>0</State>
</Satellite>
<Satellite>
<SV>0</SV>
<SNR>0</SNR>
<State>0</State>
</Satellite>
</Satellites>
</Sample>
<Sample>
<Type id="795">position</Type>
<UTC>0109-04-03T14:19:46.001Z</UTC>
<Time>47</Time>
<Latitude>475119463</Latitude>
<Longitude>120928091</Longitude>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:46.001Z</UTC>
<Time>47</Time>
<VerticalSpeed>0</VerticalSpeed>
<Temperature>312</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Speed>0</Speed>
<Time>47</Time>
</Sample>
<Sample>
<Type id="61440">unknown</Type>
<UTC>0109-04-03T14:19:46.616Z</UTC>
<Time>662</Time>
<Data>4040</Data>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:46.630Z</UTC>
<Time>676</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>0</Speed>
<Time>676</Time>
</Sample>
<Sample>
<Type id="776">distance-source</Type>
<UTC>0109-04-03T14:19:47.618Z</UTC>
<Time>1664</Time>
<DistanceSource id="2">GPS</DistanceSource>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:47.618Z</UTC>
<Time>1664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>29</Speed>
<Time>1664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:48.617Z</UTC>
<Time>2663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>29</Speed>
<Time>2663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:49.617Z</UTC>
<Time>3663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>31</Speed>
<Time>3663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:50.617Z</UTC>
<Time>4663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>32</Speed>
<Time>4663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:51.617Z</UTC>
<Time>5663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>32</Speed>
<Time>5663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:52.616Z</UTC>
<Time>6662</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>32</Speed>
<Time>6662</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:53.618Z</UTC>
<Time>7664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>7664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:54.617Z</UTC>
<Time>8663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>37</Speed>
<Time>8663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:55.618Z</UTC>
<Time>9664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>36</Speed>
<Time>9664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:56.617Z</UTC>
<Time>10663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>10663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:57.617Z</UTC>
<Time>11663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>11663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:58.618Z</UTC>
<Time>12664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>12664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:19:59.615Z</UTC>
<Time>13661</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>34</Speed>
<Time>13661</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:00.617Z</UTC>
<Time>14663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>34</Speed>
<Time>14663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:01.617Z</UTC>
<Time>15663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>34</Speed>
<Time>15663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:02.617Z</UTC>
<Time>16663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>16663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:03.617Z</UTC>
<Time>17663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>17663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:04.617Z</UTC>
<Time>18663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>35</Speed>
<Time>18663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:05.618Z</UTC>
<Time>19664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>313</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>486</Altitude>
<Speed>37</Speed>
<Time>19664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:06.632Z</UTC>
<Time>20678</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>39</Speed>
<Time>20678</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:07.617Z</UTC>
<Time>21663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>41</Speed>
<Time>21663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:08.617Z</UTC>
<Time>22663</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>42</Speed>
<Time>22663</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:09.618Z</UTC>
<Time>23664</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>43</Speed>
<Time>23664</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:10.636Z</UTC>
<Time>24682</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>43</Speed>
<Time>24682</Time>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:11.000Z</UTC>
<Time>25046</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>43</Speed>
<Time>25046</Time>
</Sample>
<Sample>
<Type id="772">log-pause</Type>
<UTC>0109-04-03T14:20:11.000Z</UTC>
<Time>25046</Time>
</Sample>
<Sample>
<Type id="785">gps-tiny</Type>
<UTC>0109-04-03T14:20:11.001Z</UTC>
<Time>25047</Time>
<Latitude>475119493</Latitude>
<Longitude>120928461</Longitude>
<EHPE>700</EHPE>
<Unknown>183</Unknown>
</Sample>
<Sample>
<Type id="777">lap-info</Type>
<UTC>0109-04-03T14:20:11.007Z</UTC>
<Time>25053</Time>
<Lap>
<Type id="30">Pause</Type>
<DateTime>2014-09-08T10:55:30</DateTime>
<Duration>24900</Duration>
<Distance>0</Distance>
</Lap>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:11.008Z</UTC>
<Time>25054</Time>
<VerticalSpeed>0</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>43</Speed>
<Time>25054</Time>
</Sample>
<Sample>
<Type id="777">lap-info</Type>
<UTC>0109-04-03T14:20:14.318Z</UTC>
<Time>28364</Time>
<Lap>
<Type id="1">Manual</Type>
<DateTime>2014-09-08T10:55:30</DateTime>
<Duration>25000</Duration>
<Distance>0</Distance>
</Lap>
</Sample>
<Sample>
<Type id="512">periodic</Type>
<UTC>0109-04-03T14:20:14.342Z</UTC>
<Time>28388</Time>
<VerticalSpeed>1</VerticalSpeed>
<Cadence>0</Cadence>
<Temperature>314</Temperature>
<SeaLevelPressure>10130</SeaLevelPressure>
<Altitude>487</Altitude>
<Speed>43</Speed>
<Time>28388</Time>
</Sample>
</Samples>
</Log>
</openambitlog>
I can confirm I get the same issue with a log from today (a sync last week worked fine), movescount.com have obviously changed something...
Oh dear, I might need to revise my previous post!
Short story: When building from source, make sure new libambit.h header file is resolved to newest version, e.g. make sure there is no libambit.h under /usr/include OR run ./install.sh script.
Long story: A while back there was a change in the public header file of the libambit (libambit.h), rendering compatibility issues between different versions of libambit and openambit UI. In my case, I did rebuild both libambit and openambit, but had still the old header file installed in (/usr/include/libambit.h). Since libambit.h is internal in libambit, libambit was built with the new header file, while openambit still resolved to the old header file in /usr/include/libambit.h...
@punknroll Are you really sure that it is the log you have attached that causes the error? For the problem I describe above, the MaxTemp is really < MinTemp.
I removed /usr/include/libambit.h and did a fresh git clone and ran ./install.sh. Now the error is gone. Thanx for help.
New logs are not synced with movescount anymore. The error says:
Failed to upload log, movescount.com replied with " ""MaxTemp must be greater than or equal to MinTemp"" "
Here is the log file: https://www.dropbox.com/s/xbj7888arbnql17/log_68A5095124001100_2014_08_25_19_14_04.log?dl=0