You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the office we have tried to use jnius in a multiprocess environment.
This has been very problematic on linux where the whole thing hangs almost always.
In Windows it works.
It seems that if I set python's processes to spawn rather than fork, it works.
Java version does not seem to be relevant (1.8, 1.14, 1.17 all behave the same).
Python 3.6 and 3.8 are affected.
Is this supported at all?
The text was updated successfully, but these errors were encountered:
Will try, but so far I can only share a partial call stack
jnius has already been initialised in the main process, and the hang is in a forked process, not in the first call to autoclass, but probably the very first real java code executed.
I would like to be able to use the jnius library in the renpy engine, for visual novels, and even install the files but I don't know where to put them, anywhere I try to put the non-regular renpy when importing
Hi,
In the office we have tried to use jnius in a multiprocess environment.
This has been very problematic on linux where the whole thing hangs almost always.
In Windows it works.
It seems that if I set python's processes to
spawn
rather thanfork
, it works.Java version does not seem to be relevant (1.8, 1.14, 1.17 all behave the same).
Python 3.6 and 3.8 are affected.
Is this supported at all?
The text was updated successfully, but these errors were encountered: