cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Learn some foundational elements of JMP Scripting Language (JSL) and how to extend point & click automation into repeatable, shareable routines. Register. June 26, 2 p.m. US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
AprioriBudgie38
New Member

JMP19.1.2 has an issue with running python script directly from addin.

JMP19.1.2 has an issue with running python script directly from addin, upon running it will crash.

 - If it runs directly the same script using script window, no issue.

 - If a script window already ran, and then only you run the script from addin, no issue.

 - Same script run from addin directly using 19.0.1 and jmp18, no issue.

 

There is a bug in the JMP 19.1.2 version for running python from addin directly without script window.

1 REPLY 1
Craige_Hales
Super User

Re: JMP19.1.2 has an issue with running python script directly from addin.

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.)

Or some people here might try to help if you can provide a small example that demonstrates the problem.

The problem is most likely related to the namespace that holds global variables. When you run a script

  • from a script window, the script window holds the namespace
  • from a button in a window, the window holds the namespace
  • from a table script, the data table holds the namespace
  • from an addin, a namespace is created and kept...somewhere

Chances are the addin needs a small change to the way it is using namespaces and global data.

 

Craige

Recommended Articles