Message6994

Author amak
Recipients amak, thirumalmarugan
Date 2012-03-31.16:15:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333210550.7.0.830350097197.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
Pasting the contents of the attached .docx file

===============================================
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(<some command>);

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.
 
 
History
Date User Action Args
2012-03-31 16:15:50amaksetmessageid: <1333210550.7.0.830350097197.issue1868@psf.upfronthosting.co.za>
2012-03-31 16:15:50amaksetrecipients: + amak, thirumalmarugan
2012-03-31 16:15:50amaklinkissue1868 messages
2012-03-31 16:15:50amakcreate