Skip to content

#load AwsCluster.fsx throws exceptions #13

@evilpepperman

Description

@evilpepperman

I setup the ProvidedKey and saved AwsCluster.fsx, then did #load "AwsCluster.fsx" in preparation for Config.GetCluster(). But during the load, I got exceptions (see below) complaining "need updates in Vagabond". Tracking the call thru the source, it seems to happen at
do CustomPicklers.registerCustomPicklers()
at MBrace.AWS\src\MBrace.AWS\Configuration\ProcessConfiguration.fs:line 36.

Is there a workaround, or perhaps a correction to my configuration? Maybe this package needs to catch up to the recent work in FsPickler, etc?

Exception here:

[Loading C:\dev\mbrace-test\MBrace.StarterKit-master\packages\MBrace.AWS\MBrace.AWS.fsx
 Loading C:\dev\mbrace-test\MBrace.StarterKit-master\HandsOnTutorial.FSharp\AwsCluster.fsx]
System.TypeInitializationException: The type initializer for '<StartupCode$FSI_0002>.$FSI_0002_MBrace.AWS$fsx' threw an exception. ---> System.TypeInitializationException: The type initializer for 'MBrace.AWS.AWSWorker' threw an exception. ---> System.TypeInitializationException: The type initializer for '<StartupCode$MBrace-AWS>.$Client' threw an exception. ---> System.NotSupportedException: need updates in Vagabond
   at <StartupCode$MBrace-AWS>.$ProcessConfiguration.f@1(FSharpOption`1 workDir, Boolean populateDirs, Boolean isClientInstance, Unit unitVar0) in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.AWS\src\MBrace.AWS\Configuration\ProcessConfiguration.fs:line 36
   at MBrace.AWS.Runtime.ProcessConfiguration.initGlobalState(FSharpOption`1 workDir, Boolean populateDirs, Boolean isClientInstance) in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.AWS\src\MBrace.AWS\Configuration\ProcessConfiguration.fs:line 0
   at <StartupCode$MBrace-AWS>.$Client..cctor() in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.AWS\src\MBrace.AWS\Runtime\Client.fs:line 132
   --- End of inner exception stack trace ---
   at MBrace.AWS.AWSWorker..cctor() in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.AWS\src\MBrace.AWS\Runtime\Client.fs:line 0
   --- End of inner exception stack trace ---
   at MBrace.AWS.AWSWorker.set_LocalExecutable(String path)
   at <StartupCode$FSI_0002>.$FSI_0002_MBrace.AWS$fsx..cctor() in C:\dev\mbrace-test\MBrace.StarterKit-master\packages\MBrace.AWS\MBrace.AWS.fsx:line 22
   --- End of inner exception stack trace ---
   at <StartupCode$FSI_0002>.$FSI_0002_AwsCluster$fsx.main@() in C:\dev\mbrace-test\MBrace.StarterKit-master\HandsOnTutorial.FSharp\AwsCluster.fsx:line 29
Stopped due to error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions