Python Integration Unlimited

Discussions about integrations with other 3th party tools

Moderator: Moderators

Python Integration Unlimited

Postby ipioneersky@gmail.com » Mon Dec 23, 2019 10:14 am

Hi everyone,

I am working on integration of Python into Cameo 19.0. I found that Opaque action from Activity diagram can read and run Python scripts.
However, there is a problem to import 3rd-party modules (like numpy or xlrd etc.).

That is why i try to run the scripts externally using such code:
Code: Select all
6 import os
7 os.system('python C:\Temp\readxl.py')

It results with error:
Code: Select all
00:00:00,336 ERROR: Cannot evaluate Opaque Action: java.lang.IncompatibleClassChangeError: java.lang.IncompatibleClassChangeError: Found class com.kenai.jffi.InvocationBuffer, but interface was expected in <script> at line number 7 expression body: print (0)

Does anyone know - what does this error mean and how can Cameo run Python scripts with cmd.exe or internally with any modules?

Thank you!
ipioneersky@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:4
Joined: Wed Oct 23, 2019 9:28 am

Re: Python Integration Unlimited

Postby priyasudha041298@gmail.com » Thu Mar 12, 2020 4:44 am

That is why we have introduced the Integration Libraries - a group of functions and declarations to help you implement our API to your system.

https://www.besanttechnologies.com/training-courses/python-training-institute-in-chennai
priyasudha041298@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Thu Mar 12, 2020 4:42 am

Re: Python Integration Unlimited

Postby keerthanakeerthu4110@gmail.com » Fri May 15, 2020 2:16 am

The code snippet you have mentioned - looks like you are executing command cmd with python as input. That doesn't sound perfect. cmd shouldn't be taking any input arguments...For more Visit Here
https://www.acte.in/python-training-in-chennai
https://www.acte.in/python-training-in-annanagar
https://www.acte.in/python-training-in-omr
https://www.acte.in/python-training-in-porur
https://www.acte.in/python-training-in-tambaram
https://www.acte.in/python-training-in-velachery
keerthanakeerthu4110@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Fri May 15, 2020 2:13 am


Return to Integrations

Who is online

Users browsing this forum: No registered users and 4 guests

cron