GithubHelp home page GithubHelp logo

viktor-ferenczi / conveyor-optimizer Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 30 KB

Torch plugin for Space Engineers to reduce the load on conveyor networks imposed by failing item pull requests.

License: MIT License

C# 97.30% Batchfile 2.70%

conveyor-optimizer's People

Contributors

viktor-ferenczi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

conveyor-optimizer's Issues

Plugin Crashes On Startup

Loading the plugin and simply starting torch throws the following error (from logs)

14:39:45.3704 [FATAL] Initializer: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'ConveyorOptimizer.Patches.MyGridConveyorSystemPatch' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) at System.Type.GetMethod(String name, BindingFlags bindingAttr) at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47 --- End of inner exception stack trace --- at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch.Patch(PatchContext ctx) in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 78 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Torch.Managers.PatchManager.PatchManager.AddPatchShim(Type type) in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\Managers\PatchManager\PatchManager.cs:line 54 at Torch.Managers.PatchManager.PatchManager.AddPatchShims(Assembly asm) in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\Managers\PatchManager\PatchManager.cs:line 24 at Torch.TorchBase.RegisterAuxAssembly(Assembly asm) in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\TorchBase.cs:line 492 at Torch.Managers.PluginManager.RegisterAllAssemblies(IReadOnlyCollection1 assemblies) in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 437
at Torch.Managers.PluginManager.LoadPlugin(PluginItem item) in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 411
at Torch.Managers.PluginManager.LoadPlugins() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 197
at Torch.TorchBase.Init() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\TorchBase.cs:line 339
at Torch.Server.TorchServer.Init() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch.Server\TorchServer.cs:line 144
at Torch.Server.Initializer.b__23_0() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch.Server\Initializer.cs:line 153
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'ConveyorOptimizer.Patches.MyGridConveyorSystemPatch' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr)
at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47
--- End of inner exception stack trace ---
at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch.Patch(PatchContext ctx) in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 78
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Torch.Managers.PatchManager.PatchManager.AddPatchShim(Type type) in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\Managers\PatchManager\PatchManager.cs:line 54
at Torch.Managers.PatchManager.PatchManager.AddPatchShims(Assembly asm) in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\Managers\PatchManager\PatchManager.cs:line 24
at Torch.TorchBase.RegisterAuxAssembly(Assembly asm) in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\TorchBase.cs:line 492
at Torch.Managers.PluginManager.RegisterAllAssemblies(IReadOnlyCollection1 assemblies) in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 437 at Torch.Managers.PluginManager.LoadPlugin(PluginItem item) in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 411 at Torch.Managers.PluginManager.LoadPlugins() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\Plugins\PluginManager.cs:line 197 at Torch.TorchBase.Init() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\TorchBase.cs:line 339 at Torch.Server.TorchServer.Init() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch.Server\TorchServer.cs:line 144 at Torch.Server.Initializer.<Run>b__23_0() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch.Server\Initializer.cs:line 153 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() 14:39:45.3863 [FATAL] Initializer: System.TypeInitializationException: The type initializer for 'ConveyorOptimizer.Patches.MyGridConveyorSystemPatch' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) at System.Type.GetMethod(String name, BindingFlags bindingAttr) at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47 --- End of inner exception stack trace --- at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch.Patch(PatchContext ctx) in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 78 System.TypeInitializationException: The type initializer for 'ConveyorOptimizer.Patches.MyGridConveyorSystemPatch' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) at System.Type.GetMethod(String name, BindingFlags bindingAttr) at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47 --- End of inner exception stack trace --- at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch.Patch(PatchContext ctx) in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 78 14:39:45.3863 [FATAL] Initializer: System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) at System.Type.GetMethod(String name, BindingFlags bindingAttr) at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47 System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) at System.Type.GetMethod(String name, BindingFlags bindingAttr) at ConveyorOptimizer.Patches.MyGridConveyorSystemPatch..cctor() in C:\Dev\conveyor-optimizer\ConveyorOptimizer\Patches\MyGridConveyorSystemPatch.cs:line 47

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.