<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear GSAS-II Users,
<div class=""><br class="">
</div>
<div class="">   Sorry for a long message, but this is only for Mac users. If you are using GSAS-II on Windows or Linux, you do not need to read farther. </div>
<div class=""><br class="">
</div>
<div class="">   I have seen some problems where subversion (svn) has problems updating GSAS-II. As far as I can tell, this only happens on OS X (Macs) with gsas2full installations and probably only with 10.15.x (Catalina). The problem is noted when an error
 like this displayed in the terminal window during updates:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">============================================================</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">****** Drat, failed again: *********</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">============================================================</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">svn: E155017: Checksum mismatch while updating ‘....cpython-37m-darwin.so':</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">   expected:  0347311810c0a981b9167f710b70509b</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">     actual:  c8fe8f890e1f8e9f83b546045984d8ef</span></div>
</div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/Users/toby/gsas2full/GSASII/GSASIIpath.py", line 1153, in <module></span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    fp.write('\n')</span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/Users/toby/gsas2full/GSASII/GSASIIpath.py", line 476, in svnUpdateDir</span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    out,err = MakeByte2str(s.communicate())</span></div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Exception: svn update failed</span></div>
</span></div>
</blockquote>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I do not know why this happens, as it seems to be a failure of the installation process rather than something inside GSAS-II, since checksum errors are a sign that files are being
 altered. When this happens, the </span>update fails after downloading only some of the files for the new version. This can leave GSAS-II in a state where the program will not start or will produce serious errors. What makes this even worse is that unless you
 look carefully at the update output in the console window you may not know that the update did not complete. I have now fixed the update process so that this problem is addressed, but if the update will not complete, you may not get the latest versions of
 the files that fix this. </div>
<div class=""><br class="">
</div>
<div class="">One annoying, but fairly simple fix for this would be to reinstall GSAS-II from the latest gsas2full distribution (created last night). <span style="font-variant-ligatures: no-common-ligatures;" class="">Instructions here: </span><a href="https://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/MacSingleStepInstallerFigs" class="">https://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/MacSingleStepInstallerFigs</a>. </div>
<div class=""><br class="">
</div>
<div class="">Alternately, for those of you more comfortable with downloading individual files and running commands, use this link  <a href="https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/head/install/bootstrap.py" class="">https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/head/install/bootstrap.py</a>
 move that file into …/GSASII and then use these commands in a terminal window to run an update with this file:</div>
<div class="">
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>source …/bin/activate</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>python …/GSASII/bootstrap.py</div>
<div class=""><br class="">
</div>
</div>
<div class="">(replace … with the location where you installed GSAS-II, which by default is ~/gsas2full). It is also possible to download the latest GSASIIpath.py with URL
<a href="https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/head/trunk/GSASIIpath.py" class="">
https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/head/trunk/GSASIIpath.py</a> and move that file into …/GSASII and then try the update from inside GSAS-II. </div>
<div class=""><br class="">
</div>
<div class="">How can you tell if this problem exists? You can run this command in a terminal window:</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>…/bin/svn …/GSASII</div>
<div class=""><br class="">
</div>
<div class="">If there are any files marked with a *, those files still need to be updated, as below:</div>
<div class=""><br class="">
</div>
</span></div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">toby@BHT20 ~ % ~/gsas2full/bin/svn st -u ~/gsas2full/GSASII </span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/histosigma2d.cpython-37m-darwin.so</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/polymask.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/spotmask.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/pyspg.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/fellipse.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/histogram2d.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/pack_f.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/pypowder.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/pytexture.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/pydiffax.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S   *     4408   /Users/toby/gsas2full/GSASII/bindist/unpack_cbf.cpython-37m-darwin.so</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">! L S         4645   /Users/toby/gsas2full/GSASII/bindist</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">        *     4408   /Users/toby/gsas2full/GSASII/NIST_profile/atan_windowed_FP_profile.py</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
        *     4408   /Users/toby/gsas2full/GSASII/ElementTable.py</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
...</div>
</span></div>
</blockquote>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
<div class="">This on the other hand is normal:</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
</div>
</span></div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">toby@BHT20 ~ % ~/gsas2full/bin/svn st -u /Users/toby/gsas2full/GSASII       </span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    S         4645   /Users/toby/gsas2full/GSASII/bindist</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/GSAS-II.py</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">!             4645   /Users/toby/gsas2full/GSASII/AllBinaries</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/GSAS-II g2full.app</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/bootstrap.log</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/bootstrap.py</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/GSAS-II.app</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">?                    /Users/toby/gsas2full/GSASII/config.py</span></div>
</div>
</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Status against revision:   4645</span></div>
</div>
</span></div>
</blockquote>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
<div class="">If there are files to update and but the update menu command in GSAS-II says you are already updated to the latest version, you may be able to fix this by downgrading by a version and then upgrading. </div>
<div class=""><br class="">
</div>
<div class="">There is a lot here. If this is not clear or you are stuck with problems, please contact me (<a href="mailto:toby@anl.gov" class="">toby@anl.gov</a>) and I will help you. My preference would be to do this over a Zoom session. </div>
<div class=""><br class="">
</div>
<div class="">Brian</div>
</span></div>
</body>
</html>