Deedle icon indicating copy to clipboard operation
Deedle copied to clipboard

System.Exception: Operation could not be completed due to earlier error

Open FaguiCurtain opened this issue 8 years ago • 2 comments

I'm running Deedle 1.2.5 after installing FSLab on Xamarin 6.3 on MacOS Sierra

in FSI, i'm trying to go through the tutorial http://bluemountaincapital.github.io/Deedle/frame.html

people.Columns?Age;;
 val it : ObjectSeries<string> =
 Joe     -> 51 
 Tomas   -> 28 
 Eve     -> 2  
 Suzanne -> 15 

people.Columns?Age.As<int>;;
 Stopped due to error
 System.Exception: Operation could not be completed due to earlier error
 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be 

people.Columns?Age.TryAs<string>();;
 Stopped due to error
 System.Exception: Operation could not be completed due to earlier error
 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. at 3,0

FaguiCurtain avatar Apr 24 '17 12:04 FaguiCurtain

@tpetricek Looks like a Mono/OSX-specific bug?

dsyme avatar Apr 24 '17 21:04 dsyme

It might be mono-related, but I'm really puzzled by what can lead to "Operation could not be completed due to earlier error" or "Lookup on object of indeterminate type" in this context.

Could this be caused by how Xamarin sends things to F# Interactive? /cc @nosami

tpetricek avatar Apr 25 '17 12:04 tpetricek