Closed mbernasocchi closed 9 years ago
From Emil: Hi Robin Can you attach the specific log XML file (in ~/.openambit/) causing the crash. We are facing 2 problems here, 1 the application has generated a messed up XML and 2, it crashes when trying to use it... /Emil
From Robin By the way, it seems that OpenAmbit always crashes if there are existing log files in the folder. If I delete the existing files then it seems to work.
From Robin: I have reproduced the crash https://gist.github.com/mbernasocchi/9213726
From Robin The console output in this instance was:
roadkill@roadkill-1000:~/.openambit$ openambit
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x8e38d48), parent's thread is QThread(0x8e142f8), current thread is QThread(0x8b37948)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x8e38d48), parent's thread is QThread(0x8e142f8), current thread is QThread(0x8b37948)
Failed to upload log, movescount.com replied with " ""Move already exists (UserDeviceID: 166409, StartTime_LT: 2\/9\/2014 11:10:12 AM, move.Duration.TotalSeconds: 2.5)"" "
"Unexpected ''.
Line 89, column 39"
Segmentation fault (core dumped)
From @svenstorp (2014-03-01): Do you have any logs which happens to have an activity name longer than 15 letters? For example "crosscountry ski"?
From Robin (2014-03-01): I think "Interval session" is longest i.e. 15 chars.
From Robin (2014-03-01): By the way, is it possible to modify watch settings via OpenAmbit? For example, can I edit the name of an activity type (such as change "Interval session" to "Intervals") on the website and then upload that to the watch?
@Robin: Unfortunately not, this is not implemented yet. That would be related to #21
Lots of changes has happened since this was reported. Closing until it proves to still be a problem
Openambit crashing when attempting to sync. NB: The runs/Moves had already been downloaded from the Ambit during a previous sync i.e. they were listed in the pane on the left hand side. The output in the terminal is included below.