Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when downloading - unknown event type (golf) #102

Open
briankavanaugh opened this issue Jul 15, 2015 · 2 comments
Open

Crash when downloading - unknown event type (golf) #102

briankavanaugh opened this issue Jul 15, 2015 · 2 comments

Comments

@briankavanaugh
Copy link


Imminent Crash

An unhandled exception occurred - sorry about that, we're going to have to crash now :(

You can open a bug with a copy of this crash: hit Ctrl + C right now and then paste into a new bug at https://github.com/nachmore/unBand/issues.

System.Collections.Generic.KeyNotFoundException: Unknown event type: Microsoft.Khronos.Cloud.Ods.Data.Entities.GolfEventDTO

at unBand.Cloud.BandEventBase.FromDynamic(Object rawBandEvent) in d:\codesanity\oss\unBand\src\unBand.Cloud\Events\BandEventBase.cs:line 132

at unBand.Cloud.BandCloudClient.d__27.MoveNext() in d:\codesanity\oss\unBand\src\unBand.Cloud\BandCloudClient.cs:line 197

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.CloudHelpers.BandCloudManager.d__0.MoveNext() in d:\codesanity\oss\unBand\src\unBand\CloudHelpers\BandCloudManager.cs:line 140

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.pages.ActivityLogPage.d__b.MoveNext() in d:\codesanity\oss\unBand\src\unBand\pages\ActivityLogPage.xaml.cs:line 176

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.pages.ActivityLogPage.<btnLoadEvents_Click>d__8.MoveNext() in d:\codesanity\oss\unBand\src\unBand\pages\ActivityLogPage.xaml.cs:line 171

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c__DisplayClass2.b__3(Object state)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OK

briankavanaugh added a commit to briankavanaugh/unBand that referenced this issue Aug 1, 2015
* Added support for golf
* BandProperties - removed PermanentSerialNumber; changed
GetFirmwareVersionsAsync to GetFirmwareVersionAsync
* RunSequencesToCSVExporter - wrong type in string
@briankavanaugh
Copy link
Author

I have added the code for this and made a couple of changes for the newest version of the Microsoft Sync app to a fork off of robsonj's fork.

@Roadstergal
Copy link

I just opened an Issue for a similar problem - Microsoft added the new Hike event, and now that I have a Hike on my band, Unband crashes trying to read the activities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants