Thanks Stephen for looking into my problem.I used easy_install and python 
is linked to 2.6.
$ pwd
/usr/bin
$ ls -al python*
lrwxrwxrwx 1 root root   18 Oct 31 19:14 python -> /usr/bin/python2.6
lrwxrwxrwx 1 root root    6 Jul 21  2011 python2 -> python
-rwxr-xr-x 1 root root 8304 Nov  3  2010 python2.4
-rwxr-xr-x 2 root root 8328 Apr 12  2012 python26
-rwxr-xr-x 2 root root 8328 Apr 12  2012 python2.6
$ diff python26 python2.6

My boxes have both 2.4 (default) and 2.6 Python. Is the issue caused by 
httpd? Since I have installed ReviewBoard twice - one for 2.4 and one for 
2.6.

On Thursday, November 1, 2012 7:50:00 AM UTC-5, Stephen Gallagher wrote:
>
> On Wed 31 Oct 2012 10:01:51 PM EDT, Zhu Wayne wrote: 
> > 
> > I am not sure why httpd still user Python 2.4 instead of 2.6? I have 
> > to point /usr/bin/python -> python2.6 instead of python2.4. 
> > 
> > Linux wihadoopn302p.dev.ch3.s.com 2.6.18-308.13.1.el5 #1 SMP Thu Jul 
> > 26 05:45:09 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux 
> > 
>
> How did you install ReviewBoard? Did you install it with the EPEL 5 
> RPMs I produced? If so, those were compiled against python 2.4 because 
> that is the standard version shipped with RHEL/CentOS 5.x. The main 
> reason for this is that the dependent packages (such as Django) are 
> also built against that version and therefore all need to remain 
> compatible. 
>
> If you installed ReviewBoard with easy_install, you need to first 
> ensure that the default 'python' binary on your system is python26 
> (such as via the symlink) *before* running easy_install. Otherwise it 
> will pick the default, which as mentioned above is python 2.4. 
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Reply via email to