Review Board is taking a nap After install

48 views
Skip to first unread message

Adriano Gonçalves

unread,
Oct 12, 2018, 6:30:45 PM10/12/18
to Review Board Community
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 <module>, 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 <module>, 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 <lambda>, 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 18:40:13.248510 2018] [:error] [pid 2658] [client 186.192.51.154:59637]     line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec"), referer: http://reviewboard.macae.ufrj.br/
[Fri Oct 12 18:40:13.248552 2018] [:error] [pid 2658] [client 186.192.51.154:59637]   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2583, in scan_list, referer: http://reviewboard.macae.ufrj.br/
[Fri Oct 12 18:40:13.248639 2018] [:error] [pid 2658] [client 186.192.51.154:59637]     "Expected ',' or end-of-list in",line,"at",line[p:], referer: http://reviewboard.macae.ufrj.br/
[Fri Oct 12 18:40:13.248734 2018] [:error] [pid 2658] [client 186.192.51.154:59637] ValueError: ("Expected ',' or end-of-list in", 'requests ==2.*,>=2.14', 'at', '*,>=2.14'), referer: http://reviewboard.macae.ufrj.br/

What can it be?

Thanks in advance,

Adriano Gonçalves

Christian Hammond

unread,
Oct 13, 2018, 7:04:11 PM10/13/18
to revie...@googlegroups.com
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


--
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 "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Adriano Gonçalves

unread,
Oct 14, 2018, 8:55:13 AM10/14/18
to revie...@googlegroups.com
Hi Christian,
Thank you for you answer. I'm using Ubuntu Server. Is this setuptools a dpkg package?

Adriano

You received this message because you are subscribed to a topic in the Google Groups "Review Board Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/xeYDuICNxkc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Adriano de Oliveira Gonçalves
Programador / Analista
con...@adrianoweb.com.br
Reply all
Reply to author
Forward
0 new messages