Hi Michael,

You'll likely run into problems attempting to mix yum-installed and
easy_installed packages for Review Board. You need to use one or the other,
but not both. This applies to ReviewBoard, Djblets, django-evolution,
django-pipeline, and more.

It sounds like the attempts to deal with Python versions may have also
confused things, particularly attempting to symlink things. I'd undo that.

What's likely happening is that you now have two versions of Review Board
installed, but in such a way where the modules aren't all where they're
expected to be.

Can you check the filesystem and find the path to the Whoosh*.egg
directory, and the ReviewBoard*.egg directories, and list them?

Christian


On Wednesday, July 30, 2014, Michael Kovacs <dromin...@gmail.com> wrote:

> Trying to get up to 2.x to work on the SSL certificate errors. Environment
> is:
>
> Centos 65 updated.
> Python 2.6 (yum installed)
> ReviewBoard 1.7.25 (yum installed)
>
> Setuptools are installed, so easy_install is available.
>
> Attempting to do ANY upgrade (easy_install -U reviewboard or
> reviewboard=1.7.27) seems to succeed. Attempts to access after "rb-site
> upgrade" is run gets a "ReviewBoard is taking a nap" error on the browser
> and the logs show activity only in the access & error logs:
>
> ==> error_log <==
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99] mod_wsgi
> (pid=2720): Target WSGI script
> '/var/www/itt-d-review.aaa.local/htdocs/reviewboard.wsgi' cannot be loaded
> as Python module.
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99] mod_wsgi
> (pid=2720): Exception occurred processing WSGI script
> '/var/www/itt-d-review.aaa.local/htdocs/reviewboard.wsgi'.
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99] Traceback (most
> recent call last):
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]   File
> "/var/www/itt-d-review.aaa.local/htdocs/reviewboard.wsgi", line 3, in
> <module>
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]     import
> pkg_resources
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]   File
> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2876, in <module>
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]   File
> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 449, in _build_master
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]   File
> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 745, in require
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]   File
> "build/bdist.linux-x86_64/egg/pkg_resources.py", line 639, in resolve
> [Wed Jul 30 12:16:13 2014] [error] [client 10.200.33.99]
> DistributionNotFound: Whoosh
> ==> access_log <==
> 10.200.33.99 - - [30/Jul/2014:12:16:13 -0500] "GET / HTTP/1.1" 500 1372
> "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko"
>
>
>
> Obviously domain name has been changed. Again, this is a very basic
> install with no activity yet. I am running hyper-v and have snapshots,
> which make testing various configs easy. I have seen references to
> upgrading the python to 2.7 however when I tried this also it looked like
> several reviewboard modules were looking for files under 2.6, even after
> aliasing python itself. I also tried upgrading python first before
> upgrading the reviewboard but that failed as well.
>
>  I see no difference when I compare the reviewboard.wsgi file to the one
> after upgrade, and in fact the date stamps remain as before. Is there a
> step by step so I can see what I am missing? The best results with the
> fewest errors seem to be easy_install -U django_evolution followed by the
> -U reviewboard, but this simply gives the browser the nap message with the
> above errors in the logs...
>
> --
> 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