Back

Lean not running in Python

Hi,

I was able to download and install Lean on my Ubuntu. I followed all the steps in the readme.md to proceed with the installation. However, when I was running QuantConnect.Lean.Launcher.exe on backtesting-desktop mode I got the following error:

gonzalezcga@gonzalezcga-VirtualBox:~/Lean/Launcher/bin/Debug$ mono ./QuantConnect.Lean.Launcher.exe
20180318 15:16:00.977 Trace:: Config.Get(): Configuration key not found. Key: plugin-directory - Using default value:
20180318 15:16:01.202 Trace:: Config.GetValue(): debug-mode - Using default value: False
20180318 15:16:03 Trace:: Config.Get(): Configuration key not found. Key: data-directory - Using default value: ../../../Data/
20180318 15:16:03 Trace:: Config.Get(): Configuration key not found. Key: version-id - Using default value:
20180318 15:16:03 Trace:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: ./../../Data/
20180318 15:16:03 Trace:: Engine.Main(): LEAN ALGORITHMIC TRADING ENGINE v2.4.0.1 Mode: DEBUG (64bit)
20180318 15:16:03 Trace:: Engine.Main(): Started 15:16
20180318 15:16:03 Trace:: Engine.Main(): Memory 137Mb-App  28Mb-Used  1996Mb-Total
20180318 15:16:03 Trace:: Config.GetValue(): job-project-id - Using default value: 0
20180318 15:16:03 Trace:: Config.Get(): Configuration key not found. Key: algorithm-path-python - Using default value: ../../../Algorithm.Python/
20180318 15:16:03 Trace:: Config.Get(): Configuration key not found. Key: lean-manager-type - Using default value: LocalLeanManager
20180318 15:16:04 Trace:: JobQueue.NextJob(): Selected ../../../Algorithm.Python/BasicTemplateAlgorithm.py
20180318 15:16:04 Trace:: Config.Get(): Configuration key not found. Key: history-provider - Using default value: SubscriptionDataReaderHistoryProvider
20180318 15:16:04 Trace:: Config.GetValue(): ignore-version-checks - Using default value: False
20180318 15:16:04 Trace:: Config.GetValue(): algorithm-manager-time-loop-maximum - Using default value: 20
20180318 15:16:05.397 Trace:: Config.Get(): Configuration key not found. Key: data-directory - Using default value: ../../../Data/
20180318 15:16:05.398 Trace:: Config.Get(): Configuration key not found. Key: version-id - Using default value:
20180318 15:16:05.398 Trace:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: ./../../Data/

Unhandled Exception:
System.DllNotFoundException: xul
  at (wrapper managed-to-native) Gecko.Xpcom.NS_InitXPCOM2(Gecko.nsIServiceManager&,object,Gecko.nsIDirectoryServiceProvider)
  at Gecko.Xpcom.Initialize (System.String binDirectory) [0x00149] in <e4dc69168d0d4bd5b77b010b54fd415e>:0
  at Gecko.Xpcom.Initialize () [0x00001] in <e4dc69168d0d4bd5b77b010b54fd415e>:0
  at QuantConnect.Views.WinForms.LeanWinForm..ctor () [0x0002e] in <e9906455fda34f1181dfe085aa3990a4>:0
  at (wrapper remoting-invoke-with-check) QuantConnect.Views.WinForms.LeanWinForm..ctor()
  at QuantConnect.Views.Program.Main (System.String[] args) [0x00005] in <e9906455fda34f1181dfe085aa3990a4>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: xul
  at (wrapper managed-to-native) Gecko.Xpcom.NS_InitXPCOM2(Gecko.nsIServiceManager&,object,Gecko.nsIDirectoryServiceProvider)
  at Gecko.Xpcom.Initialize (System.String binDirectory) [0x00149] in <e4dc69168d0d4bd5b77b010b54fd415e>:0
  at Gecko.Xpcom.Initialize () [0x00001] in <e4dc69168d0d4bd5b77b010b54fd415e>:0
  at QuantConnect.Views.WinForms.LeanWinForm..ctor () [0x0002e] in <e9906455fda34f1181dfe085aa3990a4>:0
  at (wrapper remoting-invoke-with-check) QuantConnect.Views.WinForms.LeanWinForm..ctor()
  at QuantConnect.Views.Program.Main (System.String[] args) [0x00005] in <e9906455fda34f1181dfe085aa3990a4>:0

Does any of you have an idea of the reason behind this?

Thanks in advance for your help.

Rgds.

Gustavo

Update Backtest








For open source support please use the Google Group:

https://groups.google.com/forum/#!forum/lean-engine

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed