Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calling a remote python process from Talend

I have Python running on a different server than Talend. Can I call a Python process running on a remote machine from Talend? and How?
Thank you for your help.
Arvind.
Labels (3)
6 Replies
Anonymous
Not applicable
Author

Hi,
Have you tried remote command in component tSystem to call your remote python process?
Best regards
Sabrina
Anonymous
Not applicable
Author

Actually No. Let me try that.
Anonymous
Not applicable
Author

Hi,
Feel free to let us know if it doesn't work.
Best regards
Sabrina
Anonymous
Not applicable
Author

Actually it made sense to install Python on the same server as Talend and use it instead. The python script I run is fine when it is run standalone. However it gives an error when called from Talend. Any idea why it is failing?
Here is the error that I got:
File "/usr/sisense/test.py", line 13
    names = {i for i in db_user_list}
                                 ^
SyntaxError: invalid syntax
Here is the test script that I am using:
db_user_list=
names = {i for i in db_user_list}
print names

 
Anonymous
Not applicable
Author

anyone?
Anonymous
Not applicable
Author

Hi akandaswamy
I believe that many users have successfully called a python script with tSystem component.
Can you try to test if it is able to execute your python script from command prompt? Can you show us the command you set on tSystem component?
Regards
Shong