No handlers could be found for logger "djblets.extensions.manager" with latest version of ReviewBoard

115 views
Skip to first unread message

Mark Fullerton

unread,
Oct 15, 2019, 12:04:03 PM10/15/19
to Review Board Community
Hi 
I ran into this issue not finding any loggers for : "djblets.extensions.manager" 
I  installed the latest review board and am running into this error that was previously fixed. I followed the documentation at:
https://www.reviewboard.org/docs/manual/3.0/admin/installation/linux/

  I ran into a version compatibility  issue with 

ERROR: asana 0.9.1 has requirement six==1.*,>=1.10, but you'll have six 1.9.0 which is incompatible. and was able to fix it with:

pip install -U asana

Installing collected packages: six

  Found existing installation: six 1.9.0

    Uninstalling six-1.9.0:

      Successfully uninstalled six-1.9.0

Successfully installed six-1.12.0


Any ideas what I might have done wrong? Should I not upgrade asana?


Thanks


markf


Christian Hammond

unread,
Oct 15, 2019, 5:34:29 PM10/15/19
to revie...@googlegroups.com
Hi Mark,

Can you show me the conditions under which you see that error? Is it while Review Board is running, or when you run something on the command line?

We don't depend on any specific version of six ourselves (we use Django's bundled version), so I don't know what asana is conflicting with.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/b7ba6e2a-f811-4c5e-a1ff-863ca603539c%40googlegroups.com.


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

Mark Fullerton

unread,
Oct 16, 2019, 1:31:08 PM10/16/19
to Review Board Community
Hi Christian

I get the dependancy error when installing reviewboard

sudo pip install review board

 Stored in directory: /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511

Successfully built django-cors-headers mimeparse django-oauth-toolkit PyYAML oauthlib publicsuffix feedparser pillowfight pycparser

ERROR: asana 0.9.1 has requirement six==1.*,>=1.10, but you'll have six 1.9.0 which is incompatible.

Installing collected packages: Whoosh, python-memcached, django-cors-headers, enum34, asn1crypto, pycparser, cffi, cryptography, pynacl, bcrypt, paramiko, Django, chardet, idna, urllib3, certifi, requests, oauthlib, requests-oauthlib, asana, PyYAML, rbintegrations, markdown, pymdown-extensions, docutils, mimeparse, django-braces, django-oauth-toolkit, django-haystack, python-dateutil, Pygments, django-evolution, django-pipeline, publicsuffix, feedparser, Pillow, pillowfight, dnspython, Djblets, django-multiselectfield, ReviewBoard

  Found existing installation: chardet 2.2.1

    Uninstalling chardet-2.2.1:

      Successfully uninstalled chardet-2.2.1

Successfully installed Django-1.6.11 Djblets-1.0.12 Pillow-6.2.0 PyYAML-5.1.2 Pygments-2.4.2 ReviewBoard-3.0.15 Whoosh-2.7.4 asana-0.9.1 asn1crypto-1.2.0 bcrypt-3.1.7 certifi-2019.9.11 cffi-1.13.0 chardet-3.0.4 cryptography-2.7 django-braces-1.13.0 django-cors-headers-1.1.0 django-evolution-0.7.8 django-haystack-2.4.1 django-multiselectfield-0.1.9 django-oauth-toolkit-0.9.0 django-pipeline-1.6.14 dnspython-1.16.0 docutils-0.15.2 enum34-1.1.6 feedparser-5.2.1 idna-2.8 markdown-2.6.11 mimeparse-0.1.3 oauthlib-1.0.1 paramiko-2.6.0 pillowfight-0.3 publicsuffix-1.1.0 pycparser-2.19 pymdown-extensions-3.5 pynacl-1.3.0 python-dateutil-2.8.0 python-memcached-1.59 rbintegrations-1.0 requests-2.22.0 requests-oauthlib-0.8.0 urllib3-1.25.6


The actual error occurs when I try to invoke review board from the browser and the error message is from httpd error_log
 [Wed Oct 16 17:27:45.787059 2019] [:error] [pid 27277] No handlers could be found for logger "djblets.extensions.manager"

I am using CentOS Linux release 7.7.1908 (Core) 
I hope that answers your question.

Thank you

mark

On Tuesday, October 15, 2019 at 5:34:29 PM UTC-4, Christian Hammond wrote:
Hi Mark,

Can you show me the conditions under which you see that error? Is it while Review Board is running, or when you run something on the command line?

We don't depend on any specific version of six ourselves (we use Django's bundled version), so I don't know what asana is conflicting with.

Christian

On Tue, Oct 15, 2019 at 9:04 AM Mark Fullerton <mark.m....@gmail.com> wrote:
Hi 
I ran into this issue not finding any loggers for : "djblets.extensions.manager" 
I  installed the latest review board and am running into this error that was previously fixed. I followed the documentation at:
https://www.reviewboard.org/docs/manual/3.0/admin/installation/linux/

  I ran into a version compatibility  issue with 

