SDL Studio 2019 crashes when I call AHK Manager

I have installed AHK Manager v3 with SDL Studio 2019. The installation was successful but when I call AHK Manager in Studio the program (Studio) always crashes with an empty error message. I have run the small Windows program and tried the 32 bit and 64 bit version of AHK - without success. Has anyone an idea what the problem could be - and how to solve it?

Parents
  • I have the exact same problem, installed the pre-requisites (by default the extra microsoft libraries were installed in C:\DsoFile). SDL crashes with an empty dialog box. In the logs, I found the following fatal error:

    FATAL [2018-12-23 14:41:29,845] Sdl.Desktop.Platform.UnhandledException - 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'.
    System.Windows.Markup.XamlParseException: 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'. ---> System.MissingMethodException: Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'.
    at Owin.AppBuilderExtensions.CreateHttpCfg(RavenDBOptions options)
    at Owin.AppBuilderExtensions.UseRavenDB(IAppBuilder app, RavenDBOptions options)
    at Raven.Database.Server.OwinHttpServer.<.ctor>b__4_0(IAppBuilder app)
    at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
    at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
    at Raven.Database.Embedded.OwinEmbeddedHost.Configure(Action`1 startup, StartOptions options)
    at Raven.Database.Server.OwinHttpServer..ctor(InMemoryRavenConfiguration config, DocumentDatabase db, Boolean useHttpServer, Action`1 configure)
    at Raven.Server.RavenDbServer.Initialize(Action`1 configure)
    at Raven.Database.Client.EmbeddedDocumentStore.Initialize()
    at Raven.Client.Embedded.EmbeddableDocumentStore.Initialize()
    at Sdl.Community.AhkPlugin.Repository.Raven.RavenContext..ctor()
    at Sdl.Community.AhkPlugin.Repository.Raven.RavenContext.<>c.<.cctor>b__14_0()
    at System.Lazy`1.CreateValue()
    --- End of stack trace from previous location where exception was thrown ---
    [...]
    INFO [2018-12-23 14:41:30,106] Sdl.Desktop.Platform.UnhandledException - 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'.#ProcessName=SDLTradosStudio#PhysicalMemorySize=404389888#VirtualMemorySize=283377664#ThreadCount=60#HandleCount=1910#GdiHandleCount=1292#UserHandleCount=508#TotalProcessorTime=00:00:49.2187500

Reply
  • I have the exact same problem, installed the pre-requisites (by default the extra microsoft libraries were installed in C:\DsoFile). SDL crashes with an empty dialog box. In the logs, I found the following fatal error:

    FATAL [2018-12-23 14:41:29,845] Sdl.Desktop.Platform.UnhandledException - 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'.
    System.Windows.Markup.XamlParseException: 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'. ---> System.MissingMethodException: Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'.
    at Owin.AppBuilderExtensions.CreateHttpCfg(RavenDBOptions options)
    at Owin.AppBuilderExtensions.UseRavenDB(IAppBuilder app, RavenDBOptions options)
    at Raven.Database.Server.OwinHttpServer.<.ctor>b__4_0(IAppBuilder app)
    at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
    at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
    at Raven.Database.Embedded.OwinEmbeddedHost.Configure(Action`1 startup, StartOptions options)
    at Raven.Database.Server.OwinHttpServer..ctor(InMemoryRavenConfiguration config, DocumentDatabase db, Boolean useHttpServer, Action`1 configure)
    at Raven.Server.RavenDbServer.Initialize(Action`1 configure)
    at Raven.Database.Client.EmbeddedDocumentStore.Initialize()
    at Raven.Client.Embedded.EmbeddableDocumentStore.Initialize()
    at Sdl.Community.AhkPlugin.Repository.Raven.RavenContext..ctor()
    at Sdl.Community.AhkPlugin.Repository.Raven.RavenContext.<>c.<.cctor>b__14_0()
    at System.Lazy`1.CreateValue()
    --- End of stack trace from previous location where exception was thrown ---
    [...]
    INFO [2018-12-23 14:41:30,106] Sdl.Desktop.Platform.UnhandledException - 'The invocation of the constructor on type 'Sdl.Community.AhkPlugin.ViewModels.ScriptsWindowViewModel' that matches the specified binding constraints threw an exception.' Line number '10' and line position '4'.#ProcessName=SDLTradosStudio#PhysicalMemorySize=404389888#VirtualMemorySize=283377664#ThreadCount=60#HandleCount=1910#GdiHandleCount=1292#UserHandleCount=508#TotalProcessorTime=00:00:49.2187500

Children