Closed max-thoma closed 4 years ago
Here you can find the sleep data, that I am trying to parse. (I figured that this could be helpful)
removed sleep data, because the issue was fixed
Cheers Max
Hi Max,
Should be fixed now.
Cheers
This is awesome, thank you very much for fixing the issue!
Hi cmaion!
I have been using your software successfully to extract all my data from a Polar 430m. (Thank you very much by the way!)
However, while I was trying to parse my sleep data with
polar_sleepanalysis2txt
I received the following error message:I have tried to troubleshoot the error and found out that these three lines in
polar_sleepanalysis2txt
seem to cause "errors":28:
buffer << "Alarm time : #{pb_localdatetime_to_string sleep.alarm_time}\n"
31:
buffer << "Sleep user rating : #{PolarData::PbSleepUserRating.value_to_names_map[sleep.user_sleep_rating].join(', ')}\n"
38:
buffer << "#{"%9is" % phase.seconds_from_sleep_start}: #{PolarData::PbSleepWakeState.value_to_names_map[phase.sleepwake_state].join(', ')}\n"
If I comment these three lines out, the program runs with no errors but important parts of the sleep data is, of course missing in the report.
I would be very grateful, if you could have a look at this issue and I would be more than happy to provide you with more information if needed.
Cheers,
Max