[Chandler-dev] rt.py and your system python version

Mike Taylor bear at osafoundation.org
Mon Jun 18 20:08:50 PDT 2007


A couple of people have been bitten by this so I wanted to post a  
note explaining what happened, why and how to fix it.

rt.py when run using the stock python and not Chandler's python,  
which is how I always demonstrate it, will generate odd import errors  
that you may not be expecting.  The reason for this is that rt.py has  
"#!/usr/bin/env python" at the top and for people running on Intel  
based Macs this will reference Python 2.3.5 and since rt.py now uses  
a number of modules that appeared starting with version 2.4+, the  
import errors happen.

To fix this you need to download the OS X install image from  
python.org and install it - the new installer will adjust all the  
required system environment items to make sure the new python is now  
the default python.

Others have started running into path issues with the new  
localization check when running on WinXP with Cygwin and this is  
because of subtle issues in the localization code that I  have quick  
fixed.  I need to get with Brian K. to make sure my quick fix has not  
broken something on his end.

thanks and apologies if I slowed down anyone's rt.py runs

---
bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
bear at osafoundation.org
http://www.osafoundation.org

bear at code-bear.com
http://code-bear.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20070618/b70c0156/attachment.htm


More information about the chandler-dev mailing list