<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Running Python Code as a Supporting Task in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2511963#M1226480</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi, I’m trying to run a Python code as a supporting task. I’ve created a bat file that contains&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; off&lt;BR /&gt;"C:\Program Files (x86)\python.exe" "D:\QV\Data\python_code.py"&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I provide it as a parameter in the supporting task. However, after reloading, it returns:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:57) Information: Executing "D:\QV\Scripts\run_python.bat"&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:57) Information: Executing commandline: "D:\QV\Scripts\run_python.bat" in folder "D:\QV\Scripts".&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:58) Error: The process exited with non-zero ExitCode (1) at 27.03.2025 14:58:58&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:58) Error: The task "run_python.bat" failed. Exception: || QDSMain.Exceptions.TaskFailedException: The process exited with non-zero ExitCode (1) at 27.03.2025 14:58:58 || at QDSMain.ExternalProgramTask.Execute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Parameters&lt;/STRONG&gt;&lt;BR /&gt;Command line statement:"D:\QV\Scripts\run_python.bat"&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 07:22:28 GMT</pubDate>
    <dc:creator>matt-rx</dc:creator>
    <dc:date>2025-03-28T07:22:28Z</dc:date>
    <item>
      <title>Running Python Code as a Supporting Task</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2511963#M1226480</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi, I’m trying to run a Python code as a supporting task. I’ve created a bat file that contains&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; off&lt;BR /&gt;"C:\Program Files (x86)\python.exe" "D:\QV\Data\python_code.py"&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I provide it as a parameter in the supporting task. However, after reloading, it returns:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:57) Information: Executing "D:\QV\Scripts\run_python.bat"&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:57) Information: Executing commandline: "D:\QV\Scripts\run_python.bat" in folder "D:\QV\Scripts".&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:58) Error: The process exited with non-zero ExitCode (1) at 27.03.2025 14:58:58&lt;/P&gt;
&lt;P&gt;(27.03.2025 14:58:58) Error: The task "run_python.bat" failed. Exception: || QDSMain.Exceptions.TaskFailedException: The process exited with non-zero ExitCode (1) at 27.03.2025 14:58:58 || at QDSMain.ExternalProgramTask.Execute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Parameters&lt;/STRONG&gt;&lt;BR /&gt;Command line statement:"D:\QV\Scripts\run_python.bat"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 07:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2511963#M1226480</guid>
      <dc:creator>matt-rx</dc:creator>
      <dc:date>2025-03-28T07:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Running Python Code as a Supporting Task</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2512294#M1226491</link>
      <description>&lt;P&gt;It seems like the python script was called, but that the python script ended with an error. I'd start investigating the python script rather than the execution trigger in qlik.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2512294#M1226491</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2025-03-31T08:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Running Python Code as a Supporting Task</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2512297#M1226492</link>
      <description>&lt;P&gt;The script run by the bat file is being processed; at the beginning, it only shows a message about running the 32-bit Python on a 64-bit server.&amp;nbsp;I'll check the version change when I have some free time.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2512297#M1226492</guid>
      <dc:creator>matt-rx</dc:creator>
      <dc:date>2025-03-31T08:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Running Python Code as a Supporting Task</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2514358#M1226500</link>
      <description>&lt;P&gt;The problem is solved. The Qlik user on the server couldn't see the Python package 'paramiko'. When I added traceback exception logging, I was able to identify the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 05:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Python-Code-as-a-Supporting-Task/m-p/2514358#M1226500</guid>
      <dc:creator>matt-rx</dc:creator>
      <dc:date>2025-04-15T05:10:37Z</dc:date>
    </item>
  </channel>
</rss>

