Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
CYLiaw
Level III

Report saving problem

Hi!

 

I tried to save the analysis output as a report. I clicked 'File'--> 'save'.  I noticed that the extension .jrp didn't automatically show next to the filename, so I manually added the extension. I then selected 'embedded'.  When I opened the saved file (I also noticed that the icon of the saved file is 'JRN' instead of jrp), there was no figure popping out, but a log window showed up.  At the bottom of the log window, it said 'The specified color is not valid.{135}'.  Can anyone help me with this issue?  Am I doing something wrong? I am using JMP 14 SW.  Thank you!

5 REPLIES 5
Highlighted
txnelson
Super User

Re: Report saving problem

A JMP Report (.jrp ) is actually nothing more than a JMP script, that since it has the .jrp file extension, it knows to run the script. Since you chose to embed the data table, what it actually does, is to create a piece of JSL that will recreate the data table, and places it in the .rpt file as the first part of the script. The unfortunate item, is that it does not save global items or memory variables that may be present when the report is saved, but when you start up a new session, those items are no longer available to the JMP session. What you need to do, to determine the problem, is to change the file's extension to .jsl, and to open the file into the script editor. Then search for the value "135". Then see if you can see what you might be able to do to remedy the situation. If you can not, you can respond back to the Community, with information that might be able to get to the bottom of the issue.
Jim
Highlighted
CYLiaw
Level III

Re: Report saving problem

Thanks for your reply.  I tried to do as you suggested.  However, I was unable to save it as .jsl.  I highlighted the figure I wanted to save and then clicked File --> save.  But when I change the extension to .jsl, I got the message saying 'You cannot save this document with extension “.jsl” at the end of the name. The required extension is “.jrp”.'

Highlighted
txnelson
Super User

Re: Report saving problem

You need to go to the file after it has been saved as a .jrp file, and then rename it.  I am sorry I was not really clear on that.

Jim
Highlighted
CYLiaw
Level III

Re: Report saving problem

I followed what you said and I was able to open the .jsl file now.  I searched for "135'' but nothing seems odd to me.  It only shows after the first line, like the following:

 

New Table( "Full Line test - CPST_test",

Add Rows( 135 ),

 

I didn't find anything related to 'color' as shown in the error message "The specified color is not valid.{135}".

 

Highlighted
txnelson
Super User

Re: Report saving problem

Can you post the script? If not, you may want to take the issue to the JMP support team, where you might feel more comfortable providing them the information
Jim
Article Labels

    There are no labels assigned to this post.