Description: We have Jython scripts in our product and we will run this script through python interrupter via Jython jar



Yüklə 12,92 Kb.
tarix07.11.2018
ölçüsü12,92 Kb.
#78874

Problem:

After we move from Jython 2.2.1 to 2.5.2 we are facing the issue were our scripts are not fully running.


Description:

We have Jython scripts in our product and we will run this script through python interrupter via Jython.jar

Previously everything was fine.

But after we install the latest 2.5.2 jython version we are facing this issue.


Jython Code snippet:
Import statements
Declaration
os.system();
Followed by our code

till the os.system command everything works fine.After that if we give any print statement its working.But our main code is not working.


If we remove os.system then everything is working fine.

Not sure how os.sytem is impacting our code.


If we execute our code with os.system jythonIntrepter thread ends soon without executing the full code.

No exception has been thrown from Jython.ie) python Intrupter in Jython.jar


Java Code snippet:

   org.python.util.PythonInterpreter.exec(taskScript);     This PythonInterpreter class belongs to jython.jar  

This is not throwing any exception but our scripts are failing in the middle.


  1. old Jython2.2.1  --->  No Issue

  2. New Jython2.5.2 --> Issue 

 

 

Could you please help me out in finding the issue ? 



 

If you need any further information, please do let me know.



 

 

Yüklə 12,92 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə