<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        color:black;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ryan Harlich<br>
<b>Sent:</b> Tuesday, July 30, 2019 12:46:44 PM<br>
<b>To:</b> Greg Couch <gregc@cgl.ucsf.edu>; chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu>; Eric Pettersen <pett@cgl.ucsf.edu><br>
<b>Subject:</b> RE: [Chimera-users] --nogui gets permission denied when fetching pdb id</font>
<div> </div>
</div>
<div>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">I get this.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Opening 1a1x...</p>
<p class="MsoNormal">[Errno 13] Permission denied: '1a1x'</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,</p>
<p class="MsoNormal">Ryan Harlich</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Greg Couch <gregc@cgl.ucsf.edu><br>
<b>Sent:</b> Tuesday, July 30, 2019 12:42:09 PM<br>
<b>To:</b> chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu>; Eric Pettersen <pett@cgl.ucsf.edu>; Ryan Harlich <ryanharlich@hotmail.com><br>
<b>Subject:</b> Re: [Chimera-users] --nogui gets permission denied when fetching pdb id</font>
<div> </div>
</div>
<div>
<p>"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.</p>
<p>    HTH,</p>
<p>    Greg<br>
</p>
<div class="moz-cite-prefix">On 7/30/2019 12:31 PM, Eric Pettersen wrote:<br>
</div>
<blockquote type="cite" cite="mid:B4A824D4-E1E2-49BA-849D-23E3C1B5FC0A@cgl.ucsf.edu">
I wouldn’t be able to say without the actual full error output.
<div class=""><br class="">
</div>
<div class="">—Eric<br class="">
<div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
            font-family: Helvetica; font-size: 12px; font-style: normal;
            font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-size-adjust:
            auto; -webkit-text-stroke-width: 0px; text-decoration:
            none;" class="">
<span class="Apple-tab-span" style="white-space: pre;"></span>Eric Pettersen</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
            font-family: Helvetica; font-size: 12px; font-style: normal;
            font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-size-adjust:
            auto; -webkit-text-stroke-width: 0px; text-decoration:
            none;" class="">
<span class="Apple-tab-span" style="white-space: pre;"></span>UCSF Computer Graphics Lab</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
            font-family: Helvetica; font-size: 12px; font-style: normal;
            font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-size-adjust:
            auto; -webkit-text-stroke-width: 0px; text-decoration:
            none;" class="">
<br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 30, 2019, at 12:01 PM, Ryan Harlich <<a href="mailto:ryanharlich@hotmail.com" class="" moz-do-not-send="true">ryanharlich@hotmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1;
                caret-color: rgb(0, 0, 0); font-family: Helvetica;
                font-size: 12px; font-style: normal; font-variant-caps:
                normal; font-weight: normal; letter-spacing: normal;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
Hi Chimera,</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
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.</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
Best,</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
Ryan Harlich</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
Sent from<span class="Apple-converted-space"> </span><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7C7c03b69fdc8949cec3c008d715260518%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637001125346767145&sdata=qX9OBe3QoGFYYUUMEddkaN3oY1%2FgfL4DEb0hwB4GFzg%3D&reserved=0" originalsrc="https://go.microsoft.com/fwlink/?LinkId=550986" shash="oylTQlrZ9bf3s2e2zhhH0pTebskZC0aHCuSPSURnPGP/c4Nx5ePytZA22JRYl1D8qbe8k8Lq4I9q2yEIC3esmcdeF2VH/Nxok7aOhOssYqz/0qsqbebcrftjeFo3mfZMwr75ZCwsPrJdDV68RbryahaFmk5Ve6AFbuETcJ7EcFM=" style="color: rgb(149, 79, 114); text-decoration:
                    underline;" class="" moz-do-not-send="true">Mail</a><span class="Apple-converted-space"> </span>for
 Windows 10</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family:
                Helvetica; font-size: 12px; font-style: normal;
                font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; text-align: start; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                text-decoration: none; float: none; display: inline
                !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family:
                Helvetica; font-size: 12px; font-style: normal;
                font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; text-align: start; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family:
                Helvetica; font-size: 12px; font-style: normal;
                font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; text-align: start; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                text-decoration: none; float: none; display: inline
                !important;" class="">Chimera-users
 mailing list:<span class="Apple-converted-space"> </span></span><a href="mailto:Chimera-users@cgl.ucsf.edu" style="color:
                rgb(149, 79, 114); text-decoration: underline;
                font-family: Helvetica; font-size: 12px; font-style:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: auto; text-align:
                start; text-indent: 0px; text-transform: none;
                white-space: normal; widows: auto; word-spacing: 0px;
                -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px;" class="" moz-do-not-send="true">Chimera-users@cgl.ucsf.edu</a><br style="caret-color: rgb(0, 0, 0); font-family:
                Helvetica; font-size: 12px; font-style: normal;
                font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; text-align: start; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family:
                Helvetica; font-size: 12px; font-style: normal;
                font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; text-align: start; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                text-decoration: none; float: none; display: inline
                !important;" class="">Manage
 subscription:<span class="Apple-converted-space"> </span></span><a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimera-users&data=02%7C01%7C%7C7c03b69fdc8949cec3c008d715260518%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637001125346777150&sdata=ggD%2BJXTITkRrEXVQzDGWjgCOJghYMXTmgDvi6vRxUZI%3D&reserved=0" originalsrc="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" shash="eEj5zscuVXqm5835xk5WTdOR3HalDw8hFJwp8A97Sm4t/4evr3VL/ebpeqOd9mldIc7nzbPQq9TwfHPsFYfLvGMH+MMA+XPhVCAh7ssuJub9ZsvD7XmdZVffIQA+m3dsMcM7rZ3eqdSHETYK02fu83j/oSjconEt0j46uBoqRnA=" style="color: rgb(149, 79, 114); text-decoration:
                underline; font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant-caps: normal;
                font-weight: normal; letter-spacing: normal; orphans:
                auto; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: auto;
                word-spacing: 0px; -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px;" class="" moz-do-not-send="true">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a></div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Chimera-users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a>
Manage subscription: <a class="moz-txt-link-freetext" href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimera-users&data=02%7C01%7C%7C7c03b69fdc8949cec3c008d715260518%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637001125346787161&sdata=fYxrhPbOeV41cPd%2FiKfFu9Mu5lEuIutP%2BGsdqPwLM2s%3D&reserved=0" originalsrc="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" shash="Av6D6sQy8nJWh1Is8vvkOu3YSLXFC1mebh3ANc5GhKNHaOG5IpOwUCP4K2Vy08uMvdQVCG2a/feSVhxDLA+2lQFfy1A1hnJLXqbkUz7mH5/n8EaTE2KAaUgHmP11c+uVozk7RYtkqDtExs7wW8n8KufxRJ+DpGo9nvpgvWnKrL0=">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a>
</pre>
</blockquote>
</div>
</div>
</body>
</html>