Hi David,
After installing power reviewboard stopped working i deleted site and
creating again throwing issue.. i am restarting the httpd throwing error..
rb-site install /var/www/reviews.tilte.com
Traceback (most recent call last):
File "/bin/rb-site", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3088, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
576, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
589, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 2.7
(/usr/lib/python2.7/site-packages), Requirement.parse('idna<2.7,>=2.5'),
set(['requests']))
systemctl status httpd.service
\u25cf httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
\u2514\u2500reviewboard-sites.conf
Active: failed (Result: exit-code) since Tue 2018-06-12 15:20:42 IST;
2min 34s ago
Process: 892 ExecStartPre=/usr/bin/rb-site upgrade --all-sites
(code=exited, status=1/FAILURE)
Main PID: 15922 (code=exited, status=0/SUCCESS)
Jun 12 15:20:42 localhost.localdomain rb-site[892]: f(*args, **kwargs)
Jun 12 15:20:42 localhost.localdomain rb-site[892]: File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3101, in
_initialize_master_working_set
Jun 12 15:20:42 localhost.localdomain rb-site[892]: working_set =
WorkingSet._build_master()
Jun 12 15:20:42 localhost.localdomain rb-site[892]: File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in
_build_master
Jun 12 15:20:42 localhost.localdomain rb-site[892]: return
cls._build_from_requirements(__requires__)
Jun 12 15:20:42 localhost.localdomain rb-site[892]: File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in
_build_from_requirements
Jun 12 15:20:42 localhost.localdomain rb-site[892]: dists =
ws.resolve(reqs, Environment())
Jun 12 15:20:42 localhost.localdomain rb-site[892]: File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 783, in
resolve
Jun 12 15:20:42 localhost.localdomain rb-site[892]: raise
VersionConflict(dist, req).with_context(dependent_req)
Jun 12 15:20:42 localhost.localdomain rb-site[892]:
pkg_resources.ContextualVersionConflict: (idna 2.7
(/usr/lib/python2.7/site-packages), Requirement.parse('idna<2.7,>=2.5')
Apache error:
[Tue Jun 12 13:27:56.152595 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] mod_wsgi (pid=6222): Target WSGI script
'/var/www/reviews.tilte.com/htdocs/reviewboard.wsgi' cannot be loaded as
Python module.
[Tue Jun 12 13:27:56.163502 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] mod_wsgi (pid=6222): Exception occurred processing
WSGI script '/var/www/reviews.tilte.com/htdocs/reviewboard.wsgi'.
[Tue Jun 12 13:27:56.163537 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] Traceback (most recent call last):
[Tue Jun 12 13:27:56.163559 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/var/www/reviews.tilte.com/htdocs/reviewboard.wsgi", line 3, in <module>
[Tue Jun 12 13:27:56.163635 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] import pkg_resources
[Tue Jun 12 13:27:56.163649 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3088, in
<module>
[Tue Jun 12 13:27:56.175717 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] @_call_aside
[Tue Jun 12 13:27:56.175735 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3072, in
_call_aside
[Tue Jun 12 13:27:56.175755 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] f(*args, **kwargs)
[Tue Jun 12 13:27:56.175772 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3101, in
_initialize_master_working_set
[Tue Jun 12 13:27:56.175785 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] working_set = WorkingSet._build_master()
[Tue Jun 12 13:27:56.175794 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in
_build_master
[Tue Jun 12 13:27:56.175806 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] return cls._build_from_requirements(__requires__)
[Tue Jun 12 13:27:56.175814 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in
_build_from_requirements
[Tue Jun 12 13:27:56.175827 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] dists = ws.resolve(reqs, Environment())
[Tue Jun 12 13:27:56.175836 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 783, in
resolve
[Tue Jun 12 13:27:56.175848 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] raise VersionConflict(dist,
req).with_context(dependent_req)
[Tue Jun 12 13:27:56.175907 2018] [wsgi:error] [pid 6222] [client
10.204.233.43:62082] ContextualVersionConflict: (idna 2.7
(/usr/lib/python2.7/site-packages), Requirement.parse('idna<2.7,>=2.5'),
set(['requests']))
[Tue Jun 12 13:28:56.692044 2018] [wsgi:error] [pid 8073] [client
10.204.233.43:62084] mod_wsgi (pid=8073): Target WSGI script
'/var/www/reviews.tilte.com/htdocs/reviewboard.wsgi' cannot be loaded as
Python module.
[Tue Jun 12 13:28:56.692082 2018] [wsgi:error] [pid 8073] [client
10.204.233.43:62084] mod_wsgi (pid=8073): Exception occurred processing
WSGI script '/var/www/reviews.tilte.com/htdocs/reviewboard.wsgi'.
"error_log" 72L, 10608C
please suggest how to overcome this issue.
Thanks & Regards,
Lokesh
On Monday, 11 June 2018 12:29:57 UTC+5:30, David Trowbridge wrote:
>
> The error is listed in your output:
>
> ImproperlyConfigured: Error importing SCM Tool rbpowerpack.scmtools.tfs:
> "No module named rbpowerpack.scmtools.tfs"
>
> In this case, it looks like you had Power Pack installed (and was in use)
> on the old server, but it's not installed on the new one.
>
> -David
>
> On Sun, Jun 10, 2018 at 11:56 PM Lokesh Rajoria <[email protected]
> <javascript:>> wrote:
>
>> HI Christian,
>>
>> Any update on above error "ERROR:djblets.log.middleware:Exception thrown
>> for user admin_rb at
>> http://10.203.252.54/admin/db/scmtools/repository/add/"
>>
>> Thanks & Regards,
>> Lokesh
>>
>> --
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.