<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font color="#000099">The standard user account installed str2xcr
        file permissions are something like:</font></p>
    <p>username@computername:~$ ls -l
      ~/xcrysden-1.5.60-bin-semishared/bin/str2xcr <br>
      -rw<font color="#ff0000">x</font>r-<font color="#ff0000">x</font>r-<font
        color="#ff0000">x</font> 1 username username 252996 Jun 25  2014
      /home/username/xcrysden-1.5.60-bin-semishared/bin/str2xcr<br>
    </p>
    <p><font color="#000099">One way to reproduce this error should be
        to remove the str2xcr executable permissions followed by opening
        the struct file:</font><br>
    </p>
    <p>username@computername:~$ chmod -x
      ~/xcrysden-1.5.60-bin-semishared/bin/str2xcr <br>
      username@computername:~$ ls -l
      ~/xcrysden-1.5.60-bin-semishared/bin/str2xcr <br>
      -rw<font color="#ff0000">-</font>r-<font color="#ff0000">-</font>r-<font
        color="#ff0000">-</font> 1 username username 252996 Jun 25  2014
      /home/username/xcrysden-1.5.60-bin-semishared/bin/str2xcr<br>
      username@computername:~$ xcrysden --wien_struct
      ~/xcrysden-1.5.60-bin-semishared/examples/WIEN_struct_files/gaas.struct<br>
    </p>
    <p><font color="#000099">One solution could be to restore or set the
        str2xcr file executable permissions [1] (or group file
        permissions [2]):</font><br>
    </p>
    <p>username@computername:~$ chmod 755
      ~/xcrysden-1.5.60-bin-semishared/bin/str2xcr <br>
      username@computername:~$ ls -l
      ~/xcrysden-1.5.60-bin-semishared/bin/str2xcr <br>
      -rw<font color="#ff0000">x</font>r-<font color="#ff0000">x</font>r-<font
        color="#ff0000">x</font> 1 username username 252996 Jun 25  2014
      /home/username/xcrysden-1.5.60-bin-semishared/bin/str2xcr<br>
    </p>
    <p><font color="#000099">We were able to resolve this off the
        mailing list.  My understanding is that they installed XCrySDen
        as root and were trying to use XCrySDen in a user account were
        they didn't have executable permission for str2xcr.</font></p>
    <p><font color="#000099">It took us a bit to figure this out because
        I usually install XCrySDen [3] in the user account (and not as
        root).</font><br>
    </p>
    [1] <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Chmod#Numerical_permissions">https://en.wikipedia.org/wiki/Chmod#Numerical_permissions</a><br>
    [2] <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Chgrp">https://en.wikipedia.org/wiki/Chgrp</a><br>
    [3]
    <a class="moz-txt-link-freetext" href="http://www.democritos.it/pipermail/xcrysden/2017-December/001902.html">http://www.democritos.it/pipermail/xcrysden/2017-December/001902.html</a>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/28/2019 11:28 AM, Matic wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:172e5f8f-bd88-aeeb-9825-8dddd9a8dc8f@gmail.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="moz-cite-prefix">Hello Wing Chi, <br>
      </div>
      <blockquote type="cite"
        cite="mid:002801d55bcb$cc653090$652f91b0$@gmail.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}</style><br>
        <style></style><span lang="EN-US"><o:p> </o:p></span><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal"><span lang="EN-US">I have some troubles
              in visualizing the WIEN2k case.struct file in Xcrysden.
              When opening a wien2k structure file in Xcrysden, I got a
              message about getting an error while executing the str2xrc
              program. I have tried version 1.5.60 and version 1.5.25
              and got the same error. <o:p></o:p></span></p>
        </div>
      </blockquote>
      <p>Could you paste the specific error message here and perhaps
        attach the structure file that causes problems for you, to see
        if the issue can be reproduced. Without knowing the specifics it
        is difficult to say what went wrong,</p>
      <p>Best Regards,, <br>
      </p>
      <p>Matic</p>
      <pre>--
</pre>
      <pre class="moz-signature" cols="72">Matic Poberznik
J. Stefan Institute, Jamova 39, Ljubljana, Slovenia</pre>
    </blockquote>
  </body>
</html>