Changeset 4261 for install/g2complete/src
- Timestamp:
- Jan 19, 2020 10:07:35 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
install/g2complete/src/bootstrap.py
r4258 r4261 68 68 dlg.Destroy() 69 69 else: 70 print(msg,file=sys.stderr) 70 print("BOOTSTRAP WARNING: ",file=sys.stderr) 71 print(msg.replace('\n',' '),file=sys.stderr) 72 print(" Recreate this using command: {} {} {}".format( 73 os.path.abspath(sys.executable), 74 os.path.abspath(os.path.expanduser(__file__)), 75 ' '.join(sys.argv[1:]), 76 ),file=sys.stderr) 71 77 sys.exit() 72 78 … … 406 412 if os.path.exists(os.path.join(path2GSAS2,"makeBat.py")): 407 413 msg += '\n\nGSAS-II failed to be updated. A likely reason is a network access' 408 msg += '\nproblem. If your web browser works, but the update did not .'409 msg += '\n The most common reason is you need to use a network proxy. Please'414 msg += '\nproblem. If your web browser works, but the update did not,' 415 msg += '\nthe most common reason is you need to use a network proxy. Please' 410 416 msg += '\ncheck with a network administrator or use http://www.whatismyproxy.com/' 411 else: 417 else: 418 # this will happen only with initial installs where all files 419 # are to be downloaded (not gsas2full or updates) 412 420 msg += '\n\n *** GSAS-II failed to be installed. A likely reason is a network access' 413 421 msg += '\n *** problem, most commonly because you need to use a network proxy. Please' … … 427 435 print('Loading all binaries with command...') 428 436 if not GSASIIpath.svnSwitchDir('AllBinaries','',g2home+ 'Binaries/',None,True): 429 msg = 'Binary load failed '437 msg = 'Binary load failed. Subversion problem? Please seek help' 430 438 BailOut(msg) 431 439 else: … … 463 471 msg += err 464 472 #print('\nAttempting to open a web page on compiling GSAS-II...') 465 msg += '\n\nPlease see web page\nhttps://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/CompileGSASII '473 msg += '\n\nPlease see web page\nhttps://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/CompileGSASII if you wish to compile for yourself (usually not needed for windows and Mac, but sometimes required for Linux.)' 466 474 BailOut(msg) 467 475 #import webbrowser
Note: See TracChangeset
for help on using the changeset viewer.