cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
RA899
Level III

Running Python script using JSL [Permission Error]

Hello, 

I'm trying to run a jsl script that does several things. One of them is to run an external python script. When I run the python script which does some modifications to an excel file, it gives me an error message indicating that permission is denied to access/write on the excel file. Please note that when I run the python script separately, it works like a charm. 

 

How can I give jmp the proper permission? thanks. The code im using is below. 

 

x = RunProgram(
	
	executable( "python" ),
	options( "C:\Users\user1\Desktop\temp.py" ),
	readfunction( "blob" )
);
1 ACCEPTED SOLUTION

Accepted Solutions
RA899
Level III

Re: Running Python script using JSL [Permission Error]

Never mind. The problem was in the code itself. I needed to provide the full path for a sub-routine. 

View solution in original post

2 REPLIES 2
RA899
Level III

Re: Running Python script using JSL [Permission Error]

Never mind. The problem was in the code itself. I needed to provide the full path for a sub-routine. 

RA899
Level III

Re: Running Python script using JSL [Permission Error]

In the python code**