Upgrade Ignition to Use Jython 2.7
complete
m
mudgen@gmail.com
The final version of Jython 2.7 has been released. It would be great to upgrade Ignition to use it. Jython 2.7 requires Java 7 or higher so that would mean dropping support for Java 6 in Ignition.
Log In
awalker
complete
J
Jon Livingston
Be cautious about what you ask for. The folks who ride over JAVA used to give away certain versions free of charge, which is a plus for those of us just getting started ( especially with our home machines, maybe older versions of Windows and just enough room for one database ). Moving forward later may involve asking your IT department or supervisor or president for a newer version of Java ( at a price for commercial use ) compared to the ( for home use ) abbreviated versions. There is also a fix regarding a 'virtual exception' error upon upgrade which involves a slight change to the 'wrapper' in the .conf file. It solves the issue, and can be done with a Notepad editor- yet requires renaming the file to other than the default .txt extension when complete. Change, in general, can be good- yet the costs can outweigh the gains for some of us.
Carl Gould
in progress
c
carlosdhl92@gmail.com
Hi,
Any news regarding python 2.7 or superior in ignition??
Carl Gould
carlosdhl92@gmail.com: Ignition 8 does indeed use Python 2.7. Release is planned for February.
P
Pablo Di Benedetto
What about Jep (https://github.com/mrj0/jep)?
I'm not an expert, but seems that, in addition to letting use java classes, you could use libraries with dependencies in CPython.
There are a lot of deeplearning and machinelearning implementations that depends on Cpython.
Also, supports more python versions than jython (Python 2.6, 2.7, 3.2, 3.3, 3.4, or 3.5).
f
fledder@hotmail.com
json serialization is available as of 2.6, this would be helpful as well.
j
john.sullivan@mercurypaper.com
So if I want to learn some Python to use in Ignition, should I start with Python 2.7, 3.x, or Jython (sounds like version 2.5?)
Are there any ways to make calls out of Ignition via Jython to newer modules (like in 3.x or Jython 2.7, then jumping back into Ignition with the results (treating the jump like a function call or stored procedure essentially)?
Carl Gould
We will definitely drop Java 6 support for Ignition 8.0, which is about 2 years away.
We are also considering dropping it as soon as 7.9, less than a year away.
n
nick@perfectabstractions.com
Do you have any idea when you will be ready to drop Java 6 compatibility? 6 months? 1 year? 5 years?
n
nick@perfectabstractions.com
Yes, probably the biggest reason to upgrade to Jython 2.7 is because many Python libraries can only be used with Jython 2.6 and above. Ignition is currently using Jython 2.5.
But it really isn't IA's fault that Ignition is using a version of Python that is old because Jython 2.7 was just recently released -- it is brand new. So there was no choice but to use Python 2.5 until very recently.
Load More
→