If I start workbooks and attempt to create a new console or wpf workbook in it, then the status bar says loading but the page says, "Navigation to the webpage was canceled". I get the same error if I attempt to open a workbook. The only difference I could find, is if I use the alpha version of workbooks (currently 1.3 something) and attempt to open a workbook then an error shows up in the log.
Information that might help:
I have replaced all at signs with the text "(at)" in the log text.
Log:
Xamarin Workbooks
Copyright 2016-2017 Microsoft. All rights reserved.
Copyright 2014-2016 Xamarin Inc. All rights reserved.
├─ Version: 1.3.0-alpha2
├─ Date: 6/1/2017 2:53:50 PM
├─ Hash: fa030e0eaff5e0e02aaa5208d8e8e242f7c30fb0
├─ Branch: master
└─ Lane: inspector-windows-master
[Info][00:00:00.0221249] AppSession (.ctor): Starting Xamarin Inspector client (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Clients\Xamarin.Interactive.Client\AppSession.cs:75
[Error][00:00:00.0533665] MainThread (Ensure): Ensure failed in GetValue (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Agents\Xamarin.Interactive\MainThread.cs:49
[Info][00:00:01.2497200] UpdaterService (CheckForUpdatesInBackground): checking for updates (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:247
[Error][00:00:01.3506852] Telemetry (PostEventAsync): exception: System.Runtime.Serialization.SerializationException: bad use of ObjectSerializer ---> System.Exception: GetValue must be invoked on main thread
at Xamarin.Interactive.MainThread.Ensure(String caller)
at Xamarin.Interactive.Preferences.Preference`1.GetValue()
at Xamarin.Interactive.Telemetry.Objects.Application.Xamarin.Interactive.Serialization.ISerializableObject.Serialize(ObjectSerializer serializer)
at Xamarin.Interactive.Serialization.ObjectSerializer.ObjectUnchecked[TSerializable](TSerializable value)
at Xamarin.Interactive.Serialization.ObjectSerializer.Property[TSerializable](String name, TSerializable value)
at Xamarin.Interactive.Telemetry.Events.AppSessionStart.Serialize(ObjectSerializer serializer)
at Xamarin.Interactive.Telemetry.Client.EventObjectStreamContent.Xamarin.Interactive.Serialization.ISerializableObject.Serialize(ObjectSerializer serializer)
at Xamarin.Interactive.Serialization.ObjectSerializer.ObjectUnchecked[TSerializable](TSerializable value)
at Xamarin.Interactive.Telemetry.Client.EventObjectStreamContent.SerializeToStreamAsync(Stream stream, TransportContext context)
--- End of inner exception stack trace ---
at Xamarin.Interactive.Telemetry.Client.EventObjectStreamContent.SerializeToStreamAsync(Stream stream, TransportContext context)
at System.Net.Http.HttpContent.LoadIntoBufferAsync(Int64 maxBufferSize)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Xamarin.Interactive.Telemetry.Client.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Xamarin.Interactive.Telemetry.Client.d__13.MoveNext() (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Clients\Xamarin.Interactive.Client\Telemetry\Client.cs:114
[Info][00:00:02.0547206] UpdaterService (CheckForUpdatesInBackground): no updates are available (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:259
[Info][00:00:03.3582701] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… (at) C:\Users\builder\data\lanes\1661\fa030e0e\source\inspector\Clients\Xamarin.Interactive.Client\Messages\MessageViewController.cs:126
Sorry to bother people, as it turns out my hard drive was failing and corrupted the installation every time.
Answers
Sorry to bother people, as it turns out my hard drive was failing and corrupted the installation every time.