[cctbxbb] bootstrap.py on Windows

R. D. Oeffner rdo20 at cam.ac.uk
Tue Jun 20 14:37:33 PDT 2017

Dear Horst,

There's a writeup of instructions on how to do CCTBX builds from 
bootstrap.py on Windows. No authentication is needed for building CCTBX on 
any platform. Please follow these instructions and get in touch if you have 
further problems.

CCTBX and other projects depending on CCTBX is tested through regression 
test nightly on LBL machines on all platforms supported. See 
http://cci-vm-6.lbl.gov:8010/one_line_per_build for log files of these 



Robert Oeffner, Ph.D.
Research Associate, The Read Group
Department of Haematology,
Cambridge Institute for Medical Research
University of Cambridge
Cambridge Biomedical Campus
Wellcome Trust/MRC Building
Hills Road
Cambridge CB2 0XY

tel: +44(0)1223 763234
-----Original Message----- 
From: markus.gerstel at diamond.ac.uk
Sent: Tuesday, June 20, 2017 9:25 PM
To: horst.puschmann at gmail.com ; cctbxbb at phenix-online.org
Cc: oleg at olexsys.org
Subject: Re: [cctbxbb] bootstrap.py on Windows

Hello Horst,

I think the automated tests aren't really covering the bootstrap process.
While we extensively test bootstrap at our place, we do not run any tests on 
I don't know if LBL runs Windows tests, but if they do they probably run it 
within buildbot, which means it is not run the same way you run it.

Best wishes

From: cctbxbb-bounces at phenix-online.org [cctbxbb-bounces at phenix-online.org] 
on behalf of Horst Puschmann [horst.puschmann at gmail.com]
Sent: Tuesday, April 04, 2017 09:59
To: cctbxbb at phenix-online.org
Cc: Oleg Dolomanov (oleg at olexsys.org)
Subject: [cctbxbb] bootstrap.py on Windows


I am trying to install the cctbx on a Windows 7 64 bit machine using the 
following bootstrap.py file:


The script will fail, unless I comment out lines 1101 and 1102:

    #if self.isPlatformWindows():
      #tarurl, arxname, dirpath = 

If it tries to execute the commented lines, the error will be "KeyError: 
'cciuser' in line 590"

After commenting this out, it will fail in line 271, with "AttributeError: 
'module' object has no attribute '_create_unverified_context'"

I can get round that with disabling line 247:

      if sys.platform == "win32":

(i.e. change this to       if sys.platform == "xxx":)

After that, things start downloading. All appears well until the same thing 
happens again in another bootstrap.py file in 

If I disable *that*, it goes further, but fails finally with

===== Running in build: run configure.py
Traceback (most recent call last):
  File "bootstrap.py", line 2113, in <module>
  File "bootstrap.py", line 2108, in run
  File "bootstrap.py", line 1036, in run
  File "bootstrap.py", line 189, in run
    raise RuntimeError("Could not run %s: File not found" % executable)
RuntimeError: Could not run base\bin\python: File not found

I guess the automatic tests haven't picked this up, because no 
authentication is needed, maybe?


This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If 
you are not the intended addressee or an authorised recipient of the 
addressee please notify us of receipt by returning the e-mail and do not 
use, copy, retain, distribute or disclose the information in or attached to 
the e-mail.
Any opinions expressed within this e-mail are those of the individual and 
not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any 
attachments are free from viruses and we cannot accept liability for any 
damage which you may sustain as a result of software viruses which may be 
transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England 
and Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

cctbxbb mailing list
cctbxbb at phenix-online.org

This email has been checked for viruses by AVG.

More information about the cctbxbb mailing list