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 Xiangpen

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, 20

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'l

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 f

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: > > ImportEr

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

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 ab