Recently, I posted "VSCode run python strategy offline with Linux". I thought, finally, that I had a working formula, but it failed - again (: 

So I tried, from scratch again:

cloned lean; edited config.json; nuget restore QuantConnect.Lean.sln; msbuild QuantConnect.Lean.sln and mono Launcher/bin/Debug/QuantConnect.Lean.Launcher.exe

Result


Time Elapsed 00:00:31.33
(QConnect) scubamut@scubamut-HP-Laptop-15-db1xxx:~/Repos/Lean$ mono Launcher/bin/Debug/QuantConnect.Lean.Launcher.exe
20200629 10:41:29.131 Trace:: Config.GetValue(): debug-mode - Using default value: False
20200629 10:41:29.137 Trace:: Config.Get(): Configuration key not found. Key: results-destination-folder - Using default value:
20200629 10:41:29.137 Trace:: Config.Get(): Configuration key not found. Key: plugin-directory - Using default value:
20200629 10:41:29.139 Trace:: Config.Get(): Configuration key not found. Key: composer-dll-directory - Using default value: /home/scubamut/Repos/Lean/Launcher/bin/Debug/
20200629 10:41:29.203 Trace:: Python for .NET Assembly: Python.Runtime, Version=1.0.5.30, Culture=neutral, PublicKeyToken=null
20200629 10:41:29.205 Trace:: Config.Get(): Configuration key not found. Key: log-handler - Using default value: CompositeLogHandler
20200629 10:41:29.233 Trace:: Config.Get(): Configuration key not found. Key: data-directory - Using default value: ../../../Data/
20200629 10:41:29.235 Trace:: Config.Get(): Configuration key not found. Key: version-id - Using default value:
20200629 10:41:29.235 Trace:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: ../../../Data/
20200629 10:41:29.235 Trace:: Engine.Main(): LEAN ALGORITHMIC TRADING ENGINE v2.4.0.0 Mode: DEBUG (64bit)
20200629 10:41:29.235 Trace:: Engine.Main(): Started 10:41 AM
20200629 10:41:29.285 Trace:: Python for .NET Assembly: nPython, Version=1.0.5.30, Culture=neutral, PublicKeyToken=null
20200629 10:41:29.451 Trace:: Config.Get(): Configuration key not found. Key: api-access-token - Using default value:
20200629 10:41:29.453 Trace:: Config.GetValue(): job-user-id - Using default value: 0
20200629 10:41:29.453 Trace:: Config.GetValue(): job-project-id - Using default value: 0
20200629 10:41:29.454 Trace:: Config.Get(): Configuration key not found. Key: algorithm-language - Using default value:

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Must specify valid information for parsing in the string.
at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x00077] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at QuantConnect.Queues.JobQueue..ctor () [0x00040] in <63c28317d274473b8623cad206cd0842>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <7cd4deb8302a478d9d393f24754841da>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00017] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x000a8] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00020] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at QuantConnect.Util.Composer.GetExportedValueByTypeName[T] (System.String typeName) [0x000c3] in <6563c1132dc143808996fd73c95b1201>:0
at QuantConnect.Lean.Engine.LeanEngineSystemHandlers.FromConfiguration (QuantConnect.Util.Composer composer) [0x00011] in <688185f010e64a619bd891be5a57c17b>:0
at QuantConnect.Lean.Launcher.Program.Main (System.String[] args) [0x00132] in <dcee284b141a45c2ac830526070d24eb>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Must specify valid information for parsing in the string.
at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x00077] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at QuantConnect.Queues.JobQueue..ctor () [0x00040] in <63c28317d274473b8623cad206cd0842>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <7cd4deb8302a478d9d393f24754841da>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00017] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x000a8] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <7cd4deb8302a478d9d393f24754841da>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00020] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <7cd4deb8302a478d9d393f24754841da>:0
at QuantConnect.Util.Composer.GetExportedValueByTypeName[T] (System.String typeName) [0x000c3] in <6563c1132dc143808996fd73c95b1201>:0
at QuantConnect.Lean.Engine.LeanEngineSystemHandlers.FromConfiguration (QuantConnect.Util.Composer composer) [0x00011] in <688185f010e64a619bd891be5a57c17b>:0
at QuantConnect.Lean.Launcher.Program.Main (System.String[] args) [0x00132] in <dcee284b141a45c2ac830526070d24eb>:0

Frustrated, yet again.

There are many posts attempting to solve this and other similar problems, but it never seems to go away.

Is there something I'm doing wrong?  I must be doing something wrong, but what?

I love what has been done by QuantConnect, but I think a step-by-step, repeatable process may help many.

Thank you for all your good work!