-
Notifications
You must be signed in to change notification settings - Fork 61
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
Unable to initiate qtgui #88
Comments
Hello Zhiyao, I don't think the message in the log file is related. It looks to be a warning from the iterator used to trace chief rays thru the aperture stop center. I haven't run rayoptics on Windows in a long time. I'll try to set it up in a Windows environment here and see if I can reproduce the problem. This will take a few days. |
Hi Mike, Thank you for the quick response! I have the following versions running under Python 3.9.7 (installed via pip install rayoptics): It runs without any issue in a scripting environment. I was also able to call up the GUI by running "rayopticsapp.py" (from the qtgui folder locally). Since I can use the UI this way, you could consider closing the issue unless you'd like to look into the command line problem. Also let me know if there is anything else I could try to figure out the problem. Bests, |
Zhiyao, |
Hi,
I tried to start rayoptics from the command line but the program froze and shut down by itself (without displaying any UI elements). In the "rayoptics.log" I got the following warning: .virtualenvs\rayoptics\lib\site-packages\scipy\optimize_zeros_py.py:348: RuntimeWarning: Tolerance of -2.0827775648601943e-07 reached. warnings.warn(msg, RuntimeWarning). Is this the cause of the problem?
I'm using rayoptics under Win10, Python 3.9.
Thank you in advance for any advices on how to fix the issue.
Best regards,
Zhiyao
The text was updated successfully, but these errors were encountered: