<?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 Re: JMP19.1.2 has an issue with running python script directly from addin. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/958523#M110154</link>
    <description>&lt;P&gt;Some clarification please. &amp;nbsp;Please correct me if I'm wrong, the way I read this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A JSL script calling a Python file such as Python Submit FIle("my_py.py"); &amp;nbsp;works fine when run from a script window.&lt;/LI&gt;
&lt;LI&gt;This same script runs from an add-in just fine in 19.0.1 and JMP 18 without issue.&lt;/LI&gt;
&lt;LI&gt;When you indicate: &amp;nbsp;&lt;EM&gt;If a script window already ran, and then only you run the script from addin, no issue.&amp;nbsp;&lt;/EM&gt;Do you mean
&lt;UL&gt;
&lt;LI&gt;The script has run in a script window prior to running the add-in. ( as Craige indicated, this would populate the normal scripting namespaces, and Python global environment variables.)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which host? Windows 11? &amp;nbsp;macOS Tahoe, Sequoia, Golden Gate, ... ? &amp;nbsp;Intel x86_64? ARM64? Apple Silicon?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can share a stripped down representative script that exhibits the crash, please post here or send to JMP Technical Support, or myself directly. &amp;nbsp; Do not include any proprietary information in the scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did JMP on it's next start-up prompt you to send crash logs? &amp;nbsp;Or did JMP just exit 'cleanly' and start-up cleanly without JMP recognizing a crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What Python packages are in use by your Python code? &amp;nbsp;package and version. &amp;nbsp;If it's a crash from within Python it could be due to package / version conflicts. &amp;nbsp;If you are using pandas make sure it is not the latest 24.0.x there are issues, with their dataframe handling. &amp;nbsp;Pin your pandas to the be &amp;lt; 24.0&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2026 13:24:35 GMT</pubDate>
    <dc:creator>Paul_Nelson</dc:creator>
    <dc:date>2026-07-14T13:24:35Z</dc:date>
    <item>
      <title>JMP19.1.2 has an issue with running python script directly from addin.</title>
      <link>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/954979#M110055</link>
      <description>&lt;P&gt;JMP19.1.2 has an issue with running python script directly from addin, upon running it will crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- If it runs directly the same script using script window, no issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- If a script window already ran, and then only you run the script from addin, no issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Same script run from addin directly using 19.0.1 and jmp18, no issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a bug in the JMP 19.1.2 version for running python from addin directly without script window.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 06:14:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/954979#M110055</guid>
      <dc:creator>AprioriBudgie38</dc:creator>
      <dc:date>2026-06-23T06:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: JMP19.1.2 has an issue with running python script directly from addin.</title>
      <link>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/955149#M110058</link>
      <description>&lt;P&gt;The support tab at the top will get you to the tech support staff and help get a bug report filed or create a track to help resolve this in the future. (Possibly the track already exists with a solution.)&lt;/P&gt;
&lt;P&gt;Or some people here might try to help if you can provide a small example that demonstrates the problem.&lt;/P&gt;
&lt;P&gt;The problem is most likely related to the namespace that holds global variables. When you run a script&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;from a script window, the script window holds the namespace&lt;/LI&gt;
&lt;LI&gt;from a button in a window, the window holds the namespace&lt;/LI&gt;
&lt;LI&gt;from a table script, the data table holds the namespace&lt;/LI&gt;
&lt;LI&gt;from an addin, a namespace is created and kept...somewhere&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Chances are the addin needs a small change to the way it is using namespaces and global data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 17:10:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/955149#M110058</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2026-06-23T17:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: JMP19.1.2 has an issue with running python script directly from addin.</title>
      <link>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/958523#M110154</link>
      <description>&lt;P&gt;Some clarification please. &amp;nbsp;Please correct me if I'm wrong, the way I read this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A JSL script calling a Python file such as Python Submit FIle("my_py.py"); &amp;nbsp;works fine when run from a script window.&lt;/LI&gt;
&lt;LI&gt;This same script runs from an add-in just fine in 19.0.1 and JMP 18 without issue.&lt;/LI&gt;
&lt;LI&gt;When you indicate: &amp;nbsp;&lt;EM&gt;If a script window already ran, and then only you run the script from addin, no issue.&amp;nbsp;&lt;/EM&gt;Do you mean
&lt;UL&gt;
&lt;LI&gt;The script has run in a script window prior to running the add-in. ( as Craige indicated, this would populate the normal scripting namespaces, and Python global environment variables.)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which host? Windows 11? &amp;nbsp;macOS Tahoe, Sequoia, Golden Gate, ... ? &amp;nbsp;Intel x86_64? ARM64? Apple Silicon?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can share a stripped down representative script that exhibits the crash, please post here or send to JMP Technical Support, or myself directly. &amp;nbsp; Do not include any proprietary information in the scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did JMP on it's next start-up prompt you to send crash logs? &amp;nbsp;Or did JMP just exit 'cleanly' and start-up cleanly without JMP recognizing a crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What Python packages are in use by your Python code? &amp;nbsp;package and version. &amp;nbsp;If it's a crash from within Python it could be due to package / version conflicts. &amp;nbsp;If you are using pandas make sure it is not the latest 24.0.x there are issues, with their dataframe handling. &amp;nbsp;Pin your pandas to the be &amp;lt; 24.0&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2026 13:24:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP19-1-2-has-an-issue-with-running-python-script-directly-from/m-p/958523#M110154</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2026-07-14T13:24:35Z</dc:date>
    </item>
  </channel>
</rss>

