Hi,

There's another similar thread about this from a few days ago. Basically,
you're mixing easy_installed and yum-installed packages, and that's going
to confuse your whole setup. You need to remove all those affected packages
from yum and from easy_install and then reinstall from one or the other
mixing and matching will just break.

Christian


On Monday, August 4, 2014, Simona Avornicesei <savornice...@gmail.com>
wrote:

> I've configured a rb site some while ago (when on 1.7.x version, I think)
> on a CentOS box for testing and evaluation. Each upgrade went smooth until
> 2.x when python started to really hate me with the message "Unable to
> import settings_local.py: No module named settings_local" at any rb-site
> command I was calling.
>
> Here is the today's war with python and rb site:
>
> [root@centos6 ~]# yum update
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.mirrors.linux.ro
>  * epel: ftp.ines.lug.ro
>  * extras: centos.mirrors.linux.ro
>  * updates: centos.mirrors.linux.ro
> Setting up Update Process
> No Packages marked for Update
> [root@centos6 ~]# easy_install -U ReviewBoard
> Searching for ReviewBoard
> Reading http://pypi.python.org/simple/ReviewBoard/
> Reading http://downloads.review-board.org/releases/
> Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/nightlies/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/
> Reading http://www.review-board.org/
> Reading http://www.reviewboard.org/
> Best match: ReviewBoard 2.0.5
> Downloading
> http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ReviewBoard-2.0.5-py2.6.egg
> Processing ReviewBoard-2.0.5-py2.6.egg
> creating /usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg
> Extracting ReviewBoard-2.0.5-py2.6.egg to /usr/lib/python2.6/site-packages
> Removing ReviewBoard 2.0.2 from easy-install.pth file
> Adding ReviewBoard 2.0.5 to easy-install.pth file
> Installing rb-site script to /usr/bin
> Installing rbssh script to /usr/bin
>
> Installed /usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg
> Reading http://downloads.reviewboard.org/mirror/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.8/
> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
> Processing dependencies for ReviewBoard
> Searching for Djblets>=0.8.8,<=0.8.999
> Reading http://pypi.python.org/simple/Djblets/
> Reading http://downloads.review-board.org/releases/Djblets/0.5/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.6/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.7/
> Reading http://www.review-board.org/wiki/Djblets
> Reading http://www.reviewboard.org/wiki/Djblets
> Best match: Djblets 0.8.8
> Downloading
> http://downloads.reviewboard.org/releases/Djblets/0.8/Djblets-0.8.8-py2.6.egg
> Processing Djblets-0.8.8-py2.6.egg
> creating /usr/lib/python2.6/site-packages/Djblets-0.8.8-py2.6.egg
> Extracting Djblets-0.8.8-py2.6.egg to /usr/lib/python2.6/site-packages
> Removing Djblets 0.8.5 from easy-install.pth file
> Adding Djblets 0.8.8 to easy-install.pth file
>
> Installed /usr/lib/python2.6/site-packages/Djblets-0.8.8-py2.6.egg
> Searching for django-evolution>=0.7.3,<=0.7.999
> Reading http://pypi.python.org/simple/django_evolution/
> Reading http://code.google.com/p/django-evolution/
> Best match: django-evolution 0.7.3
> Downloading
> http://downloads.reviewboard.org/releases/django-evolution/0.7/django_evolution-0.7.3-py2.6.egg
> Processing django_evolution-0.7.3-py2.6.egg
> creating /usr/lib/python2.6/site-packages/django_evolution-0.7.3-py2.6.egg
> Extracting django_evolution-0.7.3-py2.6.egg to
> /usr/lib/python2.6/site-packages
> Removing django-evolution 0.7.2 from easy-install.pth file
> Adding django-evolution 0.7.3 to easy-install.pth file
>
> Installed /usr/lib/python2.6/site-packages/django_evolution-0.7.3-py2.6.egg
> Finished processing dependencies for ReviewBoard
> [root@centos6 ~]# cd /var/www
> [root@centos6 www]# ls -ls
> total 24
> 4 drwxr-xr-x 2 root   root   4096 Jul 23 17:18 cgi-bin
> 4 drwxr-xr-x 3 root   root   4096 Aug  4 09:23 error
> 4 drwxr-xr-x 2 root   root   4096 Jul 23 17:18 html
> 4 drwxr-xr-x 3 root   root   4096 Aug  4 09:23 icons
> 4 drwxr-xr-x 7 apache apache 4096 Jan  7  2014 memcached
> 4 drwxr-xr-x 7 apache apache 4096 Jan  7  2014 reviewboard
> [root@centos6 www]# rb-site upgrade /reviewboard
>        Unable to import settings_local.py: No module named settings_local
>
> Please see https://www.reviewboard.org/docs/manual/dev/admin/
> for help setting up Review Board.
> [root@centos6 www]# rb-site upgrade /reviewboard
>        Unable to import settings_local.py: No module named settings_local
>
> Please see https://www.reviewboard.org/docs/manual/dev/admin/
> for help setting up Review Board.
> [root@centos6 www]# rpm -qa|grep django
> python-django-pipeline-1.2.24-2.el6.noarch
> python-django-evolution-0.6.9-4.el6.noarch
> [root@centos6 www]# yum search python-django-evolution
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.mirrors.linux.ro
>  * epel: ftp.ines.lug.ro
>  * extras: centos.mirrors.linux.ro
>  * updates: centos.mirrors.linux.ro
> epel/pkgtags                                             | 887 kB     00:00
> ===================== N/S Matched: python-django-evolution
> =====================
> python-django-evolution.noarch : Schema evolution for Django
>
>   Name and summary matches only, use "search all" for everything.
> [root@centos6 www]# yum update python-django-evolution
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.mirrors.linux.ro
>  * epel: ftp.ines.lug.ro
>  * extras: centos.mirrors.linux.ro
>  * updates: centos.mirrors.linux.ro
> Setting up Update Process
> No Packages marked for Update
> [root@centos6 www]# yum update
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.mirrors.linux.ro
>  * epel: ftp.ines.lug.ro
>  * extras: centos.mirrors.linux.ro
>  * updates: centos.mirrors.linux.ro
> Setting up Update Process
> No Packages marked for Update
> [root@centos6 www]# rb-site manage /reviewboard evolve --hint
> Usage: rb-site command [options] path
>
> rb-site: error: no such option: --hint
> [root@centos6 www]# rb-site manage /reviewboard evolve -- --hint
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==2.0.5', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1858, in main
>     command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1781, in run
>     initialize()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.py",
> line 77, in initialize
>     import settings_local
> ImportError: No module named settings_local
> [root@centos6 www]# python --version
>        Python 2.6.6
> [root@centos6 www]# rpm -a|grep python-setuptools
> [root@centos6 www]# yum install python-setuptools
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.mirrors.linux.ro
>  * epel: ftp.ines.lug.ro
>  * extras: centos.mirrors.linux.ro
>  * updates: centos.mirrors.linux.ro
> Setting up Install Process
> Package python-setuptools-0.6.10-3.el6.noarch already installed and latest
> version
> Nothing to do
> [root@centos6 www]# rb-site manage /reviewboard help
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==2.0.5', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1858, in main
>     command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1781, in run
>     initialize()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.py",
> line 77, in initialize
>     import settings_local
> ImportError: No module named settings_local
> [root@centos6 www]# rb-site manage /reviewboard evolve -- --execute
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==2.0.5', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1858, in main
>     command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1781, in run
>     initialize()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.py",
> line 77, in initialize
>     import settings_local
> ImportError: No module named settings_local
> [root@centos6 www]# ls -ls
> total 24
> 4 drwxr-xr-x 2 root   root   4096 Jul 23 17:18 cgi-bin
> 4 drwxr-xr-x 3 root   root   4096 Aug  4 09:23 error
> 4 drwxr-xr-x 2 root   root   4096 Jul 23 17:18 html
> 4 drwxr-xr-x 3 root   root   4096 Aug  4 09:23 icons
> 4 drwxr-xr-x 7 apache apache 4096 Jan  7  2014 memcached
> 4 drwxr-xr-x 7 apache apache 4096 Jan  7  2014 reviewboard
> [root@centos6 www]# cd reviewboard/
> [root@centos6 reviewboard]# ls -ls
> total 20
> 4 drwxr-xr-x 2 apache apache 4096 Jan  7  2014 conf
> 4 drwxr-xr-x 2 apache apache 4096 Jan  7  2014 data
> 4 drwxr-xr-x 4 apache apache 4096 Jun 23 13:53 htdocs
> 4 drwxr-xr-x 2 apache apache 4096 Jan  7  2014 logs
> 4 drwxrwxrwx 2 apache apache 4096 Jan  7  2014 tmp
> [root@centos6 reviewboard]# cd conf
> [root@centos6 conf]# ls -ls
> total 16
> 4 -rw-r--r-- 1 apache apache 1128 Jan  7  2014 apache-wsgi.conf
> 4 -rw-r--r-- 1 apache apache  278 Jan  7  2014 search-cron.conf
> 4 -rw-r--r-- 1 apache apache  809 Jan  7  2014 settings_local.py
> 4 -rw-r--r-- 1 apache apache  723 Jan  7  2014 settings_local.pyc
> [root@centos6 conf]# cd /var/www
> [root@centos6 www]# rb-site manage /reviewboard list-evolutions
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==2.0.5', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1858, in main
>     command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1781, in run
>     initialize()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.py",
> line 77, in initialize
>     import settings_local
> ImportError: No module named settings_local
> [root@centos6 www]# rpm -qa|grep ReviewBoard
> ReviewBoard-1.7.25-1.el6.noarch
> [root@centos6 www]# rpm -qa|grep Django
> Django14-1.4.13-1.el6.noarch
> [root@centos6 www]# rpm -qa|grep Python
> [root@centos6 www]# rpm -qa|grep python
> python-iniparse-0.3.1-2.1.el6.noarch
> newt-python-0.52.11-3.el6.x86_64
> python-recaptcha-client-1.0.6-4.el6.noarch
> python-pip-1.3.1-4.el6.noarch
> python-crypto-2.0.1-22.el6.x86_64
> python-mimeparse-0.1.4-1.el6.noarch
> python-nose-0.10.4-3.1.el6.noarch
> python-slimit-0.7.4-3.el6.noarch
> python-ldap-2.3.10-1.el6.x86_64
> python-pycurl-7.19.0-8.el6.x86_64
> setools-libs-python-3.3.7-4.el6.x86_64
> policycoreutils-python-2.0.83-19.39.el6.x86_64
> python-imaging-1.1.6-19.el6.x86_64
> python-memcached-1.43-6.el6.noarch
> python-markdown-2.0.1-3.1.el6.noarch
> python-psycopg2-2.0.14-2.el6.x86_64
> MySQL-python-1.2.3-0.3.c1.1.el6.x86_64
> python-django-pipeline-1.2.24-2.el6.noarch
> python-feedparser-5.1.2-2.el6.noarch
> python-libs-2.6.6-52.el6.x86_64
> python-devel-2.6.6-52.el6.x86_64
> rpm-python-4.8.0-37.el6.x86_64
> libsemanage-python-2.0.43-4.2.el6.x86_64
> python-paramiko-1.7.5-2.1.el6.noarch
> audit-libs-python-2.2-4.el6_5.x86_64
> python-flup-1.0.2-2.el6.noarch
> python-pygments-1.1.1-1.el6.noarch
> python-django-evolution-0.6.9-4.el6.noarch
> python-djblets-0.7.30-2.el6.noarch
> python-2.6.6-52.el6.x86_64
> python-urlgrabber-3.9.1-9.el6.noarch
> libselinux-python-2.0.94-5.3.el6_4.1.x86_64
> python-setuptools-0.6.10-3.el6.noarch
> libproxy-python-0.3.0-4.el6_3.x86_64
> python-docutils-0.6-1.el6.noarch
> python-dateutil-1.4.1-6.el6.noarch
> python-odict-1.5.0-4.el6.noarch
> python-simplejson-2.0.9-3.1.el6.x86_64
> python-ply-3.4-4.el6.noarch
> [root@centos6 www]# easy_install -U django_evolution
> Searching for django-evolution
> Reading http://pypi.python.org/simple/django_evolution/
> Reading http://code.google.com/p/django-evolution/
> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
> Best match: django-evolution 0.7.3
> Processing django_evolution-0.7.3-py2.6.egg
> django-evolution 0.7.3 is already the active version in easy-install.pth
>
> Using /usr/lib/python2.6/site-packages/django_evolution-0.7.3-py2.6.egg
> Processing dependencies for django-evolution
> Finished processing dependencies for django-evolution
> [root@centos6 www]# yum remove ReviewBoard
> Loaded plugins: fastestmirror
> Setting up Remove Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package ReviewBoard.noarch 0:1.7.25-1.el6 will be erased
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
>
> ================================================================================
>  Package             Arch           Version                 Repository
> Size
>
> ================================================================================
> Removing:
>  ReviewBoard         noarch         1.7.25-1.el6            @epel
>  11 M
>
> Transaction Summary
>
> ================================================================================
> Remove        1 Package(s)
>
> Installed size: 11 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Erasing    : ReviewBoard-1.7.25-1.el6.noarch
>  1/1
>   Verifying  : ReviewBoard-1.7.25-1.el6.noarch
>  1/1
>
> Removed:
>   ReviewBoard.noarch 0:1.7.25-1.el6
>
> Complete!
> [root@centos6 www]# easy_install -U ReviewBoard
> Searching for ReviewBoard
> Reading http://pypi.python.org/simple/ReviewBoard/
> Reading http://downloads.review-board.org/releases/
> Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/nightlies/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/
> Reading http://www.review-board.org/
> Reading http://www.reviewboard.org/
> Best match: ReviewBoard 2.0.5
> Processing ReviewBoard-2.0.5-py2.6.egg
> ReviewBoard 2.0.5 is already the active version in easy-install.pth
> Installing rb-site script to /usr/bin
> Installing rbssh script to /usr/bin
>
> Using /usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg
> Reading http://downloads.reviewboard.org/mirror/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.8/
> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
> Processing dependencies for ReviewBoard
> Finished processing dependencies for ReviewBoard
> [root@centos6 www]# rb-site upgrade /reviewboard
> Unable to import settings_local.py: No module named settings_local
>
> Please see https://www.reviewboard.org/docs/manual/dev/admin/
> for help setting up Review Board.
> [root@centos6 www]# cd /usr/lib/python2.6/site-packages/
> [root@centos6 site-packages]# ls -ls
> total 1232
>   4 drwxr-xr-x   3 root root   4096 Jan  7  2014 dateutil
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> distribute-0.6.10-py2.6.egg-info
>   4 drwxr-xr-x  17 root root   4096 Jun 23 12:28 django
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 Django-1.4.10-py2.6.egg
>   4 -rw-r--r--   1 root root   1185 May 16 18:56
> Django-1.4.13-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:51 Django-1.6.5-py2.6.egg
>   4 drwxr-xr-x   6 root root   4096 Jul 10 14:11 django_evolution
>   4 drwxr-xr-x   2 root root   4096 Jul 10 14:11
> django_evolution-0.6.9-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:50
> django_evolution-0.7.2-py2.6.egg
>   4 drwxr-xr-x   4 root root   4096 Aug  4 12:22
> django_evolution-0.7.3-py2.6.egg
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:50
> django_haystack-2.1.0-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> django_pipeline-1.2.24-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:51
> django_pipeline-1.3.24-py2.6.egg
>   4 drwxr-xr-x  15 root root   4096 Aug  4 09:23 djblets
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 Djblets-0.7.28-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Aug  4 09:23
> Djblets-0.7.30-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:50 Djblets-0.8.5-py2.6.egg
>   4 drwxr-xr-x   4 root root   4096 Aug  4 12:21 Djblets-0.8.8-py2.6.egg
>   4 drwxr-xr-x   7 root root   4096 Jan  7  2014 docutils
>   4 -rw-r--r--   1 root root   1681 Nov 12  2010
> docutils-0.6-py2.6.egg-info
>   4 -rw-r--r--   1 root root    676 Aug  4 12:22 easy-install.pth
>   4 -rw-r--r--   1 root root    126 Nov 12  2010 easy_install.py
>   4 -rw-r--r--   2 root root    317 Nov 12  2010 easy_install.pyc
>   4 -rw-r--r--   2 root root    317 Nov 12  2010 easy_install.pyo
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 ecdsa-0.10-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> feedparser-5.1.2-py2.6.egg-info
> 164 -rw-r--r--   1 root root 167900 Jun 10  2013 feedparser.py
> 140 -rw-r--r--   2 root root 141376 Jun 10  2013 feedparser.pyc
> 140 -rw-r--r--   2 root root 141376 Jun 10  2013 feedparser.pyo
>   4 drwxr-xr-x   4 root root   4096 Jan  7  2014 flup
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 flup-1.0.2-py2.6.egg-info
>   4 drwxr-xr-x   5 root root   4096 Jun 23 13:51 futures-2.1.6-py2.6.egg
>   4 drwxr-xr-x.  2 root root   4096 Dec  9  2013 iniparse
>   4 -rw-r--r--.  1 root root   1085 Aug 17  2010
> iniparse-0.3.1-py2.6.egg-info
>   8 -rw-r--r--   1 root root   4330 Aug 14  2009 libproxy.py
>   4 -rw-r--r--   2 root root   3990 Feb 20  2013 libproxy.pyc
>   4 -rw-r--r--   2 root root   3990 Feb 20  2013 libproxy.pyo
>   4 drwxr-xr-x   3 root root   4096 Jan  7  2014 markdown
>   4 -rw-r--r--   1 root root   1340 Aug 18  2010
> Markdown-2.0.1-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 Markdown-2.3.1-py2.6.egg
>  40 -rwxr-xr-x   1 root root  39165 Jun 22  2012 memcache.py
>  40 -rw-r--r--   2 root root  37299 Jun 22  2012 memcache.pyc
>  40 -rw-r--r--   2 root root  37299 Jun 22  2012 memcache.pyo
>   4 drwxr-xr-x   3 root root   4096 Jan 16  2014 mimeparse-0.1.3-py2.6.egg
>   8 -rw-r--r--   1 root root   6452 Aug 23  2012 mimeparse.py
>   8 -rw-r--r--   2 root root   6956 May 18  2013 mimeparse.pyc
>   8 -rw-r--r--   2 root root   6956 May 18  2013 mimeparse.pyo
>   4 drwxr-xr-x   4 root root   4096 Jan  7  2014 nose
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 nose-0.10.4-py2.6.egg-info
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 odict
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 odict-1.5.0-py2.6.egg-info
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 paramiko
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 paramiko-1.12.1-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> paramiko-1.7.5-py2.6.egg-info
>   4 drwxr-xr-x   3 root root   4096 Jun 23 13:51 pillowfight-0.2-py2.6.egg
>   4 drwxr-xr-x   5 root root   4096 Jan  7  2014 pip
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 pip-1.3.1-py2.6.egg-info
>   4 drwxr-xr-x   8 root root   4096 Jan  7  2014 pipeline
>  88 -rw-r--r--   1 root root  88196 Nov 12  2010 pkg_resources.py
>  92 -rw-r--r--   2 root root  92875 Nov 12  2010 pkg_resources.pyc
>  92 -rw-r--r--   2 root root  92875 Nov 12  2010 pkg_resources.pyo
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 ply
>   4 -rw-r--r--   1 root root    900 Apr 12  2013 ply-3.4-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014
> pycrypto-2.6.1-py2.6-linux-x86_64.egg
>   4 drwxr-xr-x   4 root root   4096 Jan  7  2014 pydns-2.3.6-py2.6.egg
>   4 drwxr-xr-x   6 root root   4096 Jan  7  2014 pygments
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> Pygments-1.1.1-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014 Pygments-1.6-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> python_dateutil-1.4.1-py2.6.egg-info
>   4 drwxr-xr-x   4 root root   4096 Jan 16  2014
> python_dateutil-1.5-py2.6.egg
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> python_memcached-1.43-py2.6.egg-info
>   4 -rw-r--r--   1 root root   1744 May 18  2013
> python_mimeparse-0.1.4-py2.6.egg-info
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 pytz
>  24 -rw-r--r--   1 root root  22534 Nov 12  2010 pytz-2010h-py2.6.egg-info
>   4 drwxr-xr-x   3 root root   4096 Mar 24 20:28 recaptcha
>   4 drwxr-xr-x   2 root root   4096 Jun 23 12:28
> recaptcha_client-1.0.6-py2.6.egg-info
>   4 -rw-r--r--   1 root root    316 Mar 24 20:28
> recaptcha_client-1.0.6-py2.6-nspkg.pth
>   4 drwxr-xr-x   5 root root   4096 Jan 16  2014
> ReviewBoard-1.7.21-py2.6.egg
>   4 drwxr-xr-x   5 root root   4096 Mar  7 17:53
> ReviewBoard-1.7.22-py2.6.egg
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:50
> ReviewBoard-2.0.2-py2.6.egg
>   4 drwxr-xr-x   4 root root   4096 Aug  4 12:21
> ReviewBoard-2.0.5-py2.6.egg
>   4 -rw-r--r--   1 root root   2687 Nov 12  2010 roman.py
>   4 -rw-r--r--   2 root root   3532 Nov 12  2010 roman.pyc
>   4 -rw-r--r--   2 root root   3532 Nov 12  2010 roman.pyo
>   4 drwxr-xr-x.  2 root root   4096 Jan  6  2014 rpmUtils
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014 setools
>   4 drwxr-xr-x   3 root root   4096 Jan  7  2014 setuptools
>   4 -rw-r--r--   1 root root    144 Nov 12  2010
> setuptools-0.6c11-py2.6.egg-info
>   4 -rw-r--r--   1 root root     34 Nov 12  2010 setuptools.pth
>   4 -rw-r--r--   1 root root   2362 Nov 12  2010 site.py
>   4 -rw-r--r--   2 root root   1771 Nov 12  2010 site.pyc
>   4 -rw-r--r--   2 root root   1771 Nov 12  2010 site.pyo
>   4 drwxr-xr-x   4 root root   4096 Jan  7  2014 slimit
>   4 drwxr-xr-x   2 root root   4096 Jan  7  2014
> slimit-0.7.4-py2.6.egg-info
>   4 drwxr-xr-x.  2 root root   4096 Dec  9  2013 urlgrabber
>   4 -rw-r--r--   1 root root   2285 Jul 30  2013
> urlgrabber-3.9.1-py2.6.egg-info
>   4 drwxr-xr-x   2 root root   4096 Aug  4 13:16 webtests
>   4 drwxr-xr-x   4 root root   4096 Jun 23 13:50 Whoosh-2.6.0-py2.6.egg
>   4 drwxr-xr-x.  2 root root   4096 Jan  6  2014 yum
> [root@centos6 site-packages]# rpm -qa | grep python-setuptools
> python-setuptools-0.6.10-3.el6.noarch
> [root@centos6 site-packages]# easy_install -U setuptools
> Processing setuptools
> error: Couldn't find a setup script in
> /usr/lib/python2.6/site-packages/setuptools
> [root@centos6 conf.d]# python
> Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> print reviewboard.__path__
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'reviewboard' is not defined
> >>> import reviewboard
> >>> import reviewboard.settings
> Unable to import settings_local.py: No module named settings_local
>
> Please see https://www.reviewboard.org/docs/manual/dev/admin/
> for help setting up Review Board.
> [root@centos6 conf.d]# python
> Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> print reviewboard.__path__
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'reviewboard' is not defined
> >>> quit()
> [root@centos6 conf.d]# vi reviewboard.conf
> <VirtualHost *:80>
>         ServerName 192.168.9.51
>         DocumentRoot "/var/www/reviewboard/htdocs"
>
>         # Error handlers
>         ErrorDocument 500 /errordocs/500.html
>
>         WSGIPassAuthorization On
>         WSGIScriptAlias "/reviewboard"
> "/var/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard"
>
>         <Directory "/var/www/reviewboard/htdocs">
>                 AllowOverride All
>                 Options -Indexes +FollowSymLinks
>                 Allow from all
>         </Directory>
>
>         # Prevent the server from processing or allowing the rendering of
>         # certain file types.
>         <Location "/reviewboard/media/uploaded">
>                 SetHandler None
>                 Options None
>
>                 AddType text/plain .html .htm .shtml .php .php3 .php4
> .php5 .phps .asp
>                 AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht
> .jsp .sh .rb
>
>                 <IfModule mod_php5.c>
>                         php_flag engine off
>                 </IfModule>
>         </Location>
>
>         # Alias static media requests to filesystem
>         Alias /reviewboard/media "/var/www/reviewboard/htdocs/media"
>         Alias /reviewboard/static "/var/www/reviewboard/htdocs/static"
>         Alias /reviewboard/errordocs
> "/var/www/reviewboard/htdocs/errordocs"
>         Alias /reviewboard/favicon.ico
> "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
> </VirtualHost>
> "reviewboard.conf" 36L, 1128C
> [root@centos6 conf.d]# vi wsgi.conf
> LoadModule wsgi_module modules/mod_wsgi.so
>
> "wsgi.conf" 1L, 43C
> [root@centos6 ~]# uname -a
> Linux centos6.4-x64-test 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31
> 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks,
> Simo
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to