-
Notifications
You must be signed in to change notification settings - Fork 32
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
Ending continuous mode with session.end() not working #181
Comments
Hi @jmball! Thank you for the feedback! Your script seems correct and this is the proper way to use a continuous session. Although it seems that not the session.end() call is the problem here. I tried to remove that line and the script still hangs, but in a little different style: with the session.end() I can't even stop the program using CTRL+C; without the session.end() call I can stop the program with CTRL+C. Is this the case for you as well? As a side note, I tried to run the script on Ubuntu and it works as expected. So I suspect the issue is somehow Windows specific. I will investigate this issue further and will come back to you with an answer as soon as possible. Thank you, |
As I said in the response to #109 the script as written works as expected on Win 10 running from the Python 3.7 IDLE. So this might be (probably is?) related to the Conda package. Doug |
Hi @cristi-iacob, thanks for looking into it! Yes, I see the same thing. With session.end() I can't stop it with CTRL+C, without session.end() I can. |
Is there any update on this issue? I had it working for a while, but encountered the problem when setting up new computers with exactly same settings (libsmu1.0.3+python3.7 IDLE). The working computer has Win11 on it now, was Win10 during the first installation. |
Hi, We managed to track down this issue. This one does not include the Python bindings in the official release, so you just download the libsmu setup file and install the base library + the smu command line utility. The hang at Thank you! |
I'm finding that calling session.end() after doing a write-read cycle in continuous mode always hangs indefinitely. This is a minimal example that shows the problem:
The program hangs after
print("Ending continuous mode...")
. Is this a bug or am I doing something wrong?This may be related to #109. I asked the same question in that thread and the above script worked as expected for @damercer. I'm running python v3.7.10 and libsmu v1.0.3 (installed from conda-forge) on Windows 10. Could there be a problem with this configuration?
The text was updated successfully, but these errors were encountered: