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

#load AwsCluster.fsx throws exceptions #13

Open
evilpepperman opened this issue May 9, 2018 · 4 comments
Open

#load AwsCluster.fsx throws exceptions #13

evilpepperman opened this issue May 9, 2018 · 4 comments

Comments

@evilpepperman
Copy link

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
@AviAvni
Copy link
Contributor

AviAvni commented May 9, 2018

@evilpepperman it's look like you tried to use custom picklers look at

raise <| NotSupportedException("need updates in Vagabond")

try not use it for now

@evilpepperman
Copy link
Author

Ah. But this is in the shipped MBrace.AWS code MBrace.AWS/Configuration/ProcessConfiguration.fs, not code I wrote. So, that's in the realm of maintainers, right? Is there something I can do to workaround? Note that all I'm doing is running the tutorial so far.

@AviAvni
Copy link
Contributor

AviAvni commented May 9, 2018

@evilpepperman I'll try to check how much this urgent to you?

@evilpepperman
Copy link
Author

I'm trying to make an architectural decision on a batch parallel computing project by end-of-week. I do appreciate your insights on this. Currently I can't even "hello world" this tutorial (Thespian works, but that's all). Thanks for any help.

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