<?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 Python Plugin Development Issue: &amp;quot;SDK internal error: SDK Tool failed to start&amp;quot; in Dev Space</title>
    <link>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/799885#M1567</link>
    <description>&lt;P&gt;&lt;U&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I created a basic plugin following the "&lt;A title="Platform SDK Quickstart Guide" href="https://help.alteryx.com/developer-help/platform-sdk-quickstart-guide" target="_blank" rel="noopener"&gt;Platform SDK Quickstart Guide&lt;/A&gt;" and the "&lt;A title="ayx_python_sdk documentation" href="https://alteryx.github.io/ayx-python-sdk/index.html" target="_blank" rel="noopener"&gt;ayx_python_sdk documentation&lt;/A&gt;".&amp;nbsp; After performing a ayx_plugin_cli designer-installand creating/executing a simple workflow the new plugin is throwing an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SDK internal error: SDK Tool failed to start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything in terms of logs that indicate what happened.&amp;nbsp; I was able to locate the designer log files and temp directory, but the log only contained the above listed error.&amp;nbsp; I also checked "Event Viewer", since the plugins run in their own process I thought there might be something there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly certain it's a simple missed step or some other issue, but I am having issues debugging.&amp;nbsp; I originally had built the plugin in the WSL (Ubuntu 20.04) and saw another post about &lt;A href="https://community.alteryx.com/t5/Dev-Space/Debugging-failed-SDK-start-Platform-SDK-2021-2/td-p/769008" target="_blank" rel="noopener"&gt;the shiv crossing platforms&lt;/A&gt;, so I moved it back to Windows 10 and rebuilt the environment, but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Steps to Recreate&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Installed miniconda&lt;/LI&gt;&lt;LI&gt;Created an environment: &lt;FONT face="courier new,courier"&gt;conda create -n alteryx python=3.8.5&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Upgrade pip: &lt;FONT face="courier new,courier"&gt;python -m pip install --upgrade pip&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Initialize the workspace: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli sdk-workspace-init&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Create the plugin: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli create-ayx-plugin&lt;/FONT&gt; (chose: single-input-single-output)&lt;/LI&gt;&lt;LI&gt;Tested the UI&lt;OL&gt;&lt;LI&gt;Installed requirements: &lt;FONT face="courier new,courier"&gt;npm install&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Ran the test harness: &lt;FONT face="courier new,courier"&gt;npm run start&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Tested in the harness&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Created the Python Environment&lt;OL&gt;&lt;LI&gt;Created the virtual environment: &lt;FONT face="courier new,courier"&gt;python -m venv venv --prompt "alteryx plugins"&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Upgraded pip for the venv: &lt;FONT face="courier new,courier"&gt;python -m pip install --upgrade pip&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Installed the "third party" requirements: &lt;FONT face="courier new,courier"&gt;pip install -r requirements-thirdparty.txt&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Verified packages were found through the ide (VSCode)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Installed the plugin: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli designer-install --install-type user&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Ran Alteryx Designer&lt;/LI&gt;&lt;LI&gt;Created a new workflow&lt;/LI&gt;&lt;LI&gt;Configured the workflow to use AMP in the "Runtime" tab&lt;/LI&gt;&lt;LI&gt;Added an input (simple "csv")&lt;/LI&gt;&lt;LI&gt;Added the plug-in&lt;/LI&gt;&lt;LI&gt;Added an output (simple "csv" out)&lt;/LI&gt;&lt;LI&gt;Ran the workflow&lt;/LI&gt;&lt;LI&gt;Error occurred: &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SDK internal error: SDK Tool failed to start&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;(note: I tried running designer in both standard and "elevated" mode in Windows)&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Detailed Information&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;OS&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;Windows 10 Pro (20H2)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Miniconda&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;4.10.3&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;3.8.5 (Conda Managed)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Node&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;14.17.4&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Alteryx CLI&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1.0.0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Powershell&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;7.1.3 (core)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Alteryx Designer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;2021.2.1.35394&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Python Packages&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;python_pip_freeze.txt (attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Node Packages&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;npm-packages.txt (attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Logs&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;(attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 12:29:43 GMT</pubDate>
    <dc:creator>wbellman</dc:creator>
    <dc:date>2021-08-12T12:29:43Z</dc:date>
    <item>
      <title>Python Plugin Development Issue: "SDK internal error: SDK Tool failed to start"</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/799885#M1567</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I created a basic plugin following the "&lt;A title="Platform SDK Quickstart Guide" href="https://help.alteryx.com/developer-help/platform-sdk-quickstart-guide" target="_blank" rel="noopener"&gt;Platform SDK Quickstart Guide&lt;/A&gt;" and the "&lt;A title="ayx_python_sdk documentation" href="https://alteryx.github.io/ayx-python-sdk/index.html" target="_blank" rel="noopener"&gt;ayx_python_sdk documentation&lt;/A&gt;".&amp;nbsp; After performing a ayx_plugin_cli designer-installand creating/executing a simple workflow the new plugin is throwing an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SDK internal error: SDK Tool failed to start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything in terms of logs that indicate what happened.&amp;nbsp; I was able to locate the designer log files and temp directory, but the log only contained the above listed error.&amp;nbsp; I also checked "Event Viewer", since the plugins run in their own process I thought there might be something there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly certain it's a simple missed step or some other issue, but I am having issues debugging.&amp;nbsp; I originally had built the plugin in the WSL (Ubuntu 20.04) and saw another post about &lt;A href="https://community.alteryx.com/t5/Dev-Space/Debugging-failed-SDK-start-Platform-SDK-2021-2/td-p/769008" target="_blank" rel="noopener"&gt;the shiv crossing platforms&lt;/A&gt;, so I moved it back to Windows 10 and rebuilt the environment, but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Steps to Recreate&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Installed miniconda&lt;/LI&gt;&lt;LI&gt;Created an environment: &lt;FONT face="courier new,courier"&gt;conda create -n alteryx python=3.8.5&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Upgrade pip: &lt;FONT face="courier new,courier"&gt;python -m pip install --upgrade pip&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Initialize the workspace: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli sdk-workspace-init&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Create the plugin: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli create-ayx-plugin&lt;/FONT&gt; (chose: single-input-single-output)&lt;/LI&gt;&lt;LI&gt;Tested the UI&lt;OL&gt;&lt;LI&gt;Installed requirements: &lt;FONT face="courier new,courier"&gt;npm install&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Ran the test harness: &lt;FONT face="courier new,courier"&gt;npm run start&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Tested in the harness&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Created the Python Environment&lt;OL&gt;&lt;LI&gt;Created the virtual environment: &lt;FONT face="courier new,courier"&gt;python -m venv venv --prompt "alteryx plugins"&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Upgraded pip for the venv: &lt;FONT face="courier new,courier"&gt;python -m pip install --upgrade pip&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Installed the "third party" requirements: &lt;FONT face="courier new,courier"&gt;pip install -r requirements-thirdparty.txt&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Verified packages were found through the ide (VSCode)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Installed the plugin: &lt;FONT face="courier new,courier"&gt;ayx_plugin_cli designer-install --install-type user&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Ran Alteryx Designer&lt;/LI&gt;&lt;LI&gt;Created a new workflow&lt;/LI&gt;&lt;LI&gt;Configured the workflow to use AMP in the "Runtime" tab&lt;/LI&gt;&lt;LI&gt;Added an input (simple "csv")&lt;/LI&gt;&lt;LI&gt;Added the plug-in&lt;/LI&gt;&lt;LI&gt;Added an output (simple "csv" out)&lt;/LI&gt;&lt;LI&gt;Ran the workflow&lt;/LI&gt;&lt;LI&gt;Error occurred: &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SDK internal error: SDK Tool failed to start&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;(note: I tried running designer in both standard and "elevated" mode in Windows)&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Detailed Information&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;OS&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;Windows 10 Pro (20H2)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Miniconda&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;4.10.3&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;3.8.5 (Conda Managed)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Node&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="courier new,courier" size="3"&gt;14.17.4&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Alteryx CLI&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1.0.0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Powershell&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;7.1.3 (core)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Alteryx Designer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;2021.2.1.35394&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Python Packages&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;python_pip_freeze.txt (attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Node Packages&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;npm-packages.txt (attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Logs&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;(attached)&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 12:29:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/799885#M1567</guid>
      <dc:creator>wbellman</dc:creator>
      <dc:date>2021-08-12T12:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python Plugin Development Issue: "SDK internal error: SDK Tool failed to start&amp;qu</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/809078#M1580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/265772"&gt;@wbellman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;as you didn't provide any part of your source code, it is hard to say what exactly could be the reason. As the error message you mentioned comes from very beginning of the tool lifecycle, I would suggest to check basic things. Eg. whether your&amp;nbsp;&lt;/P&gt;&lt;P&gt;"tool_class_name" in ayx_workspace.json corresponds to your plugin backend class name.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 11:52:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/809078#M1580</guid>
      <dc:creator>PetrT</dc:creator>
      <dc:date>2021-08-31T11:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python Plugin Development Issue: "SDK internal error: SDK Tool failed to start&amp;qu</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/820616#M1593</link>
      <description>&lt;P&gt;Hello PetrT!&lt;BR /&gt;&lt;BR /&gt;I am providing source, however the steps to duplicate listed above, reproduce the error "out of the box" and requires no custom code at all, at least on my system.&lt;BR /&gt;&lt;BR /&gt;I've attached the generated file structure from the steps listed above (see: test-plugin.zip).&amp;nbsp; I have not made any changes except for the custom inputs listed above and using the name "SimplePlugin".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My suspicion is that it is environmental not code, but that's just a guess... and also the reason I included the setup for the environment and the OS details.&lt;BR /&gt;&lt;BR /&gt;Please let me know if you need further information.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 16:26:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-Plugin-Development-Issue-quot-SDK-internal-error-SDK-Tool/m-p/820616#M1593</guid>
      <dc:creator>wbellman</dc:creator>
      <dc:date>2021-09-10T16:26:18Z</dc:date>
    </item>
  </channel>
</rss>

