legrandp/xdsme

Python script problem on Mac OSX

Opened this issue · 0 comments

What steps will reproduce the problem?
1. The program was untared in /Applications/XDS-OSX_Intel and this folder was 
then sourced in .bash_login. Xcode and X11 are fully up-to-date but when xdsme 
is executed there is a problem with python scrip subprocess.py. I have tried 
copying this python script from Phenix, but this did not work either.
2.
3.

What is the expected output? What do you see instead?
I would expect XDS to run to completion, however I get the following.

Jamies-MacBook-Pro:Compound_5_19h_10sec Jamie$ xdsme 
/Users/Jamie/Documents/Crystallography/Compound_5_19h_10sec/Compound_5_19h_10s_4
5mm_025oci_15012013_????.img
>> Interpreting header of image:  
/Users/Jamie/Documents/Crystallography/Compound_5_19h_10sec/Compound_5_19h_10s_4
5mm_025oci_15012013_0001.img
>> Image format:      mscccd

    Simplified XDS Processing

        xdsme version:        0.5.0-beta1
/bin/sh: xds_par: command not found
        xds   version:                   


    Diffraction Setup Parameters:

  Detector distance:               -45.00 mm
  X-ray wavelength:                1.5418 A
  Oscillation range:               0.2500 degree

  Beam coordinate X:                523.1 pixel
                  Y:                538.4 pixel
  Image range:                   [1, 720]

  Selected resolution range:       50.00 - 2.18 A
  Number of processors available:      8

Traceback (most recent call last):
  File "/Applications/XDS-OSX_Intel/xdsme-0.5beta1/bin/noarch/xdsme", line 1751, in <module>
    R1 = newrun.run_init()
  File "/Applications/XDS-OSX_Intel/xdsme-0.5beta1/bin/noarch/xdsme", line 872, in run_init
    self.run(rsave=True)
  File "/Applications/XDS-OSX_Intel/xdsme-0.5beta1/bin/noarch/xdsme", line 765, in run
    xdsProcess = self._creat_process(self.__execfile)
  File "/Applications/XDS-OSX_Intel/xdsme-0.5beta1/bin/noarch/xdsme", line 712, in _creat_process
    universal_newlines=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

What version of the product are you using? On what operating system?

I'm using April 2012 version with a MacBook Pro 2.3 GHz Intel Core i7, OSX 
10.8.2

Please provide any additional information below.

Thanks.

Original issue reported on code.google.com by jamiemar...@gmail.com on 16 Jan 2013 at 5:29