ERROR: asana 0.9.1 has requirement six==1.*,>=1.10, but you'll have six 1.9.0 which is incompatible. and was able to fix it with:

pip install -U asana

Installing collected packages: six

  Found existing installation: six 1.9.0

    Uninstalling six-1.9.0:

      Successfully uninstalled six-1.9.0

Successfully installed six-1.12.0


Any ideas what I might have done wrong? Should I not upgrade asana?


Thanks


markf


--
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 revie...@googlegroups.com.

Mark Fullerton

unread,
Oct 21, 2019, 11:46:19 AM10/21/19
to Review Board Community
Hi Christian
    Not upgrading pip gets around the asana issue this is pip version 8.1.2 vs. 19.3.1. Now after configuring the website I have an issue with   Target WSGI script '/var/www/reviews.example.com/htdocs/reviewboard.wsgi' cannot be loaded as Python module at the end of the errors  it indicated "NameError: name 'platform_system' is not defined."

Christian Hammond

unread,
Oct 23, 2019, 2:07:03 AM10/23/19
to revie...@googlegroups.com
Hi Mark,

Can you provide the full trace for that platform_system error? I'm not seeing a reference to that in any of our codebases.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/df8e0a49-0b4f-47a2-b5d4-08fb616b2a13%40googlegroups.com.

Mark Fullerton

unread,
Oct 23, 2019, 11:13:04 AM10/23/19
to Review Board Community
Here is the content of /etc/httpd/logs/error_log

[Wed Oct 23 11:00:54.847259 2019] [core:notice] [pid 14980] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Oct 23 11:00:54.849360 2019] [suexec:notice] [pid 14980] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.2.15. Set the 'ServerName' directive globally to suppress this message
[Wed Oct 23 11:00:54.863206 2019] [lbmethod_heartbeat:notice] [pid 14980] AH02282: No slotmem from mod_heartmonitor
[Wed Oct 23 11:00:54.866252 2019] [mpm_prefork:notice] [pid 14980] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Wed Oct 23 11:00:54.866291 2019] [core:notice] [pid 14980] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Oct 23 11:01:44.786925 2019] [:error] [pid 14985] [client 10.0.1.46:60922] mod_wsgi (pid=14985): Target WSGI script '/var/www/reviews.example.com/htdocs/reviewboard.wsgi' cannot be loaded as Python module.
[Wed Oct 23 11:01:44.786965 2019] [:error] [pid 14985] [client 10.0.1.46:60922] mod_wsgi (pid=14985): Exception occurred processing WSGI script '/var/www/reviews.example.com/htdocs/reviewboard.wsgi'.
[Wed Oct 23 11:01:44.786992 2019] [:error] [pid 14985] [client 10.0.1.46:60922] Traceback (most recent call last):
[Wed Oct 23 11:01:44.787011 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/var/www/reviews.example.com/htdocs/reviewboard.wsgi", line 3, in <module>
[Wed Oct 23 11:01:44.787092 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     import pkg_resources
[Wed Oct 23 11:01:44.787101 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
[Wed Oct 23 11:01:44.788979 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     working_set.require(__requires__)
[Wed Oct 23 11:01:44.789018 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
[Wed Oct 23 11:01:44.789052 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     needed = self.resolve(parse_requirements(requirements))
[Wed Oct 23 11:01:44.789059 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve
[Wed Oct 23 11:01:44.789070 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     requirements.extend(dist.requires(req.extras)[::-1])
[Wed Oct 23 11:01:44.789080 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2489, in requires
[Wed Oct 23 11:01:44.789089 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     dm = self._dep_map
[Wed Oct 23 11:01:44.789095 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2700, in _dep_map
[Wed Oct 23 11:01:44.789104 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     self.__dep_map = self._compute_dependencies()
[Wed Oct 23 11:01:44.789109 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2733, in _compute_dependencies
[Wed Oct 23 11:01:44.789117 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     common = frozenset(reqs_for_extra(None))
[Wed Oct 23 11:01:44.789122 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2730, in reqs_for_extra
[Wed Oct 23 11:01:44.789130 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     if req.marker_fn(override={'extra':extra}):
[Wed Oct 23 11:01:44.789136 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "/usr/lib/python2.7/site-packages/_markerlib/markers.py", line 113, in marker_fn
[Wed Oct 23 11:01:44.790117 2019] [:error] [pid 14985] [client 10.0.1.46:60922]     return eval(compiled_marker, environment)
[Wed Oct 23 11:01:44.790145 2019] [:error] [pid 14985] [client 10.0.1.46:60922]   File "<environment marker>", line 1, in <module>
[Wed Oct 23 11:01:44.790178 2019] [:error] [pid 14985] [client 10.0.1.46:60922] NameError: name 'platform_system' is not defined

On Wednesday, October 23, 2019 at 2:07:03 AM UTC-4, Christian Hammond wrote:
Hi Mark,

Can you provide the full trace for that platform_system error? I'm not seeing a reference to that in any of our codebases.

Christian

To unsubscribe from this group and stop receiving emails from it, send an email to revie...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages