It looks like you can create a folder and then have script create the subdirectories in this folder and be one folder out and it works.

 

Thanks,

Ryan Harlich

 

Sent from Mail for Windows 10

 


From: Ryan Harlich
Sent: Tuesday, July 30, 2019 1:21:56 PM
To: Greg Couch <gregc@cgl.ucsf.edu>; chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu>; Eric Pettersen <pett@cgl.ucsf.edu>
Subject: RE: [Chimera-users] --nogui gets permission denied when fetching pdb id
 

It looks like it works before I use os.system(‘mkdir … or os.makedirs or os.mkdir. I am not even in that folder as it is a subfolder I am making. Not sure why it is giving me Errno 13. When I delete the folder it works. But I need to create the folder to save each protein in their folder.

 

Sent from Mail for Windows 10

 


From: Ryan Harlich
Sent: Tuesday, July 30, 2019 12:46:44 PM
To: Greg Couch <gregc@cgl.ucsf.edu>; chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu>; Eric Pettersen <pett@cgl.ucsf.edu>
Subject: RE: [Chimera-users] --nogui gets permission denied when fetching pdb id
 

I get this.

 

Opening 1a1x...

[Errno 13] Permission denied: '1a1x'

 

It actually worked in a new folder. But then when I ran my python script it did not work. Then I tried doing it via command line instead of python script and I got the permission denied again.

 

Best,

Ryan Harlich

 

Sent from Mail for Windows 10

 


From: Greg Couch <gregc@cgl.ucsf.edu>
Sent: Tuesday, July 30, 2019 12:42:09 PM
To: chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu>; Eric Pettersen <pett@cgl.ucsf.edu>; Ryan Harlich <ryanharlich@hotmail.com>
Subject: Re: [Chimera-users] --nogui gets permission denied when fetching pdb id
 

"permission denied" is usually because you don't have write permission for some directory.  Run the "system pwd"  command to see which directory chimera is running in.  You also need permission for a temporary directory and the download directory.  As Eric alluded, the directory that is causing the problem should be obvious from the full error message.

    HTH,

    Greg

On 7/30/2019 12:31 PM, Eric Pettersen wrote:
I wouldn’t be able to say without the actual full error output.

—Eric
Eric Pettersen
UCSF Computer Graphics Lab



On Jul 30, 2019, at 12:01 PM, Ryan Harlich <ryanharlich@hotmail.com> wrote:

Hi Chimera,
 
I am trying to run a script with the –nogui option and run command “open 1a1x” and I get permission denied. It works with the GUI so I am not sure why it is not working with –nogui.
 
Best,
Ryan Harlich
 
Sent from Mail for Windows 10
 
_______________________________________________
Chimera-users mailing list: Chimera-users@cgl.ucsf.edu
Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users


_______________________________________________
Chimera-users mailing list: Chimera-users@cgl.ucsf.edu
Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users