-
Notifications
You must be signed in to change notification settings - Fork 21
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
fail running Launcher.Legacy for python algorithm #10
Comments
anyone? |
Unfortunately the python runtime does not expose much useful information. It is possible to recover more for debugging if compiled from source. I have seen this error when the build is setup differently than as stated in the readme, so perhaps check your x86/x64 target flag. It might also help to do a clean before building. You may also get this error if trying to run a Python algorithm multi threaded or with the wrong runner, however the optimizer code should prevent this. Can you supply the optimization.config you used for the python algorithm? There is a Python algorithm integration test, so it may be interesting if you can run this. Beyond these checks it will help if you can describe your system OS, .net framework or mono version and any other relevant details as well as supplying the log.txt and error.txt. |
I am facing the same issue wherein the Python version gets stuck at PythonEngine.Initialize():
Getting no error on VB output but following warning: Following is the code for optimization.json:
Windows |
Hi, Has there been any progress with this. I haven't really managed to get anything to work. The previous version had issues with dll, and was hoping the latest release will work with python. Thanks. |
I got everything launching except the final issue - parameterized setup. My config file The must-have fix that I implemented is to fix multi-thread access. Also, you need to go to Rapid Environment Editor and make sure there are no invalid paths (displayed in red), if there are some - remove them. |
I've cloned both Lean (master branch) and this repo as documentation suggests. Launcher successfully optimization of Csharp algorithm (ParameterizedAlgorithm from Jtc.Optimization.LeanOptimizer.Example.dll), but as I switch to Python mentioned in readme (ParameterizedSharedAppDomainAlgorithm, "../../../Jtc.Optimization.LeanOptimizer.Example/ParameterizedSharedAppDomainAlgorithm.py") I get core dumped:
Meanwhile Lean (master branch) runs Python algorithms without a flaw. Please advise.
The text was updated successfully, but these errors were encountered: