Re: Review Board is taking a nap After install

2018-10-14 Thread Adriano Gonçalves
Hi Christian,
Thank you for you answer. I'm using Ubuntu Server. Is this setuptools a
dpkg package?

Adriano

Em sáb, 13 de out de 2018 às 20:04, Christian Hammond <
christ...@beanbaginc.com> escreveu:

> Hi Adriano,
>
> This is due to a very old version of the setuptools package being
> installed on your distro. It’s too old to understand some modern Python
> packaging conventions. You’ll need to upgrade it.
>
> Which distro are you running?
>
> Christian
>
>
> On Fri, Oct 12, 2018 at 15:30 Adriano Gonçalves 
> wrote:
>
>> Hi,
>> I have an error in my new ReviewBoard installation. Everytime I try to
>> access it, I see a "Review Board is taking a nap" message. The Apache's
>> error.log shows these errors:
>>
>> [Fri Oct 12 18:40:13.230990 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] mod_wsgi (pid=2658): Target WSGI script 
>> '/var/www/reviewboard/htdocs/reviewboard.wsgi' cannot be loaded as Python 
>> module., referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231075 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] mod_wsgi (pid=2658): Exception occurred processing 
>> WSGI script '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231108 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] Traceback (most recent call last):, referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231155 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File "/var/www/reviewboard/htdocs/reviewboard.wsgi", 
>> line 3, in , referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231200 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] import pkg_resources, referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231221 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in , 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231254 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] working_set = WorkingSet._build_master(), referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231274 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in 
>> _build_master, referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231306 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] ws.require(__requires__), referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.231368 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require, 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.247835 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] needed = 
>> self.resolve(parse_requirements(requirements)), referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.247901 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve, 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.247974 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] 
>> requirements.extend(dist.requires(req.extras)[::-1]), referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248015 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in requires, 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248080 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] dm = self._dep_map, referer: 
>> http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248119 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in _dep_map, 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248183 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] self.__dep_map = self._compute_dependencies(), 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248222 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2508, in 
>> _compute_dependencies, referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248286 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] parsed = next(parse_requirements(distvers)), 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248325 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 45, in , 
>> referer: http://reviewboard.macae.ufrj.br/
>> [Fri Oct 12 18:40:13.248387 2018] [:error] [pid 2658] [client 
>> 186.192.51.154:59637] next = lambda o: 

Re: Review Board is taking a nap After install

2018-10-13 Thread Christian Hammond
Hi Adriano,

This is due to a very old version of the setuptools package being installed
on your distro. It’s too old to understand some modern Python packaging
conventions. You’ll need to upgrade it.

Which distro are you running?

Christian


On Fri, Oct 12, 2018 at 15:30 Adriano Gonçalves 
wrote:

> Hi,
> I have an error in my new ReviewBoard installation. Everytime I try to
> access it, I see a "Review Board is taking a nap" message. The Apache's
> error.log shows these errors:
>
> [Fri Oct 12 18:40:13.230990 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] mod_wsgi (pid=2658): Target WSGI script 
> '/var/www/reviewboard/htdocs/reviewboard.wsgi' cannot be loaded as Python 
> module., referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231075 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] mod_wsgi (pid=2658): Exception occurred processing WSGI 
> script '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231108 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] Traceback (most recent call last):, referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231155 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File "/var/www/reviewboard/htdocs/reviewboard.wsgi", 
> line 3, in , referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231200 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] import pkg_resources, referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231221 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in , 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231254 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] working_set = WorkingSet._build_master(), referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231274 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in 
> _build_master, referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231306 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] ws.require(__requires__), referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.231368 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require, 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.247835 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] needed = 
> self.resolve(parse_requirements(requirements)), referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.247901 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve, 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.247974 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] 
> requirements.extend(dist.requires(req.extras)[::-1]), referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248015 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in requires, 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248080 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] dm = self._dep_map, referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248119 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in _dep_map, 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248183 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] self.__dep_map = self._compute_dependencies(), 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248222 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2508, in 
> _compute_dependencies, referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248286 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] parsed = next(parse_requirements(distvers)), 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248325 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 45, in , 
> referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248387 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637] next = lambda o: o.next(), referer: 
> http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 18:40:13.248426 2018] [:error] [pid 2658] [client 
> 186.192.51.154:59637]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, in 
> parse_requirements, referer: http://reviewboard.macae.ufrj.br/
> [Fri Oct 12 

Re: "Review Board is taking a nap" after update

2016-07-22 Thread Christian Hammond
You say you're using yum only, but Review Board was installed via
easy_install. You shouldn't ever mix yum and easy_install/pip. You either
want to exclusively use the Review Board RPMs, or use only easy_install/pip
for Review Board and its dependencies (and not RPMs).

This may be SELinux-related. You can temporarily turn it off to check, but
that's less secure. The RPMs, I believe, ship with rules that will enable
Review Board to work with SELinux turned on. Python builds do not.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Fri, Jul 22, 2016 at 1:15 AM, julien gdt  wrote:

> News:
>
> I reboot the VM and now i got the "Manual server updates required"
> web-page for:
>
>- Data directory changes
>- Extensions static media directory changes
>
>
> I changed permissions, restart the web server and always got this page.
>
> Nothing noticeable on error_log access_log for httpd, nothing new
> on review board log
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Re: "Review Board is taking a nap" after update

2016-07-22 Thread julien gdt
News:

I reboot the VM and now i got the "Manual server updates required" web-page 
for:

   - Data directory changes
   - Extensions static media directory changes


I changed permissions, restart the web server and always got this page.

Nothing noticeable on error_log access_log for httpd, nothing new on review 
board log

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Re: "Review Board is taking a nap" after update

2016-07-22 Thread julien gdt
Hi Christian,

Here is the output:

/usr/lib/python2.7/site-packages/mimeparse.py

/usr/lib/python2.7/site-packages/mimeparse.pyc

/usr/lib/python2.7/site-packages/mimeparse.pyo

/usr/lib/python2.7/site-packages/python_mimeparse-0.1.4-py2.7.egg-info

/usr/share/doc/python-mimeparse-0.1.4

/usr/share/doc/python-mimeparse-0.1.4/README


And Yes always Yum only.


Thanks for your help

Le jeudi 21 juillet 2016 22:42:03 UTC+2, Christian Hammond a écrit :
>
> Hi,
>
> Can you show the results of:
>
> rpm -ql python-mimeparse
>
> Was Review Board ever installed via yum?
>
> Christian
>  
>
> On Thursday, July 21, 2016, julien gdt  
> wrote:
>
>> Here is my err log from HTTPD:
>>
>> [root@git-jenkins httpd]# tail -f error_log
>>
>> [Thu Jul 21 11:58:51.972655 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] Traceback (most recent call last):, referer: 
>> http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.972724 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640]   File 
>> "/var/www/reviewboard/htdocs/reviewboard.wsgi", line 3, in , 
>> referer: http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.972875 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] import pkg_resources, referer: 
>> http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.972910 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640]   File 
>> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in 
>> , referer: http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.974748 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] working_set.require(__requires__), referer: 
>> http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.974823 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640]   File 
>> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require, 
>> referer: http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.974939 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] needed = 
>> self.resolve(parse_requirements(requirements)), referer: 
>> http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.974987 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640]   File 
>> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve, 
>> referer: http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.975348 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] raise DistributionNotFound(req), referer: 
>> http://git-jenkins/reviewboard/
>>
>> [Thu Jul 21 11:58:51.975553 2016] [:error] [pid 9309] [client 
>> 172.17.17.126:56640] DistributionNotFound: mimeparse>=0.1.3, referer: 
>> http://git-jenkins/reviewboard/
>>
>>
>> Don't understand because mime parse is well installed:
>>
>> [root@git-jenkins httpd]# yum install python-mimeparse
>>
>> Modules complémentaires chargés : fastestmirror
>>
>> Loading mirror speeds from cached hostfile
>>
>>  * base: centos.mirror.ate.info
>>
>>  * epel: mirrors.coreix.net
>>
>>  * extras: ftp.ciril.fr
>>
>>  * updates: miroir.univ-paris13.fr
>>
>> Le paquet python-mimeparse-0.1.4-2.el7.noarch est déjà installé dans sa 
>> dernière version
>>
>> Rien à faire
>>
>>
>>
>>
>>
>>
>>
>> Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit :
>>>
>>> Hello everyone, 
>>>
>>> My team and myself are using review board.
>>> When i tried to do an update, it blocks our instance and telling us "i'm 
>>> taking a nap".
>>>
>>> This is ALL i did:
>>>
>>> $ sudo systemctl stop httpd.service
>>>
>>> $ sudo easy_install -U ReviewBoard
>>>
>>> $ rb-site upgrade --all-sites #there is only one site in fact
>>>
>>> $  sudo systemctl start httpd.service
>>>
>>>
>>> When i saw this, i decided to check logs:
>>>
>>> [jgoudet@git-jenkins ~]$ tail -f 
>>> /var/www/reviewboard/logs/reviewboard.log
>>>
>>> 2016-07-19 15:55:05,095 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 15:57:03,844 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 15:59:32,659 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:00:05,954 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:02:05,070 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:05:05,570 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:10:06,029 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:15:05,473 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:20:05,366 - INFO -  - Reloading logging settings
>>>
>>> 2016-07-19 16:25:04,799 - INFO -  - Reloading logging settings
>>>
>>>
>>> No more informations, even after force log debug to true in 
>>> configuration + restart
>>>
>>>
>>>
>>> [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l
>>>
>>> *●* httpd.service - The Apache HTTP Server
>>>
>>>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; 
>>> vendor preset: disabled)
>>>
>>>  Drop-In: /usr/lib/systemd/system/httpd.service.d
>>>
>>>   └─reviewboard-sites.conf
>>>
>>>   Active: *active 

Re: "Review Board is taking a nap" after update

2016-07-21 Thread Christian Hammond
Hi,

Can you show the results of:

rpm -ql python-mimeparse

Was Review Board ever installed via yum?

Christian


On Thursday, July 21, 2016, julien gdt  wrote:

> Here is my err log from HTTPD:
>
> [root@git-jenkins httpd]# tail -f error_log
>
> [Thu Jul 21 11:58:51.972655 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] Traceback (most recent call last):, referer:
> http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.972724 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640]   File
> "/var/www/reviewboard/htdocs/reviewboard.wsgi", line 3, in ,
> referer: http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.972875 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] import pkg_resources, referer:
> http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.972910 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640]   File
> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in
> , referer: http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.974748 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] working_set.require(__requires__), referer:
> http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.974823 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640]   File
> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require,
> referer: http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.974939 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] needed =
> self.resolve(parse_requirements(requirements)), referer:
> http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.974987 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640]   File
> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve,
> referer: http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.975348 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] raise DistributionNotFound(req), referer:
> http://git-jenkins/reviewboard/
>
> [Thu Jul 21 11:58:51.975553 2016] [:error] [pid 9309] [client
> 172.17.17.126:56640] DistributionNotFound: mimeparse>=0.1.3, referer:
> http://git-jenkins/reviewboard/
>
>
> Don't understand because mime parse is well installed:
>
> [root@git-jenkins httpd]# yum install python-mimeparse
>
> Modules complémentaires chargés : fastestmirror
>
> Loading mirror speeds from cached hostfile
>
>  * base: centos.mirror.ate.info
>
>  * epel: mirrors.coreix.net
>
>  * extras: ftp.ciril.fr
>
>  * updates: miroir.univ-paris13.fr
>
> Le paquet python-mimeparse-0.1.4-2.el7.noarch est déjà installé dans sa
> dernière version
>
> Rien à faire
>
>
>
>
>
>
>
> Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit :
>>
>> Hello everyone,
>>
>> My team and myself are using review board.
>> When i tried to do an update, it blocks our instance and telling us "i'm
>> taking a nap".
>>
>> This is ALL i did:
>>
>> $ sudo systemctl stop httpd.service
>>
>> $ sudo easy_install -U ReviewBoard
>>
>> $ rb-site upgrade --all-sites #there is only one site in fact
>>
>> $  sudo systemctl start httpd.service
>>
>>
>> When i saw this, i decided to check logs:
>>
>> [jgoudet@git-jenkins ~]$ tail -f
>> /var/www/reviewboard/logs/reviewboard.log
>>
>> 2016-07-19 15:55:05,095 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 15:57:03,844 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 15:59:32,659 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:00:05,954 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:02:05,070 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:05:05,570 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:10:06,029 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:15:05,473 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:20:05,366 - INFO -  - Reloading logging settings
>>
>> 2016-07-19 16:25:04,799 - INFO -  - Reloading logging settings
>>
>>
>> No more informations, even after force log debug to true in configuration
>> + restart
>>
>>
>>
>> [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l
>>
>> *●* httpd.service - The Apache HTTP Server
>>
>>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled;
>> vendor preset: disabled)
>>
>>  Drop-In: /usr/lib/systemd/system/httpd.service.d
>>
>>   └─reviewboard-sites.conf
>>
>>   Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago
>>
>> Docs: man:httpd(8)
>>
>>   man:apachectl(8)
>>
>>  Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status
>> =0/SUCCESS)
>>
>>  Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites (code=
>> exited, status=0/SUCCESS)
>>
>> Main PID: 59461 (httpd)
>>
>>   Status: "Total requests: 218; Current requests/sec: 0.1; Current
>> traffic: 204 B/sec"
>>
>>   CGroup: /system.slice/httpd.service
>>
>>   ├─ 3338 /usr/sbin/httpd -DFOREGROUND
>>
>>   ├─59461 /usr/sbin/httpd -DFOREGROUND
>>
>>   ├─59463 /usr/sbin/httpd -DFOREGROUND
>>
>> 

Re: "Review Board is taking a nap" after update

2016-07-21 Thread julien gdt
Here is my err log from HTTPD:

[root@git-jenkins httpd]# tail -f error_log

[Thu Jul 21 11:58:51.972655 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] Traceback (most recent call last):, referer: 
http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.972724 2016] [:error] [pid 9309] [client 
172.17.17.126:56640]   File "/var/www/reviewboard/htdocs/reviewboard.wsgi", 
line 3, in , referer: http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.972875 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] import pkg_resources, referer: 
http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.972910 2016] [:error] [pid 9309] [client 
172.17.17.126:56640]   File 
"/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in 
, referer: http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.974748 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] working_set.require(__requires__), referer: 
http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.974823 2016] [:error] [pid 9309] [client 
172.17.17.126:56640]   File 
"/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require, 
referer: http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.974939 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] needed = 
self.resolve(parse_requirements(requirements)), referer: 
http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.974987 2016] [:error] [pid 9309] [client 
172.17.17.126:56640]   File 
"/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve, 
referer: http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.975348 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] raise DistributionNotFound(req), referer: 
http://git-jenkins/reviewboard/

[Thu Jul 21 11:58:51.975553 2016] [:error] [pid 9309] [client 
172.17.17.126:56640] DistributionNotFound: mimeparse>=0.1.3, referer: 
http://git-jenkins/reviewboard/


Don't understand because mime parse is well installed:

[root@git-jenkins httpd]# yum install python-mimeparse

Modules complémentaires chargés : fastestmirror

Loading mirror speeds from cached hostfile

 * base: centos.mirror.ate.info

 * epel: mirrors.coreix.net

 * extras: ftp.ciril.fr

 * updates: miroir.univ-paris13.fr

Le paquet python-mimeparse-0.1.4-2.el7.noarch est déjà installé dans sa 
dernière version

Rien à faire







Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit :
>
> Hello everyone, 
>
> My team and myself are using review board.
> When i tried to do an update, it blocks our instance and telling us "i'm 
> taking a nap".
>
> This is ALL i did:
>
> $ sudo systemctl stop httpd.service
>
> $ sudo easy_install -U ReviewBoard
>
> $ rb-site upgrade --all-sites #there is only one site in fact
>
> $  sudo systemctl start httpd.service
>
>
> When i saw this, i decided to check logs:
>
> [jgoudet@git-jenkins ~]$ tail -f /var/www/reviewboard/logs/reviewboard.log
>
> 2016-07-19 15:55:05,095 - INFO -  - Reloading logging settings
>
> 2016-07-19 15:57:03,844 - INFO -  - Reloading logging settings
>
> 2016-07-19 15:59:32,659 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:00:05,954 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:02:05,070 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:05:05,570 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:10:06,029 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:15:05,473 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:20:05,366 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:25:04,799 - INFO -  - Reloading logging settings
>
>
> No more informations, even after force log debug to true in configuration 
> + restart
>
>
>
> [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l
>
> *●* httpd.service - The Apache HTTP Server
>
>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor 
> preset: disabled)
>
>  Drop-In: /usr/lib/systemd/system/httpd.service.d
>
>   └─reviewboard-sites.conf
>
>   Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago
>
> Docs: man:httpd(8)
>
>   man:apachectl(8)
>
>  Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=
> 0/SUCCESS)
>
>  Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites (code=
> exited, status=0/SUCCESS)
>
> Main PID: 59461 (httpd)
>
>   Status: "Total requests: 218; Current requests/sec: 0.1; Current 
> traffic: 204 B/sec"
>
>   CGroup: /system.slice/httpd.service
>
>   ├─ 3338 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59461 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59463 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59464 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59465 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59466 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59467 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59469 /usr/sbin/httpd -DFOREGROUND
>
>   ├─61187 /usr/sbin/httpd -DFOREGROUND
>
>   ├─61188 /usr/sbin/httpd -DFOREGROUND
>
>   └─61189 

Re: "Review Board is taking a nap" after update

2016-07-21 Thread julien gdt
Better typo, sorry

Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit :
>
> Hello everyone, 
>
> My team and myself are using review board.
> When i tried to do an update, it blocks our instance and telling us "i'm 
> taking a nap".
>
> This is ALL i did:
>
> $ sudo systemctl stop httpd.service
>
> $ sudo easy_install -U ReviewBoard
>
> $ rb-site upgrade --all-sites #there is only one site in fact
>
> $  sudo systemctl start httpd.service
>
>
> When i saw this, i decided to check logs:
>
> [jgoudet@git-jenkins ~]$ tail -f /var/www/reviewboard/logs/reviewboard.log
>
> 2016-07-19 15:55:05,095 - INFO -  - Reloading logging settings
>
> 2016-07-19 15:57:03,844 - INFO -  - Reloading logging settings
>
> 2016-07-19 15:59:32,659 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:00:05,954 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:02:05,070 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:05:05,570 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:10:06,029 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:15:05,473 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:20:05,366 - INFO -  - Reloading logging settings
>
> 2016-07-19 16:25:04,799 - INFO -  - Reloading logging settings
>
>
> No more informations, even after force log debug to true in configuration 
> + restart
>
>
>
> [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l
>
> *●* httpd.service - The Apache HTTP Server
>
>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor 
> preset: disabled)
>
>  Drop-In: /usr/lib/systemd/system/httpd.service.d
>
>   └─reviewboard-sites.conf
>
>   Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago
>
> Docs: man:httpd(8)
>
>   man:apachectl(8)
>
>  Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, 
> status=0/SUCCESS)
>
>  Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites 
> (code=exited, status=0/SUCCESS)
>
> Main PID: 59461 (httpd)
>
>   Status: "Total requests: 218; Current requests/sec: 0.1; Current 
> traffic: 204 B/sec"
>
>   CGroup: /system.slice/httpd.service
>
>   ├─ 3338 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59461 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59463 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59464 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59465 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59466 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59467 /usr/sbin/httpd -DFOREGROUND
>
>   ├─59469 /usr/sbin/httpd -DFOREGROUND
>
>   ├─61187 /usr/sbin/httpd -DFOREGROUND
>
>   ├─61188 /usr/sbin/httpd -DFOREGROUND
>
>   └─61189 /usr/sbin/httpd -DFOREGROUND
>
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: --  output> --
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Creating tables ...
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing custom SQL ...
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing indexes ...
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installed 0 object(s) from 0 
> fixture(s)
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: No evolution required.
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: ---  output> ---
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Resetting in-database caches.
>
> juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Upgrade complete!
>
> juil. 20 17:54:28 git-XXX.fr systemd[1]: Started The Apache HTTP Server.
>
>
> Any ideas about what's going on ? 
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Re: Review Board is taking a nap

2012-06-14 Thread Casey
The last thing that I needed to do was run easy_install --upgrade pycrypto 

On Saturday, March 31, 2012 4:30:44 AM UTC-6, muiz lee wrote:

 Dear all,
  
(OS Centos 6.2)
  
I install RB successfully but cannot lunch, when I open the home page, 
 got the folling error:
  
 Review Board is taking a nap
 There are several possible reasons:

- We're updating it.
- You're trying to look at a really huge diff without collapsing, and 
it timed out (try viewing another diff and going back to collapsed 
 changes; 
we're working on fixing this). 
- Our lazy good-for-nothing oompa-loompas stopped pedalling.

 It'll be back soon.
  
  I check the /var/log/httpd/error_log, and get the following log, how can 
 I resolve this problem?
  
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi 
 (pid=5392): Exception occurred processing WSGI script 
 '/var/www/rb/htdocs/reviewboard.wsgi'.
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback (most 
 recent call last):
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  
 line 250, in __call__
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] 
 self.load_middleware()
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  
 line 47, in load_middleware
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
 (mw_module, e))
 [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] 
 ImproperlyConfigured: Error importing middleware 
 reviewboard.admin.middleware: cannot import name OSRNG
 [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does not 
 exist: /var/www/rb/htdocs/media/rbcommons


 -- 
 Regards,
 *Muiz*




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

Re: Review Board is taking a nap

2012-05-23 Thread mark.har...@arcinnovations.co.nz
Additional information about installed components:

PostgreSQL v 9.1
Patch v 2.5.9-7
Python v 2.7
PIL v 1.1.7
Psycopg2 v 2.4.5
Pycrypto v 2.1.0
PySVN v 1.7.6-1457
Setuptools v 0.6c11
Slik subversion v 1.7.4

Pycrypto v 2.3 was removed and 2.1 subsequently installed as the
former was causing errors.

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


Re: Review Board is taking a nap

2012-05-23 Thread Christian Hammond
Hi Mark,

This is one of those really annoying and confusing Windows issues that I have 
no answer to. Hopefully someone else on this list does.

However, I *strongly* recommend ditching the Windows install and instead 
installing on Linux (Ubuntu or Fedora), either on a physical box or in a VM. 
You'll have an easier experience, fewer problems, better performance, and 
guaranteed compatibility with future features and releases (which we're not 
guaranteeing for Windows).

Christian



On May 23, 2012, at 20:11, mark.har...@arcinnovations.co.nz 
mark.har...@arcinnovations.co.nz wrote:

 I get the above error when I try and access a recently installed
 version of ReviewBoard.
 
 I am running Windows 7, Apache httpd server v 2.2.22, ReviewBoard v
 1.6. Everything is 32-bit as I was experiencing real problems when
 using 64-bit versions of the installed components.
 
 Looking at the access.log file, it seems like there is an error
 occurring somewhere:
 
 127.0.0.1 - - [24/May/2012:14:53:37 +1200] GET / HTTP/1.1 500 1540
 127.0.0.1 - - [24/May/2012:14:53:37 +1200] GET /favicon.ico HTTP/1.1
 404 209
 
 I have amended the server's httpd.conf file so that the LogLevel is
 set to debug. There are no errors raised when either the server starts
 up or I try and access ReviewBoard via a browser and get the taking a
 nap screen.
 
 I don't know whether it is related but the following errors appear
 when I shut down the server:
 
 [info] [client 127.0.0.1] mod_wsgi (pid=4684, process='',
 application='arc-review-board:8666|'): Loading WSGI script
 'directory/htdocs/reviewboard.wsgi'., referer: http://localhost:8666/
 [error] [client 127.0.0.1] mod_wsgi (pid=4684): Exception occurred
 processing WSGI script 'directory/htdocs/reviewboard.wsgi'.,
 referer: http://localhost:8666/
 [error] [client 127.0.0.1] Traceback (most recent call last):,
 referer: http://localhost:8666/
 [error] [client 127.0.0.1]   File Python directory\\lib\\site-
 packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\wsgi.py,
 line 250, in __call__, referer: http://localhost:8666/
 [error] [client 127.0.0.1] self.load_middleware(), referer:
 http://localhost:8666/
 [error] [client 127.0.0.1]   File Python directory\\lib\\site-
 packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\base.py,
 line 47, in load_middleware, referer: http://localhost:8666/
 [error] [client 127.0.0.1] raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s'
 % (mw_module, e)), referer: http://localhost:8666/
 [error] [client 127.0.0.1] ImproperlyConfigured: Error importing
 middleware reviewboard.admin.middleware: DLL load failed: A dynamic
 link library (DLL) initialization routine failed., referer:
 http://localhost:8666/
 
 I have also changed the the site's settings_local.py file to include
 the line DEBUG = True but no output is added to the logs directory.
 
 Thanks for any assistance.
 
 -- 
 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

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


Re: Review Board is taking a nap

2012-03-31 Thread Muiz
HI, David,

   I have installed pycrypto already use command easy_install pycrypto:

[root@localhost ~]# easy_install pycrypto
Searching for pycrypto
Best match: pycrypto 2.4
Adding pycrypto 2.4 to easy-install.pth file

Using /usr/lib64/python2.6/site-packages
Processing dependencies for pycrypto
Finished processing dependencies for pycrypto

On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge trowb...@gmail.com wrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and it
 timed
  out (try viewing another diff and going back to collapsed changes; we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log, how
 can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




-- 
Regards,
*Muiz*

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

Re: Review Board is taking a nap

2012-03-31 Thread Muiz
Dear all,

 I check the rb-site install log:

Unable to load SCMTool perforce =
reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
/usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
ImportWarning: Not importing directory
'/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
  from Crypto import Random

but i'm sure i have install pycrypto  already


On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home
 page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and it
 timed
  out (try viewing another diff and going back to collapsed changes; we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log, how
 can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
 (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




 --
 Regards,
 *Muiz*





-- 
Regards,
*Muiz*

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

Re: Review Board is taking a nap

2012-03-31 Thread Chris Tooley
If you used easy_install you probably need to adjust permissions on python
libraries in the /usr/lib/pythonxx directory tree. Look for missing
permissions for o.
On Mar 31, 2012 7:02 PM, Muiz work.m...@gmail.com wrote:

 Dear all,

  I check the rb-site install log:

 Unable to load SCMTool perforce =
 reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
 /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
 ImportWarning: Not importing directory
 '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
   from Crypto import Random

 but i'm sure i have install pycrypto  already


 On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home
 page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and it
 timed
  out (try viewing another diff and going back to collapsed changes;
 we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log, how
 can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
 (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




 --
 Regards,
 *Muiz*





 --
 Regards,
 *Muiz*


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

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

Re: Review Board is taking a nap

2012-03-31 Thread Muiz
Dear Chris,

  Which permission should I update?

  BTY, my linux is a 64 bit system.


On Sun, Apr 1, 2012 at 8:05 AM, Chris Tooley ch...@tooley.com wrote:

 If you used easy_install you probably need to adjust permissions on python
 libraries in the /usr/lib/pythonxx directory tree. Look for missing
 permissions for o.
 On Mar 31, 2012 7:02 PM, Muiz work.m...@gmail.com wrote:

 Dear all,

  I check the rb-site install log:

 Unable to load SCMTool perforce =
 reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
 /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
 ImportWarning: Not importing directory
 '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
   from Crypto import Random

 but i'm sure i have install pycrypto  already


 On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home
 page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and
 it timed
  out (try viewing another diff and going back to collapsed changes;
 we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log, how
 can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
 (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s: %s'
 %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does
 not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




 --
 Regards,
 *Muiz*





 --
 Regards,
 *Muiz*


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

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




-- 
Regards,
*Muiz*

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? 

Re: Review Board is taking a nap

2012-03-31 Thread Chris Tooley
The other permission group needs read and execute on directories and read
on files.
On Mar 31, 2012 7:32 PM, Muiz work.m...@gmail.com wrote:

 Dear Chris,

   Which permission should I update?

   BTY, my linux is a 64 bit system.


 On Sun, Apr 1, 2012 at 8:05 AM, Chris Tooley ch...@tooley.com wrote:

 If you used easy_install you probably need to adjust permissions on
 python libraries in the /usr/lib/pythonxx directory tree. Look for missing
 permissions for o.
  On Mar 31, 2012 7:02 PM, Muiz work.m...@gmail.com wrote:

 Dear all,

  I check the rb-site install log:

 Unable to load SCMTool perforce =
 reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
 /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
 ImportWarning: Not importing directory
 '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
   from Crypto import Random

 but i'm sure i have install pycrypto  already


 On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install
 pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home
 page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and
 it timed
  out (try viewing another diff and going back to collapsed changes;
 we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log,
 how can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
 (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s:
 %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does
 not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




 --
 Regards,
 *Muiz*





 --
 Regards,
 *Muiz*


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

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

Re: Review Board is taking a nap

2012-03-31 Thread Muiz
Dear Chris,

  It works when I update the ACL:  setfacl -R -m
o::rwx,d:o::rwx /usr/lib/python2.6/

  But the RB says:

Your site's data directory isn't properly set up. This directory is where
Review Board will store various state and configuration needed to access
repositories.

Your data directory is currently at: /var/www/rb/data
Permission problems

The data directory must be writable by the web server. On Linux/Unix/Mac,
you can fix this by typing:

$ sudo chown -R root /var/www/rb/data


 I have done this, but still shows this error.

 (I also run command: setfacl -R -m u:apache:rwx,d:u:apache:rwx
/var/www/rb/data to let apache read and write for this folder)


On Sun, Apr 1, 2012 at 8:35 AM, Chris Tooley ch...@tooley.com wrote:

 The other permission group needs read and execute on directories and
 read on files.
 On Mar 31, 2012 7:32 PM, Muiz work.m...@gmail.com wrote:

 Dear Chris,

   Which permission should I update?

   BTY, my linux is a 64 bit system.


 On Sun, Apr 1, 2012 at 8:05 AM, Chris Tooley ch...@tooley.com wrote:

 If you used easy_install you probably need to adjust permissions on
 python libraries in the /usr/lib/pythonxx directory tree. Look for missing
 permissions for o.
  On Mar 31, 2012 7:02 PM, Muiz work.m...@gmail.com wrote:

 Dear all,

  I check the rb-site install log:

 Unable to load SCMTool perforce =
 reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
 /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
 ImportWarning: Not importing directory
 '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
   from Crypto import Random

 but i'm sure i have install pycrypto  already


 On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install
 pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge 
 trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the home
 page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing, and
 it timed
  out (try viewing another diff and going back to collapsed changes;
 we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log,
 how can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
 (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s:
 %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does
 not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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




 --
 Regards,
 *Muiz*





 --
 Regards,
 *Muiz*


  --
 Want to 

Re: Review Board is taking a nap

2012-03-31 Thread Muiz
Dear All,

It's ok now after I restart the httpd. :)

Thanks very much!!!


On Sun, Apr 1, 2012 at 9:07 AM, Muiz work.m...@gmail.com wrote:

 Dear Chris,

   It works when I update the ACL:  setfacl -R -m
 o::rwx,d:o::rwx /usr/lib/python2.6/

   But the RB says:

 Your site's data directory isn't properly set up. This directory is where
 Review Board will store various state and configuration needed to access
 repositories.

 Your data directory is currently at: /var/www/rb/data
 Permission problems

 The data directory must be writable by the web server. On Linux/Unix/Mac,
 you can fix this by typing:

 $ sudo chown -R root /var/www/rb/data


  I have done this, but still shows this error.

  (I also run command: setfacl -R -m u:apache:rwx,d:u:apache:rwx 
 /var/www/rb/data to let apache read and write for this folder)


 On Sun, Apr 1, 2012 at 8:35 AM, Chris Tooley ch...@tooley.com wrote:

 The other permission group needs read and execute on directories and
 read on files.
  On Mar 31, 2012 7:32 PM, Muiz work.m...@gmail.com wrote:

 Dear Chris,

   Which permission should I update?

   BTY, my linux is a 64 bit system.


 On Sun, Apr 1, 2012 at 8:05 AM, Chris Tooley ch...@tooley.com wrote:

 If you used easy_install you probably need to adjust permissions on
 python libraries in the /usr/lib/pythonxx directory tree. Look for missing
 permissions for o.
  On Mar 31, 2012 7:02 PM, Muiz work.m...@gmail.com wrote:

 Dear all,

  I check the rb-site install log:

 Unable to load SCMTool perforce =
 reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
 /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
 ImportWarning: Not importing directory
 '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
   from Crypto import Random

 but i'm sure i have install pycrypto  already


 On Sun, Apr 1, 2012 at 7:33 AM, Muiz work.m...@gmail.com wrote:

 HI, David,

I have installed pycrypto already use command easy_install
 pycrypto:

 [root@localhost ~]# easy_install pycrypto
 Searching for pycrypto
 Best match: pycrypto 2.4
 Adding pycrypto 2.4 to easy-install.pth file

 Using /usr/lib64/python2.6/site-packages
 Processing dependencies for pycrypto
 Finished processing dependencies for pycrypto

 On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge 
 trowb...@gmail.comwrote:

 It sounds like pycrypto is not properly installed.

 -David



 On Sat, Mar 31, 2012 at 3:30 AM, Muiz work.m...@gmail.com wrote:
  Dear all,
 
 (OS Centos 6.2)
 
 I install RB successfully but cannot lunch, when I open the
 home page,
  got the folling error:
 
 
  Review Board is taking a nap
 
  There are several possible reasons:
 
  We're updating it.
  You're trying to look at a really huge diff without collapsing,
 and it timed
  out (try viewing another diff and going back to collapsed changes;
 we're
  working on fixing this).
  Our lazy good-for-nothing oompa-loompas stopped pedalling.
 
  It'll be back soon.
 
   I check the /var/log/httpd/error_log, and get the following log,
 how can I
  resolve this problem?
 
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
  (pid=5392): Exception occurred processing WSGI script
  '/var/www/rb/htdocs/reviewboard.wsgi'.
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
 Traceback (most
  recent call last):
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py,
  line 250, in __call__
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  self.load_middleware()
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
 
 /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py,
  line 47, in load_middleware
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] raise
  exceptions.ImproperlyConfigured('Error importing middleware %s:
 %s' %
  (mw_module, e))
  [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name OSRNG
  [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File
 does not
  exist: /var/www/rb/htdocs/media/rbcommons
 
 
  --
  Regards,
  Muiz
 
 
  --
  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

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

Re: Review Board is taking a nap

2011-11-04 Thread Kannaiyan Natesan
Help from #django irc channel helped to fix it.

Did the following, everything is backup.
After every restart if you go and see you will see the missing module.
Delete it and reinstall it. It will get it resolved.

rm -rf /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
pip install recaptcha-client
service httpd restart
tail /var/log/httpd/error_log
pip install pytz
rm -rf /usr/lib/python2.4/site-packages/pytz-2011h-py2.4.egg
pip install pytz
service httpd restart
tail /var/log/httpd/error_log
pip install paramiko
rm -rf /usr/lib/python2.4/site-packages/paramiko-1.7.7.1-py2.4.egg
pip install paramiko
service httpd restart
tail /var/log/httpd/error_log
pip install Crypto
easy_install Crypto
pip install pycrypto
rm -rf /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg
pip install pycrypto
service httpd restart

Hope it will be useful.


On Wed, Nov 2, 2011 at 1:34 PM, Kannaiyan Natesan gbpnk...@gmail.comwrote:

 Thanks Christian. Same issue still persists.
 Removed, installed recaptcha-client, restarted Apache and tried again.
 Is there a way to remove the recaptcha-client dependency? Since we are
 using it within the internal network.

 [root@BLCRMX0200 www]# rm -rf
 /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
 [root@BLCRMX0200 www]# easy_install recaptcha_client
 Searching for recaptcha-client
 Reading http://pypi.python.org/simple/recaptcha_client/
 Reading http://recaptcha.net
 Reading http://recaptcha.net/
 Best match: recaptcha-client 1.0.6
 Downloading
 http://pypi.python.org/packages/source/r/recaptcha-client/recaptcha-client-1.0.6.tar.gz#md5=74228180f7e1fb76c4d7089160b0d919
 Processing recaptcha-client-1.0.6.tar.gz
 Running recaptcha-client-1.0.6/setup.py -q bdist_egg --dist-dir
 /tmp/easy_install-JWEQw5/recaptcha-client-1.0.6/egg-dist-tmp-UNccjg
 zip_safe flag not set; analyzing archive contents...
 Adding recaptcha-client 1.0.6 to easy-install.pth file

 Installed /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
 Processing dependencies for recaptcha-client
 Finished processing dependencies for recaptcha-client
 [root@BLCRMX0200 www]# service httpd restart
 Stopping httpd:[  OK  ]
 Starting httpd: [  OK  ]
 [root@BLCRMX0200 www]# echo   /var/log/httpd/error_log
 [root@BLCRMX0200 www]# tail /var/log/httpd/error_log

 [root@BLCRMX0200 www]# tail /var/log/httpd/error_log

 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] mod_wsgi
 (pid=7689): Exception occurred processing WSGI script
 '/var/www/html/htdocs/reviewboard.wsgi'.
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] Traceback (most
 recent call last):
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
 /usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/wsgi.py,
 line 250, in __call__
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
 self.load_middleware()
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
 /usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/base.py,
 line 47, in load_middleware
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
 (mw_module, e))
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
 ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: No module named recaptcha.client



 On Wed, Nov 2, 2011 at 1:20 PM, Christian Hammond chip...@chipx86.comwrote:

 Hi,

 Unfortunately I have no idea why you're seeing that. Maybe try removing
 the installed recaptcha_client package and reinstall?

 You'll need to then restart Apache.

 Christian



 On Wednesday, November 2, 2011, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
  Even tried importing on command line,
 
  [root@BLCRMX0200 www]# python
  import Python 2.4.3 (#1, May  5 2011, 16:39:10)
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
  Type help, copyright, credits or license for more information.
  import recaptcha.client
 
 
  works fine.
 
  May someone please help what is missing?
 
  Thanks,
  Kannaiyan
 
  On Wed, Nov 2, 2011 at 12:16 PM, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
 
  when I see Apache error log,
 
  ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: No module named recaptcha.client
 
  I can see recaptcha.client is installed.
 
  [root@BLCRMX0200 www]# ls /usr/lib/python2.4/site-packages/
  atom
 easy_install.pyo
 pycrypto-2.3-py2.4-linux-x86_64.egg  setuptools-0.6c12dev_r88846-py2.4.egg
  Django-1.3.1-py2.4.egg
 elementtree
 Pygments-1.4-py2.4.egg   setuptools-0.6c5-py2.4.egg-info
  Django-1.3-py2.4.egg
 flup-1.0.3.dev_20110405-py2.4.egg
 python_dateutil-1.5-py2.4.eggsetuptools.pth
  django_evolution-0.6.4-py2.4.egg
 gdata
 python_memcached-1.47-py2.4.egg  site.py
  django_evolution-0.6.5-py2.4.egg
 iniparse
 

Re: Review Board is taking a nap

2011-11-04 Thread Christian Hammond
Hmm, trying to figure out how that's different from what was recommended
before and why it only worked now.

If this is breaking on every restart, there's something very wrong with
your server. That should never happen. Consider it a red flag and do some
investigating.

Christian


On Friday, November 4, 2011, Kannaiyan Natesan gbpnk...@gmail.com wrote:
 Help from #django irc channel helped to fix it.

 Did the following, everything is backup.
 After every restart if you go and see you will see the missing module.
Delete it and reinstall it. It will get it resolved.

 rm -rf /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
 pip install recaptcha-client
 service httpd restart
 tail /var/log/httpd/error_log
 pip install pytz
 rm -rf /usr/lib/python2.4/site-packages/pytz-2011h-py2.4.egg
 pip install pytz
 service httpd restart
 tail /var/log/httpd/error_log
 pip install paramiko
 rm -rf /usr/lib/python2.4/site-packages/paramiko-1.7.7.1-py2.4.egg
 pip install paramiko
 service httpd restart
 tail /var/log/httpd/error_log
 pip install Crypto
 easy_install Crypto
 pip install pycrypto
 rm -rf
/usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg
 pip install pycrypto
 service httpd restart

 Hope it will be useful.


 On Wed, Nov 2, 2011 at 1:34 PM, Kannaiyan Natesan gbpnk...@gmail.com
wrote:

 Thanks Christian. Same issue still persists.
 Removed, installed recaptcha-client, restarted Apache and tried again.
 Is there a way to remove the recaptcha-client dependency? Since we are
using it within the internal network.

 [root@BLCRMX0200 www]# rm -rf
/usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
 [root@BLCRMX0200 www]# easy_install recaptcha_client
 Searching for recaptcha-client
 Reading http://pypi.python.org/simple/recaptcha_client/
 Reading http://recaptcha.net
 Reading http://recaptcha.net/
 Best match: recaptcha-client 1.0.6
 Downloading
http://pypi.python.org/packages/source/r/recaptcha-client/recaptcha-client-1.0.6.tar.gz#md5=74228180f7e1fb76c4d7089160b0d919
 Processing recaptcha-client-1.0.6.tar.gz
 Running recaptcha-client-1.0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-JWEQw5/recaptcha-client-1.0.6/egg-dist-tmp-UNccjg
 zip_safe flag not set; analyzing archive contents...
 Adding recaptcha-client 1.0.6 to easy-install.pth file

 Installed
/usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
 Processing dependencies for recaptcha-client
 Finished processing dependencies for recaptcha-client
 [root@BLCRMX0200 www]# service httpd restart
 Stopping httpd:[  OK  ]
 Starting httpd: [  OK  ]
 [root@BLCRMX0200 www]# echo   /var/log/httpd/error_log
 [root@BLCRMX0200 www]# tail /var/log/httpd/error_log

 [root@BLCRMX0200 www]# tail /var/log/httpd/error_log

 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] mod_wsgi
(pid=7689): Exception occurred processing WSGI script
'/var/www/html/htdocs/reviewboard.wsgi'.
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] Traceback (most
recent call last):
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/wsgi.py,
line 250, in __call__
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
self.load_middleware()
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/base.py,
line 47, in load_middleware
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] raise
exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
(mw_module, e))
 [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
ImproperlyConfigured: Error importing middleware
reviewboard.admin.middleware: No module named recaptcha.client


 On Wed, Nov 2, 2011 at 1:20 PM, Christian Hammond chip...@chipx86.com
wrote:

 Hi,

 Unfortunately I have no idea why you're seeing that. Maybe try removing
the installed recaptcha_client package and reinstall?

 You'll need to then restart Apache.

 Christian


 On Wednesday, November 2, 2011, Kannaiyan Natesan gbpnk...@gmail.com
wrote:
 Even tried importing on command line,

 [root@BLCRMX0200 www]# python
 import Python 2.4.3 (#1, May  5 2011, 16:39:10)
 [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
 Type help, copyright, credits or license for more information.
 import recaptcha.client


 works fine.

 May someone please help what is missing?

 Thanks,
 Kannaiyan

 On Wed, Nov 2, 2011 at 12:16 PM, Kannaiyan Natesan gbpnk...@gmail.com
wrote:

 when I see Apache error log,

 ImproperlyConfigured: Error importing middl

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

-- 
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/

Re: Review Board is taking a nap

2011-11-04 Thread Kannaiyan Natesan
Reinstalling with easy_install did not fix it.

One person from #django room recommened to use pip to get things done
correctly. I'm sure easy_install misses some of the entries that pip does.

Did, easy_install pip

and did all the reinstall with pip.

I did rebooted the machine now and checked it. It works fine even after
rebooting.

Thanks,
Kannaiyan

On Fri, Nov 4, 2011 at 12:12 PM, Christian Hammond chip...@chipx86.comwrote:

 Hmm, trying to figure out how that's different from what was recommended
 before and why it only worked now.

 If this is breaking on every restart, there's something very wrong with
 your server. That should never happen. Consider it a red flag and do some
 investigating.

 Christian



 On Friday, November 4, 2011, Kannaiyan Natesan gbpnk...@gmail.com wrote:
  Help from #django irc channel helped to fix it.
 
  Did the following, everything is backup.
  After every restart if you go and see you will see the missing module.
 Delete it and reinstall it. It will get it resolved.
 
  rm -rf /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
  pip install recaptcha-client
  service httpd restart
  tail /var/log/httpd/error_log
  pip install pytz
  rm -rf /usr/lib/python2.4/site-packages/pytz-2011h-py2.4.egg
  pip install pytz
  service httpd restart
  tail /var/log/httpd/error_log
  pip install paramiko
  rm -rf /usr/lib/python2.4/site-packages/paramiko-1.7.7.1-py2.4.egg
  pip install paramiko
  service httpd restart
  tail /var/log/httpd/error_log
  pip install Crypto
  easy_install Crypto
  pip install pycrypto
  rm -rf
 /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg
  pip install pycrypto
  service httpd restart
 
  Hope it will be useful.
 
 
  On Wed, Nov 2, 2011 at 1:34 PM, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
 
  Thanks Christian. Same issue still persists.
  Removed, installed recaptcha-client, restarted Apache and tried again.
  Is there a way to remove the recaptcha-client dependency? Since we are
 using it within the internal network.
 
  [root@BLCRMX0200 www]# rm -rf
 /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
  [root@BLCRMX0200 www]# easy_install recaptcha_client
  Searching for recaptcha-client
  Reading http://pypi.python.org/simple/recaptcha_client/
  Reading http://recaptcha.net
  Reading http://recaptcha.net/
  Best match: recaptcha-client 1.0.6
  Downloading
 http://pypi.python.org/packages/source/r/recaptcha-client/recaptcha-client-1.0.6.tar.gz#md5=74228180f7e1fb76c4d7089160b0d919
  Processing recaptcha-client-1.0.6.tar.gz
  Running recaptcha-client-1.0.6/setup.py -q bdist_egg --dist-dir
 /tmp/easy_install-JWEQw5/recaptcha-client-1.0.6/egg-dist-tmp-UNccjg
  zip_safe flag not set; analyzing archive contents...
  Adding recaptcha-client 1.0.6 to easy-install.pth file
 
  Installed
 /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
  Processing dependencies for recaptcha-client
  Finished processing dependencies for recaptcha-client
  [root@BLCRMX0200 www]# service httpd restart
  Stopping httpd:[  OK  ]
  Starting httpd: [  OK  ]
  [root@BLCRMX0200 www]# echo   /var/log/httpd/error_log
  [root@BLCRMX0200 www]# tail /var/log/httpd/error_log
 
  [root@BLCRMX0200 www]# tail /var/log/httpd/error_log
 
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] mod_wsgi
 (pid=7689): Exception occurred processing WSGI script
 '/var/www/html/htdocs/reviewboard.wsgi'.
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] Traceback (most
 recent call last):
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
 /usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/wsgi.py,
 line 250, in __call__
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
 self.load_middleware()
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
 /usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/base.py,
 line 47, in load_middleware
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
 (mw_module, e))
  [Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
 ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: No module named recaptcha.client
 
 
  On Wed, Nov 2, 2011 at 1:20 PM, Christian Hammond chip...@chipx86.com
 wrote:
 
  Hi,
 
  Unfortunately I have no idea why you're seeing that. Maybe try removing
 the installed recaptcha_client package and reinstall?
 
  You'll need to then restart Apache.
 
  Christian
 
 
  On Wednesday, November 2, 2011, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
  Even tried importing on command line,
 
  [root@BLCRMX0200 www]# python
  import Python 2.4.3 (#1, May  5 2011, 16:39:10)
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
  Type help, copyright, credits or license for more information.
  

Re: Review Board is taking a nap

2011-11-02 Thread Kannaiyan Natesan
Even tried importing on command line,

[root@BLCRMX0200 www]# python
import Python 2.4.3 (#1, May  5 2011, 16:39:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type help, copyright, credits or license for more information.
 import recaptcha.client


works fine.

May someone please help what is missing?

Thanks,
Kannaiyan

On Wed, Nov 2, 2011 at 12:16 PM, Kannaiyan Natesan gbpnk...@gmail.comwrote:

 when I see Apache error log,

 ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: No module named recaptcha.client

 I can see recaptcha.client is installed.

 [root@BLCRMX0200 www]# ls /usr/lib/python2.4/site-packages/
 atom
 easy_install.pyo
 pycrypto-2.3-py2.4-linux-x86_64.egg  setuptools-0.6c12dev_r88846-py2.4.egg
 Django-1.3.1-py2.4.egg
 elementtree
 Pygments-1.4-py2.4.egg   setuptools-0.6c5-py2.4.egg-info
 Django-1.3-py2.4.egg
 flup-1.0.3.dev_20110405-py2.4.egg
 python_dateutil-1.5-py2.4.eggsetuptools.pth
 django_evolution-0.6.4-py2.4.egg
 gdata
 python_memcached-1.47-py2.4.egg  site.py
 django_evolution-0.6.5-py2.4.egg
 iniparse
 pytz-2011h-py2.4.egg site.pyc
 Djblets-0.6.10-py2.4.egg
 mercurial-1.9.1-py2.4-linux-x86_64.egg
 recaptcha_client-1.0.6-py2.4.egg site.pyo
 Djblets-0.6.11-py2.4.egg
 MySQL_python-1.2.3-py2.4-linux-x86_64.egg
 ReviewBoard-1.5.5-py2.4.egg  sos
 Djblets-0.6.9-py2.4.egg
 paramiko-1.7.7.1-py2.4.egg
 ReviewBoard-1.5.6-py2.4.egg  urlgrabber
 dogtail
 PIL-1.1.7-py2.4-linux-x86_64.egg
 ReviewBoard-1.6.1-py2.4.egg  yum
 easy-install.pth
 pkg_resources.py   ReviewBoard-1.6-py2.4.egg
 easy_install.py
 pkg_resources.pyc  rpmUtils
 easy_install.pyc
 pkg_resources.pyo  setuptools


 Just made a reboot on a working machine. Something got missed out on
 reboot.

 Thanks,
 Kannaiyan

 --
 +1-650-605-3290
 The best things in life are free




-- 
+1-650-605-3290
The best things in life are free

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

Re: Review Board is taking a nap

2011-11-02 Thread Christian Hammond
Hi,

Unfortunately I have no idea why you're seeing that. Maybe try removing the
installed recaptcha_client package and reinstall?

You'll need to then restart Apache.

Christian


On Wednesday, November 2, 2011, Kannaiyan Natesan gbpnk...@gmail.com
wrote:
 Even tried importing on command line,

 [root@BLCRMX0200 www]# python
 import Python 2.4.3 (#1, May  5 2011, 16:39:10)
 [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
 Type help, copyright, credits or license for more information.
 import recaptcha.client


 works fine.

 May someone please help what is missing?

 Thanks,
 Kannaiyan

 On Wed, Nov 2, 2011 at 12:16 PM, Kannaiyan Natesan gbpnk...@gmail.com
wrote:

 when I see Apache error log,

 ImproperlyConfigured: Error importing middleware
reviewboard.admin.middleware: No module named recaptcha.client

 I can see recaptcha.client is installed.

 [root@BLCRMX0200 www]# ls /usr/lib/python2.4/site-packages/
 atom
easy_install.pyo
pycrypto-2.3-py2.4-linux-x86_64.egg  setuptools-0.6c12dev_r88846-py2.4.egg
 Django-1.3.1-py2.4.egg
elementtree
Pygments-1.4-py2.4.egg   setuptools-0.6c5-py2.4.egg-info
 Django-1.3-py2.4.egg
flup-1.0.3.dev_20110405-py2.4.egg
python_dateutil-1.5-py2.4.eggsetuptools.pth
 django_evolution-0.6.4-py2.4.egg
gdata
python_memcached-1.47-py2.4.egg  site.py
 django_evolution-0.6.5-py2.4.egg
iniparse
pytz-2011h-py2.4.egg site.pyc
 Djblets-0.6.10-py2.4.egg
mercurial-1.9.1-py2.4-linux-x86_64.egg
recaptcha_client-1.0.6-py2.4.egg site.pyo
 Djblets-0.6.11-py2.4.egg
MySQL_python-1.2.3-py2.4-linux-x86_64.egg
ReviewBoard-1.5.5-py2.4.egg  sos
 Djblets-0.6.9-py2.4.egg
paramiko-1.7.7.1-py2.4.egg
ReviewBoard-1.5.6-py2.4.egg  urlgrabber
 dogtail
PIL-1.1.7-py2.4-linux-x86_64.egg
ReviewBoard-1.6.1-py2.4.egg  yum
 easy-install.pth
pkg_resources.py   ReviewBoard-1.6-py2.4.egg
 easy_install.py
pkg_resources.pyc  rpmUtils
 easy_install.pyc
pkg_resources.pyo  setuptools


 Just made a reboot on a working machine. Something got missed out on
reboot.

 Thanks,
 Kannaiyan

 --
 +1-650-605-3290
 The best things in life are free




 --
 +1-650-605-3290
 The best things in life are free

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

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

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

Re: Review Board is taking a nap

2011-11-02 Thread Kannaiyan Natesan
Thanks Christian. Same issue still persists.
Removed, installed recaptcha-client, restarted Apache and tried again.
Is there a way to remove the recaptcha-client dependency? Since we are
using it within the internal network.

[root@BLCRMX0200 www]# rm -rf
/usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
[root@BLCRMX0200 www]# easy_install recaptcha_client
Searching for recaptcha-client
Reading http://pypi.python.org/simple/recaptcha_client/
Reading http://recaptcha.net
Reading http://recaptcha.net/
Best match: recaptcha-client 1.0.6
Downloading
http://pypi.python.org/packages/source/r/recaptcha-client/recaptcha-client-1.0.6.tar.gz#md5=74228180f7e1fb76c4d7089160b0d919
Processing recaptcha-client-1.0.6.tar.gz
Running recaptcha-client-1.0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-JWEQw5/recaptcha-client-1.0.6/egg-dist-tmp-UNccjg
zip_safe flag not set; analyzing archive contents...
Adding recaptcha-client 1.0.6 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/recaptcha_client-1.0.6-py2.4.egg
Processing dependencies for recaptcha-client
Finished processing dependencies for recaptcha-client
[root@BLCRMX0200 www]# service httpd restart
Stopping httpd:[  OK  ]
Starting httpd: [  OK  ]
[root@BLCRMX0200 www]# echo   /var/log/httpd/error_log
[root@BLCRMX0200 www]# tail /var/log/httpd/error_log

[root@BLCRMX0200 www]# tail /var/log/httpd/error_log

[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] mod_wsgi
(pid=7689): Exception occurred processing WSGI script
'/var/www/html/htdocs/reviewboard.wsgi'.
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] Traceback (most
recent call last):
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/wsgi.py,
line 250, in __call__
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
self.load_middleware()
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]   File
/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/core/handlers/base.py,
line 47, in load_middleware
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39] raise
exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
(mw_module, e))
[Wed Nov 02 12:31:29 2011] [error] [client 10.50.10.39]
ImproperlyConfigured: Error importing middleware
reviewboard.admin.middleware: No module named recaptcha.client


On Wed, Nov 2, 2011 at 1:20 PM, Christian Hammond chip...@chipx86.comwrote:

 Hi,

 Unfortunately I have no idea why you're seeing that. Maybe try removing
 the installed recaptcha_client package and reinstall?

 You'll need to then restart Apache.

 Christian



 On Wednesday, November 2, 2011, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
  Even tried importing on command line,
 
  [root@BLCRMX0200 www]# python
  import Python 2.4.3 (#1, May  5 2011, 16:39:10)
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
  Type help, copyright, credits or license for more information.
  import recaptcha.client
 
 
  works fine.
 
  May someone please help what is missing?
 
  Thanks,
  Kannaiyan
 
  On Wed, Nov 2, 2011 at 12:16 PM, Kannaiyan Natesan gbpnk...@gmail.com
 wrote:
 
  when I see Apache error log,
 
  ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: No module named recaptcha.client
 
  I can see recaptcha.client is installed.
 
  [root@BLCRMX0200 www]# ls /usr/lib/python2.4/site-packages/
  atom
 easy_install.pyo
 pycrypto-2.3-py2.4-linux-x86_64.egg  setuptools-0.6c12dev_r88846-py2.4.egg
  Django-1.3.1-py2.4.egg
 elementtree
 Pygments-1.4-py2.4.egg   setuptools-0.6c5-py2.4.egg-info
  Django-1.3-py2.4.egg
 flup-1.0.3.dev_20110405-py2.4.egg
 python_dateutil-1.5-py2.4.eggsetuptools.pth
  django_evolution-0.6.4-py2.4.egg
 gdata
 python_memcached-1.47-py2.4.egg  site.py
  django_evolution-0.6.5-py2.4.egg
 iniparse
 pytz-2011h-py2.4.egg site.pyc
  Djblets-0.6.10-py2.4.egg
 mercurial-1.9.1-py2.4-linux-x86_64.egg
 recaptcha_client-1.0.6-py2.4.egg site.pyo
  Djblets-0.6.11-py2.4.egg
 MySQL_python-1.2.3-py2.4-linux-x86_64.egg
 ReviewBoard-1.5.5-py2.4.egg  sos
  Djblets-0.6.9-py2.4.egg
 paramiko-1.7.7.1-py2.4.egg
 ReviewBoard-1.5.6-py2.4.egg  urlgrabber
  dogtail
 PIL-1.1.7-py2.4-linux-x86_64.egg
 ReviewBoard-1.6.1-py2.4.egg  yum
  easy-install.pth
 pkg_resources.py   ReviewBoard-1.6-py2.4.egg
  easy_install.py
 pkg_resources.pyc  rpmUtils
  easy_install.pyc
 pkg_resources.pyo  setuptools
 
 
  Just made a reboot on a working machine. Something got missed out on
 reboot.
 
  Thanks,
  Kannaiyan
 
  --
  +1-650-605-3290
  The best things in life are free
 
 
 
 
  --
  +1-650-605-3290
  The best things in life are free
 
  --
  Want to help the Review Board project? Donate today at
 

Re: Review Board is taking a nap

2010-12-14 Thread Christian Hammond
If you have DEBUG = True in the settings_local.py file, then you
should be getting a detailed backtrace instead of the Taking a Nap
page, as long as we're even getting the point of entering Review
Board's code.

Christian

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



On Tue, Dec 14, 2010 at 5:27 AM, Abitav Dubey abitav.du...@gmail.com wrote:
 With new installation on CentOs i am getting this error.

 I followed all the steps mentioned in installation steps, and all went
 fine without any error.
 Not sure whats wrong, also i tried to put DEBUG = True in conf file
 but still not getting the logs.

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

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


Re: Review Board is taking a nap after installation

2010-12-01 Thread Jan Koprowski
This looks like You don't have ReviewBoard in Your mod_wsgi's
python-path but I don't know why :|

On Wed, Dec 1, 2010 at 10:55 AM, T.O.AFN torsten.ockenf...@assfinet.de wrote:

 Hi,
 I just installed ReviewBoard to test it but I only get the site:
 Review Board is taking a nap...

 I followed the steps on
        http://www.reviewboard.org/docs/manual/1.5/admin/installation/windows/
 and
        http://www.reviewboard.org/docs/manual/1.5/admin/sites/creating-sites/
 (instead of mod_python or fastcgi I took mod_wsgi; testsite works)

 Everytime I start ReviewBoard, following errors appear in the Apache-
 log:

 [...] [error] [client ...] mod_wsgi (pid=5968): Exception occurred
 processing WSGI script 'C:/var/www/reviews.example.com/htdocs/
 reviewboard.wsgi'.
 [...] [error] [client ...] Traceback (most recent call last):
 [...] [error] [client ...]   File C:\\Python27\\lib\\site-packages\
 \django-1.2.3-py2.7.egg\\django\\core\\handlers\\wsgi.py, line 230,
 in __call__
 [...] [error] [client ...]     self.load_middleware()
 [...] [error] [client ...]   File C:\\Python27\\lib\\site-packages\
 \django-1.2.3-py2.7.egg\\django\\core\\handlers\\base.py, line 42, in
 load_middleware
 [...] [error] [client ...]     raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s'
 % (mw_module, e))
 [...] [error] [client ...] ImproperlyConfigured: Error importing
 middleware reviewboard.admin.middleware: DLL load failed: Das
 angegebene Modul wurde nicht gefunden.

 After that I have to restart Apache.

 I'm using / I've installed:
 ---
 - Windows Server 2008 R2 Standard x64 (VM)
 - Apache 2.2.17
 - Python 2.7
 - SQLite3
 - mod_wsgi
 - setuptools-0.6c11.win32-py2.7.exe
 - patch-2.5.9-7-setup.exe
 - memcached.exe
 - PIL-1.1.7.win32-py2.7.exe
 - pycrypto-2.1.0.win32-py2.7.exe
 - Setup-Subversion-1.6.12.msi
 - py27-pysvn-svn1612-1.7.4-1321.exe

 I hope anyone can help me with this problem.

 Thanks,
 T.O.

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


--
 Jan Koprowski

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


Re: Review Board is taking a nap after installation

2010-12-01 Thread Christian Hammond
The Python Path appears incorrect. Can you show me the location of
where the ReviewBoard egg is installed, and provide the Apache config
and reviewboard.wsgi file?

Also, where is Python itself installed?

Christian

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



On Wed, Dec 1, 2010 at 1:55 AM, T.O.AFN torsten.ockenf...@assfinet.de wrote:
 Hi,
 I just installed ReviewBoard to test it but I only get the site:
 Review Board is taking a nap...

 I followed the steps on
        http://www.reviewboard.org/docs/manual/1.5/admin/installation/windows/
 and
        http://www.reviewboard.org/docs/manual/1.5/admin/sites/creating-sites/
 (instead of mod_python or fastcgi I took mod_wsgi; testsite works)

 Everytime I start ReviewBoard, following errors appear in the Apache-
 log:

 [...] [error] [client ...] mod_wsgi (pid=5968): Exception occurred
 processing WSGI script 'C:/var/www/reviews.example.com/htdocs/
 reviewboard.wsgi'.
 [...] [error] [client ...] Traceback (most recent call last):
 [...] [error] [client ...]   File C:\\Python27\\lib\\site-packages\
 \django-1.2.3-py2.7.egg\\django\\core\\handlers\\wsgi.py, line 230,
 in __call__
 [...] [error] [client ...]     self.load_middleware()
 [...] [error] [client ...]   File C:\\Python27\\lib\\site-packages\
 \django-1.2.3-py2.7.egg\\django\\core\\handlers\\base.py, line 42, in
 load_middleware
 [...] [error] [client ...]     raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s'
 % (mw_module, e))
 [...] [error] [client ...] ImproperlyConfigured: Error importing
 middleware reviewboard.admin.middleware: DLL load failed: Das
 angegebene Modul wurde nicht gefunden.

 After that I have to restart Apache.

 I'm using / I've installed:
 ---
 - Windows Server 2008 R2 Standard x64 (VM)
 - Apache 2.2.17
 - Python 2.7
 - SQLite3
 - mod_wsgi
 - setuptools-0.6c11.win32-py2.7.exe
 - patch-2.5.9-7-setup.exe
 - memcached.exe
 - PIL-1.1.7.win32-py2.7.exe
 - pycrypto-2.1.0.win32-py2.7.exe
 - Setup-Subversion-1.6.12.msi
 - py27-pysvn-svn1612-1.7.4-1321.exe

 I hope anyone can help me with this problem.

 Thanks,
 T.O.

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

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


Re: Review Board is taking a nap

2010-05-04 Thread Christian Hammond
Hi,

This means there was a server error internally. Can you modify your site's
conf/settings_local.py to add:

DEBUG = True

Then restart the web server. You should see more detailed information, which
I can use to figure out what's happening.

Christian

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


On Tue, May 4, 2010 at 4:25 AM, Bharath Veera bharath.ve...@gmail.comwrote:

 Hi,

 I'm new to the group and just now started using ReviewBoard. I wanted
 to create one instance of ReviewBoard for my Lab in my organization.

 I've installed all dependencies  created reviewboard instance. But
 when i access in the webpage, it shows up Review Board is taking a
 nap. I'm using the following configuration:

 X86 Machine, RHEL5-U4 server edition.

 It would be great if anyone can help me in resolving this issue.

 Thanks,
 Bharath Veera

 --
 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.comreviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

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