-
Notifications
You must be signed in to change notification settings - Fork 151
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
SharedInterpreter hangs at instantiation #352
Comments
No, you're not missing anything obvious. The print in Python might be buffered but I would still expect it to return and your later log infos to happen. Have you tried working with the jep script (jep.bat on Windows)? I'm just curious if that works or not on your machine. Also since it hangs when you instantiate the SharedInterpreter, is it possible for you to attach a debugger and step into that and find the exact line within the Jep source that is hanging? |
Hi!
When entering in this and goes to
method of MainInterpreter it launches the
And then... the void, at least for Intellij IDEA Ultimate debugger. |
Ok, I've never installed through pip on Windows, but on Linux and macOS the jep script ends up in the python/bin directory. So jep.bat might be in the equivalent directory on Windows, wherever the Python executable is located. So I'm not sure why it appears to hang on the If you have time, you could download the Jep source and build and install from source (which is what pip is doing anyway so it should result in the same thing). Then you could add some |
Describe the bug
Hi, I tried a simple integration with SpringBoot. The problem is that when i instatiate the SharedInterpreter it never comes back to the original thread.
To Reproduce
The output of this is only "Before" and infact my postman request does never end.
I'm on Windows 10, setted the -Djava.library.path=C:\Python39\Lib\site-packages\ and done "pip install jep".
Am I missing something obvious?
Expected behavior
Return to the main thread after the execution
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: