Re: [ccp4bb] Coot Bad magic number errors

2011-03-11 Thread Sampson, Jared
Hi Bill - Thanks for the fix.  I'll make the changes on the affected computers. 
 Alternatively, I may just have them download the newest package, which appears 
to work fine on my machine.

Thanks again for the help, and for providing these builds to the community!

Jared
--
Jared Sampson
Xiangpeng Kong Lab
NYU Langone Medical Center
New York, NY 10016
212-263-7898

On Mar 10, 2011, at 5:46 PM, William G. Scott wrote:

 Sorry about this.
 
 Issue the command
 
 sudo perl -pi -e 
 's|/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6\:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5\:||g'
  /Library/Coot/bin/coot
 
 and that will fix it. 
 
 I'll make a new one.
 
 Bill
 
 
 On Mar 10, 2011, at 7:55 AM, Sampson, Jared wrote:
 
 Hi all -
 
 Two of the grad students in our structural biology course are having similar 
 problems installing Coot on their Mac computers using the stand-alone 
 packageshttp://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Stand-Alone_Coot 
 from Bill Scott's Crystallography on OS X website.  I've pasted the Terminal 
 outputs below from each of their machines below.
 
 They're both getting Python magic number errors, which from what I know 
 result from one Python version trying to run a .pyc file created with 
 another Python version, but I'm not sure exactly how to work around it in 
 the context of the stand-alone package.  The students aren't planning to do 
 much in the structural realm outside the course, and I don't want to have to 
 go through installing Xcode and Fink to compile on their own, since they 
 probably won't need it much past this one assignment.
 
 Any suggestions would be greatly appreciated.  Thanks!
 
 Jared Sampson
 
 
 
 First student (3 week-old Macbook Pro, 10.6.6, stand-alone package for 
 Version 0.6.2-pre-1-3250)
 
 $ coot
 Acquiring application resources from /Library/Coot/share/coot/cootrc
 INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
 INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
 There are 118 data in 
 /Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
 [... and a bunch more monomers ...]
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
 There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
 sbase monomer dir: /share/sbase
 sbase files not found in /share/sbase
 Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
 PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
 Spacegroup: P 1
 Cell: 40.631 109.18 93.243 90 90 90
 initalize graphics molecules...done.
 (filter-fileselection-filenames-state)
 (get-active-map-drag-flag)
 ImportError: Bad magic number in 
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
 
 
 
 second student (Macbook, 10.6.5, also Version 0.6.2-pre-1-3250)
 
 $ /usr/local/bin/coot
 Acquiring application resources from /Library/Coot/share/coot/cootrc
 INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
 INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
 There are 118 data in 
 /Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif/
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CYS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLN.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLY.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLU.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/p/PHE.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HIS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/i/ILE.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LYS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LEU.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/m/MET.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/e/ETH.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CIT.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AD.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CD.cif
 There are 2 data in 

[ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Sampson, Jared
Hi all -

Two of the grad students in our structural biology course are having similar 
problems installing Coot on their Mac computers using the stand-alone 
packageshttp://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Stand-Alone_Coot 
from Bill Scott's Crystallography on OS X website.  I've pasted the Terminal 
outputs below from each of their machines below.

They're both getting Python magic number errors, which from what I know 
result from one Python version trying to run a .pyc file created with another 
Python version, but I'm not sure exactly how to work around it in the context 
of the stand-alone package.  The students aren't planning to do much in the 
structural realm outside the course, and I don't want to have to go through 
installing Xcode and Fink to compile on their own, since they probably won't 
need it much past this one assignment.

Any suggestions would be greatly appreciated.  Thanks!

Jared Sampson



First student (3 week-old Macbook Pro, 10.6.6, stand-alone package for Version 
0.6.2-pre-1-3250)

$ coot
Acquiring application resources from /Library/Coot/share/coot/cootrc
INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
There are 118 data in 
/Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
[... and a bunch more monomers ...]
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
sbase monomer dir: /share/sbase
sbase files not found in /share/sbase
Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
 PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
Spacegroup: P 1
Cell: 40.631 109.18 93.243 90 90 90
initalize graphics molecules...done.
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
ImportError: Bad magic number in 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc



second student (Macbook, 10.6.5, also Version 0.6.2-pre-1-3250)

$ /usr/local/bin/coot
Acquiring application resources from /Library/Coot/share/coot/cootrc
INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
There are 118 data in 
/Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif/
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CYS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLN.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLY.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLU.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/p/PHE.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HIS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/i/ILE.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LYS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LEU.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/m/MET.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/e/ETH.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CIT.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/t/TD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
sbase monomer dir: /share/sbase
sbase files not found in /share/sbase
Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
Spacegroup: P 1
Cell: 40.631 109.18 93.243 90 90 90
initalize graphics molecules...done.
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
ImportError: Bad magic number in 

Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Ben Eisenbraun
Hello Jared,

 Two of the grad students in our structural biology course are having
 similar problems installing Coot on their Mac computers using the
 stand-alone packages from Bill Scott's Crystallography on OS X website.

I did the same thing about 2 months ago.  I tried out the package on about
20 student laptops for a single day class we held.  About half of the
installations didn't work with either the magic number error or a second
error that I can't recall.

 $ coot

My recollection is that this is a shell script wrapper that calls the
actual coot-real binary, and in that wrapper there is a PYTHONPATH setting.
If it hasn't changed since I last tried to use Bill's package, that
PYTHONPATH contains the system python 2.5 and 2.6 modules directories, but
the python that is compiled into Coot via Fink is python 2.7.  Removing the
non-2.7 directories from the PYTHONPATH got about 5 more of the
installations working.

The remaining machines wouldn't run the package no matter what I tried.

Good luck!

-ben

--
| Ben Eisenbraun
| SBGrid Consortium  | http://sbgrid.org   |
| Harvard Medical School | http://hms.harvard.edu  |


Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Pete Meyer


They're both getting Python magic number errors, which from what I know 
result from one Python version trying to run a .pyc file created with another Python 
version, but I'm not sure exactly how to work around it in the context of the stand-alone 
package.  The students aren't planning to do much in the structural realm outside the 
course, and I don't want to have to go through installing Xcode and Fink to compile on 
their own, since they probably won't need it much past this one assignment.



Usually python will regenerate pyc files as needed (assuming the source 
files are available).  So find $COOTDIR -name *.pyc -exec rm {} \; 
might be worth a try.


Pete


Any suggestions would be greatly appreciated.  Thanks!

Jared Sampson



First student (3 week-old Macbook Pro, 10.6.6, stand-alone package for Version 
0.6.2-pre-1-3250)

$ coot
Acquiring application resources from /Library/Coot/share/coot/cootrc
INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
There are 118 data in 
/Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
[... and a bunch more monomers ...]
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
sbase monomer dir: /share/sbase
sbase files not found in /share/sbase
Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
 PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
Spacegroup: P 1
Cell: 40.631 109.18 93.243 90 90 90
initalize graphics molecules...done.
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
ImportError: Bad magic number in 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc



second student (Macbook, 10.6.5, also Version 0.6.2-pre-1-3250)

$ /usr/local/bin/coot
Acquiring application resources from /Library/Coot/share/coot/cootrc
INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
There are 118 data in 
/Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif/
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CYS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLN.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLY.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLU.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/p/PHE.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HIS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/i/ILE.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LYS.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LEU.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/m/MET.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/e/ETH.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CIT.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/t/TD.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
sbase monomer dir: /share/sbase
sbase files not found in /share/sbase
Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
Spacegroup: P 1
Cell: 40.631 109.18 93.243 90 90 90
initalize graphics molecules...done.
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
ImportError: Bad magic number in 
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc





--
Jared Sampson
Xiangpeng Kong Lab
NYU Langone Medical Center
New York, NY 10016
212-263-7898



Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Ben Eisenbraun
Hi Pete,

 Usually python will regenerate pyc files as needed (assuming the source 
 files are available).  So find $COOTDIR -name *.pyc -exec rm {} \; 
 might be worth a try.

This is true, but the import error is being generated by Coot trying to
read the _system_ .pyc files:

  ImportError: Bad magic number in 
  /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
 ImportError: Bad magic number in 
 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc

And I would be hesitant to delete those.  That said, in theory it really
shouldn't matter.

-ben

--
| Ben Eisenbraun
| SBGrid Consortium  | http://sbgrid.org   |
| Harvard Medical School | http://hms.harvard.edu  |


Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Pete Meyer

Ben Eisenbraun wrote:

Hi Pete,

Usually python will regenerate pyc files as needed (assuming the source 
files are available).  So find $COOTDIR -name *.pyc -exec rm {} \; 
might be worth a try.


This is true, but the import error is being generated by Coot trying to
read the _system_ .pyc files:


Whoops - missed that.




ImportError: Bad magic number in 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
ImportError: Bad magic number in 
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc


And I would be hesitant to delete those.  That said, in theory it really
shouldn't matter.

-ben

--
| Ben Eisenbraun
| SBGrid Consortium  | http://sbgrid.org   |
| Harvard Medical School | http://hms.harvard.edu  |


Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread Sampson, Jared
Hi Ben and Pete - I did think about deleting (or moving) the .pyc files, but in 
the newer of the two students' computers (3 weeks out of the box), there wasn't 
a site.py file in that directory, only .pyc and .pyo, so I figured I'd better 
not mess with it.

Thanks for the suggestions so far.  I'll see if I can get the students back 
here again and try editing the wrapper script.

Cheers,
Jared


On Mar 10, 2011, at 12:05 PM, Pete Meyer wrote:

 Ben Eisenbraun wrote:
 Hi Pete,
 
 Usually python will regenerate pyc files as needed (assuming the source 
 files are available).  So find $COOTDIR -name *.pyc -exec rm {} \; 
 might be worth a try.
 
 This is true, but the import error is being generated by Coot trying to
 read the _system_ .pyc files:
 
 Whoops - missed that.
 
 
 ImportError: Bad magic number in 
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
 ImportError: Bad magic number in 
 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc
 
 And I would be hesitant to delete those.  That said, in theory it really
 shouldn't matter.
 
 -ben
 
 --
 | Ben Eisenbraun
 | SBGrid Consortium  | http://sbgrid.org   |
 | Harvard Medical School | http://hms.harvard.edu  |



This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain information that is proprietary, 
confidential, and exempt from disclosure under applicable law. Any unauthorized 
review, use, disclosure, or distribution is prohibited. If you have received 
this email in error please notify the sender by return email and delete the 
original message. Please note, the recipient should check this email and any 
attachments for the presence of viruses. The organization accepts no liability 
for any damage caused by any virus transmitted by this email.
=


Re: [ccp4bb] Coot Bad magic number errors

2011-03-10 Thread William G. Scott
Sorry about this.

Issue the command

sudo perl -pi -e 
's|/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6\:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5\:||g'
 /Library/Coot/bin/coot

and that will fix it. 

I'll make a new one.

Bill


On Mar 10, 2011, at 7:55 AM, Sampson, Jared wrote:

 Hi all -
 
 Two of the grad students in our structural biology course are having similar 
 problems installing Coot on their Mac computers using the stand-alone 
 packageshttp://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Stand-Alone_Coot 
 from Bill Scott's Crystallography on OS X website.  I've pasted the Terminal 
 outputs below from each of their machines below.
 
 They're both getting Python magic number errors, which from what I know 
 result from one Python version trying to run a .pyc file created with another 
 Python version, but I'm not sure exactly how to work around it in the context 
 of the stand-alone package.  The students aren't planning to do much in the 
 structural realm outside the course, and I don't want to have to go through 
 installing Xcode and Fink to compile on their own, since they probably won't 
 need it much past this one assignment.
 
 Any suggestions would be greatly appreciated.  Thanks!
 
 Jared Sampson
 
 
 
 First student (3 week-old Macbook Pro, 10.6.6, stand-alone package for 
 Version 0.6.2-pre-1-3250)
 
 $ coot
 Acquiring application resources from /Library/Coot/share/coot/cootrc
 INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
 INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
 There are 118 data in 
 /Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
 [... and a bunch more monomers ...]
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
 There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
 sbase monomer dir: /share/sbase
 sbase files not found in /share/sbase
 Reading coordinate file: /Library/Coot/share/coot/standard-residues.pdb
 PDB file /Library/Coot/share/coot/standard-residues.pdb has been read.
 Spacegroup: P 1
 Cell: 40.631 109.18 93.243 90 90 90
 initalize graphics molecules...done.
 (filter-fileselection-filenames-state)
 (get-active-map-drag-flag)
 ImportError: Bad magic number in 
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
 
 
 
 second student (Macbook, 10.6.5, also Version 0.6.2-pre-1-3250)
 
 $ /usr/local/bin/coot
 Acquiring application resources from /Library/Coot/share/coot/cootrc
 INFO:: splash_screen_pixmap_dir /Library/Coot/share/coot/pixmaps
 INFO:: Colours file: /Library/Coot/share/coot/colours.def loaded
 There are 118 data in 
 /Library/Coot/share/coot/lib/data/monomers/list/mon_lib_list.cif/
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ALA.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASP.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/ASN.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CYS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLN.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLY.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GLU.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/p/PHE.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HIS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/i/ILE.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LYS.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/l/LEU.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/m/MET.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/e/ETH.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CIT.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/a/AD.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/c/CD.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/g/GD.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/t/TD.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/u/UR.cif
 There are 2 data in /Library/Coot/share/coot/lib/data/monomers/h/HOH.cif
 There are 1 data in /Library/Coot/share/coot/lib/data/monomers/ener_lib.cif
 sbase monomer dir: