Karl Nelson
Karl Nelson
Kwargs is a dict. Args is a tuple. I usually use something like ``` jpype.startJVM(classpath="pathtojars", interrupt=False) ``` If you need to store it prior to calling then make a dict...
Sounds like you have a thread which is attached as something other than daemon. Daemon thread don't block shutdown but normal ones do (JVM rules). I am guessing that something...
The problem is line 201 in JayDeBeAPI. Using `attachThreadToJVM()` will cause the thread to hang shutdown. I am not sure why this line would be necessary though there must have...
The backtrace shows a referencing issue on the Python side. Not sure which objects trigger it. Clearly multithreaded, so perhaps reference handling issue in which a temporary ref counts dropped...
I am not aware of any good solution here. The best would simply if Comsol client had a shutdown routine that the user can call the would politely terminate any...
I am still not clear on the issue. What specific options leads to a SEGFAULT and what leads to the exception? The current path for shutdown. * Java starts the...
Example. This program adds a hook that adds one second to the shutdown sequence to avoid a race condition. ``` import jpype import jpype.imports jpype.startJVM() ctxt = jpype.JClass('org.jpype.JPypeContext').getInstance() @jpype.JImplements("java.lang.Runnable") class...
Okay good to hear that the options that I provided are helping. It is likely that offending code is simply a loop which catches all exception and then attempts to...
@ivany4 Perhaps you can make up for the difference by removing the logic ``` try: if self.channeltype == unicode: # For Python 2.7, set the the channel type to str...
Monkey patching the equals for a type will undoubtedly create unexpected side effects in users code. I can't say what is would break only that I would certainly not add...