[GSAS-II] Possible update problems with GSAS-II
Toby, Brian H.
toby at anl.gov
Sun Jun 18 13:56:11 CDT 2017
When we originally created GSAS-II, it was downloaded from a web server in the APS “XOR” web domain (subversion.xor.aps.gov<http://subversion.xor.aps.gov>). Several years back that domain was renamed to subversion.xray.aps.gov<http://subversion.xray.aps.gov> (xor—>xray), but the old name was kept alive via redirection. In the past week or so, the access via the XOR name was turned off.
Please be sure to use the correct address for the GSAS-II web page: https://subversion.xray.aps.anl.gov/trac/pyGSAS
More significantly, if you installed GSAS-II was from the old address, it will no longer be possible to get updates, unless the install address is updated (or GSAS-II is reinstalled.) Doing this is a bit tricky and requires a command to be executed in the GSAS-II directory (where the first command will vary with where you have GSAS-II installed; note to use a backslash (\) on Windows.
cd g2conda/GSASII
svn switch --relocate https://subversion.xor.aps.anl.gov/pyGSAS https://subversion.xray.aps.anl.gov/pyGSAS
if you do not have svn in your path, the command will need to specify that with something like this:
svn/bin/svn switch --relocate https://subversion.xor.aps.anl.gov/pyGSAS https://subversion.xray.aps.anl.gov/pyGSAS
../Scripts/svn switch --relocate https://subversion.xor.aps.anl.gov/pyGSAS https://subversion.xray.aps.anl.gov/pyGSAS
..\Scripts\svn switch --relocate https://subversion.xor.aps.anl.gov/pyGSAS https://subversion.xray.aps.anl.gov/pyGSAS
You can also download and run the latest version of the bootstrap.py file: https://subversion.xray.aps.anl.gov/trac/pyGSAS/browser/install/bootstrap.py?format=txt. This file should be placed in the GSASII directory (where GSASII.py is located; you will likely replace a bootstrap.py file already present.) To run the file, you will likely need the full path to Python (look in the RunGSASII.bat file for that). When the file is run, it will update the “bad” address and update to the latest GSAS-II version (>=2866):
<path>/python <g2-path>/bootstrap.py
You can also simply reinstall GSAS-II, see https://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki#Installationinstructions. You can delete the old installation first and reuse the old install name or install a new version in a new location and then delete the old.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/gsas-ii/attachments/20170618/a9603ca3/attachment.html>
More information about the GSAS-II
mailing list