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

Serialization problem. #148

Open
gsvgit opened this issue Apr 2, 2016 · 1 comment
Open

Serialization problem. #148

gsvgit opened this issue Apr 2, 2016 · 1 comment

Comments

@gsvgit
Copy link

gsvgit commented Apr 2, 2016

I create a new cluster with starter kit and try to use it from compiled code.

My code:

 let myStorageConnectionString = @"my string"
    let myServiceBusConnectionString = @"my string"
    let config = new Configuration(myStorageConnectionString, myServiceBusConnectionString)    
    let cluster = 
        AzureCluster.Connect(config, 
                                       logger = ConsoleLogger(true), 
                                       logLevel = LogLevel.Info)
    cluster.ShowWorkers()
    let cloudComputations = 
        cloud { 
                return "!!!!"
            }
        |> cluster.CreateProcess

    let r= cloudComputations.Result

Execution failed in cloudComputations with the next exception

An unhandled exception of type 'Nessos.FsPickler.FsPicklerException' occurred in MBrace.Core.dll

Additional information: Error deserializing object of type 'Nessos.Vagabond.VagabondMetadata'.

Detailed stack:

In compiled project MBrace.Azure 1.1.25 is installed. With 1.2.1 I have a problem: workers list in compiled code is empty, but in script I see all 4 workers. Full packages list in compiled project:

<package id="Argu" version="1.1.3" targetFramework="net45" />
  <package id="FSharp.Core" version="4.0.0.1" targetFramework="net45" />
  <package id="FSharpx.Collections" version="1.14.0" targetFramework="net45" />
  <package id="FSharpx.Collections.Experimental" version="1.14.0" targetFramework="net45" />
  <package id="FsPickler" version="1.8.0" targetFramework="net45" />
  <package id="FsPickler.Json" version="1.8.0" targetFramework="net45" />
  <package id="Hyak.Common" version="1.1.0" targetFramework="net45" />
  <package id="MBrace.Azure" version="1.1.25" targetFramework="net45" />
  <package id="MBrace.Core" version="1.0.18" targetFramework="net45" />
  <package id="MBrace.Runtime" version="1.0.18" targetFramework="net45" />
  <package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
  <package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
  <package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" />
  <package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
  <package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net45" />
  <package id="Microsoft.Data.Edm" version="5.7.0" targetFramework="net45" />
  <package id="Microsoft.Data.OData" version="5.7.0" targetFramework="net45" />
  <package id="Microsoft.Data.Services.Client" version="5.7.0" targetFramework="net45" />
  <package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Common" version="1.4.1" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Common.Dependencies" version="1.1.1" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.8.0.0" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management" version="2.2.2" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Compute" version="5.3.0" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Libraries" version="2.0.0" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.MediaServices" version="2.1.2" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Monitoring" version="1.0.1" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Network" version="3.2.1" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Scheduler" version="3.1.1" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.ServiceBus" version="0.18.0-preview" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Sql" version="3.1.2" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.Storage" version="3.2.2" targetFramework="net45" />
  <package id="Microsoft.WindowsAzure.Management.WebSites" version="3.2.0-prerelease" targetFramework="net45" />
  <package id="Mono.Cecil" version="0.9.6.1" targetFramework="net45" />
  <package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" />
  <package id="System.Spatial" version="5.7.0" targetFramework="net45" />
  <package id="Vagabond" version="0.12.7" targetFramework="net45" />
  <package id="WindowsAzure.ServiceBus" version="2.5.4" targetFramework="net45" />
  <package id="WindowsAzure.Storage" version="4.3.0" targetFramework="net45" />
@isaacabraham
Copy link
Contributor

@eiriktsarpalis didn't we have a problem with compiled console apps recently but it was fixed?

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