Reviewboard migration issue

2021-03-24 Thread Raghuveer Mudiraj
Hi,

Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0 
and the version of Reviewboard is 2.5.17.

While making the reviewboard up, I am seeing the following errors:

-

[Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] mod_wsgi (pid=19682): Exception occurred 
processing WSGI script '/var/www/rboard/htdocs/reviewboard.wsgi'.
[Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] Traceback (most recent call last):
[Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, 
in __call__
[Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] self.load_middleware()
[Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, 
in load_middleware
[Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] mw_class = import_by_path(middleware_path)
[Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, 
in import_by_path
[Wed Mar 24 14:48:57.639260 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] sys.exc_info()[2])
[Wed Mar 24 14:48:57.639268 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, 
in import_by_path
[Wed Mar 24 14:48:57.639282 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] module = import_module(module_path)
[Wed Mar 24 14:48:57.639292 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in 
import_module
[Wed Mar 24 14:48:57.639336 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] __import__(name)
[Wed Mar 24 14:48:57.639363 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/reviewboard/admin/middleware.py", line 
22, in 
[Wed Mar 24 14:48:57.639434 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] from reviewboard.admin.siteconfig import 
load_site_config
[Wed Mar 24 14:48:57.639442 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519]   File 
"/usr/lib/python2.7/site-packages/reviewboard/admin/siteconfig.py", line 
44, in 
[Wed Mar 24 14:48:57.639557 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] from reviewboard.admin.checks import 
get_can_enable_search, \\
[Wed Mar 24 14:48:57.639576 2021] [:error] [pid 19682:tid 140463326873344] 
[client 10.76.51.92:52519] ImproperlyConfigured: Error importing module 
reviewboard.admin.middleware: "cannot import name get_can_enable_search"

---
Can someone let me know what went wrong and how it should be resolved?

Thanks & Regards,
M Raghuveer

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/a2ea607d-bde3-49b1-83a4-f594112bc786n%40googlegroups.com.


Re: Reviewboard migration issue

2021-04-09 Thread Raghuveer Mudiraj
Any update on the abelow error:

Thanks & Regards,
M Raghuveer

On Wednesday, March 24, 2021 at 8:43:30 PM UTC+5:30 Raghuveer Mudiraj wrote:

> Hi,
>
> Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0 
> and the version of Reviewboard is 2.5.17.
>
> While making the reviewboard up, I am seeing the following errors:
>
>
> -
>
> [Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] mod_wsgi (pid=19682): Exception occurred 
> processing WSGI script '/var/www/rboard/htdocs/reviewboard.wsgi'.
> [Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] Traceback (most recent call last):
> [Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, 
> in __call__
> [Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] self.load_middleware()
> [Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, 
> in load_middleware
> [Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] mw_class = import_by_path(middleware_path)
> [Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, 
> in import_by_path
> [Wed Mar 24 14:48:57.639260 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] sys.exc_info()[2])
> [Wed Mar 24 14:48:57.639268 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, 
> in import_by_path
> [Wed Mar 24 14:48:57.639282 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] module = import_module(module_path)
> [Wed Mar 24 14:48:57.639292 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in 
> import_module
> [Wed Mar 24 14:48:57.639336 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] __import__(name)
> [Wed Mar 24 14:48:57.639363 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/reviewboard/admin/middleware.py", line 
> 22, in 
> [Wed Mar 24 14:48:57.639434 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] from reviewboard.admin.siteconfig import 
> load_site_config
> [Wed Mar 24 14:48:57.639442 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519]   File 
> "/usr/lib/python2.7/site-packages/reviewboard/admin/siteconfig.py", line 
> 44, in 
> [Wed Mar 24 14:48:57.639557 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] from reviewboard.admin.checks import 
> get_can_enable_search, \\
> [Wed Mar 24 14:48:57.639576 2021] [:error] [pid 19682:tid 140463326873344] 
> [client 10.76.51.92:52519] ImproperlyConfigured: Error importing module 
> reviewboard.admin.middleware: "cannot import name get_can_enable_search"
>
>
> ---
> Can someone let me know what went wrong and how it should be resolved?
>
> Thanks & Regards,
> M Raghuveer
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/38219a87-fafb-4ae8-821e-9376d60a4dc6n%40googlegroups.com.


Re: Reviewboard migration issue

2021-04-10 Thread raghuveer mudiraj
Hi Christian,

Thank you for your support.

Please find the steps below:

1. Installed mysql server community version and restored the backup
database.
2. I have downloaded "ReviewBoard-2.5.17-1.el7.noarch.rpm" from the yum
repository and installed it.
3. Installed RBTOOLS 2.0 version from reviewboard website and installed.
4. Installed all the django, pycrypto, memcached, setuptools and other
dependent packages from pypi.org.
5. Setup the httpd configuration.

Python modules installed.

Django-1.6.11-py2.7.egg-info
django_extensions-2.2.9-py2.7.egg
python_dateutil-1.5-py2.7.egg-info
Whoosh-2.7.4-py2.7.egg
recaptcha_client-1.0.6-py2.7.egg
python_mimeparse-0.1.4-py2.7.egg-info
Pygments-2.1-py2.7.egg
Djblets-0.9.9-py2.7.egg-info
django_evolution-0.7.7-py2.7.egg
django_multiselectfield-0.1.12-py2.7.egg
django_haystack-2.3.1-py2.7.egg
django_pipeline-1.3.23-py2.7.egg
Markdown-2.2.1-py2.7.egg-info
JCC-3.6
django-cors-headers-2.5.3
distribute-0.7.3
connections-0.1.3
setuptools-44.1.1
django-utils-0.0.2
pycrypto-2.6
Whoosh-2.7.4
recaptcha-client-1.0.6
django-haystack-2.3.1
django-pipeline-1.3.23

There are some other dependent modules installed while installing the above
packages.

Let me know if you need anymore information.

Thanks & Regards,
M Raghuveer

On Sun, Apr 11, 2021 at 6:45 AM Christian Hammond 
wrote:

> Hi Raghuveer,
>
> There’s unfortunately not enough to go on to diagnose this. It sounds like
> a bad Python environment (some wrong packages, perhaps).
>
> How was Review Board set up on the new server? Can you give me a
> step-by-step?
>
> I also must point out that Review Board 2.5 is no longer maintained or
> officially supported without a Premium Support contract. I’ll try to give
> guidance if I think there’s a better way to move to the new server, though.
>
> Christian
>
>
> On Fri, Apr 9, 2021 at 06:52 Raghuveer Mudiraj <
> raghuveer.mudi...@gmail.com> wrote:
>
>> Any update on the abelow error:
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>>
>> On Wednesday, March 24, 2021 at 8:43:30 PM UTC+5:30 Raghuveer Mudiraj
>> wrote:
>>
>>> Hi,
>>>
>>> Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0
>>> and the version of Reviewboard is 2.5.17.
>>>
>>> While making the reviewboard up, I am seeing the following errors:
>>>
>>>
>>> -
>>>
>>> [Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] mod_wsgi (pid=19682):
>>> Exception occurred processing WSGI script
>>> '/var/www/rboard/htdocs/reviewboard.wsgi'.
>>> [Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] Traceback (most recent call
>>> last):
>>> [Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519]   File
>>> "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187,
>>> in __call__
>>> [Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] self.load_middleware()
>>> [Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519]   File
>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45,
>>> in load_middleware
>>> [Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] mw_class =
>>> import_by_path(middleware_path)
>>> [Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519]   File
>>> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26,
>>> in import_by_path
>>> [Wed Mar 24 14:48:57.639260 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] sys.exc_info()[2])
>>> [Wed Mar 24 14:48:57.639268 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519]   File
>>> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21,
>>> in import_by_path
>>> [Wed Mar 24 14:48:57.639282 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519] module =
>>> import_module(module_path)
>>> [Wed Mar 24 14:48:57.639292 2021] [:error] [pid 19682:tid
>>> 140463326873344] [client 10.76.51.92:52519]   File
>>> "/u

Re: Reviewboard migration issue

2021-04-10 Thread raghuveer mudiraj
One more last step, run the below command to configure the review board.

6. rb-site install /var/www/rboard

On Sun, Apr 11, 2021 at 9:32 AM raghuveer mudiraj <
raghuveer.mudi...@gmail.com> wrote:

> Hi Christian,
>
> Thank you for your support.
>
> Please find the steps below:
>
> 1. Installed mysql server community version and restored the backup
> database.
> 2. I have downloaded "ReviewBoard-2.5.17-1.el7.noarch.rpm" from the yum
> repository and installed it.
> 3. Installed RBTOOLS 2.0 version from reviewboard website and installed.
> 4. Installed all the django, pycrypto, memcached, setuptools and other
> dependent packages from pypi.org.
> 5. Setup the httpd configuration.
>
> Python modules installed.
>
> Django-1.6.11-py2.7.egg-info
> django_extensions-2.2.9-py2.7.egg
> python_dateutil-1.5-py2.7.egg-info
> Whoosh-2.7.4-py2.7.egg
> recaptcha_client-1.0.6-py2.7.egg
> python_mimeparse-0.1.4-py2.7.egg-info
> Pygments-2.1-py2.7.egg
> Djblets-0.9.9-py2.7.egg-info
> django_evolution-0.7.7-py2.7.egg
> django_multiselectfield-0.1.12-py2.7.egg
> django_haystack-2.3.1-py2.7.egg
> django_pipeline-1.3.23-py2.7.egg
> Markdown-2.2.1-py2.7.egg-info
> JCC-3.6
> django-cors-headers-2.5.3
> distribute-0.7.3
> connections-0.1.3
> setuptools-44.1.1
> django-utils-0.0.2
> pycrypto-2.6
> Whoosh-2.7.4
> recaptcha-client-1.0.6
> django-haystack-2.3.1
> django-pipeline-1.3.23
>
> There are some other dependent modules installed while installing the
> above packages.
>
> Let me know if you need anymore information.
>
> Thanks & Regards,
> M Raghuveer
>
> On Sun, Apr 11, 2021 at 6:45 AM Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Hi Raghuveer,
>>
>> There’s unfortunately not enough to go on to diagnose this. It sounds
>> like a bad Python environment (some wrong packages, perhaps).
>>
>> How was Review Board set up on the new server? Can you give me a
>> step-by-step?
>>
>> I also must point out that Review Board 2.5 is no longer maintained or
>> officially supported without a Premium Support contract. I’ll try to give
>> guidance if I think there’s a better way to move to the new server, though.
>>
>> Christian
>>
>>
>> On Fri, Apr 9, 2021 at 06:52 Raghuveer Mudiraj <
>> raghuveer.mudi...@gmail.com> wrote:
>>
>>> Any update on the abelow error:
>>>
>>> Thanks & Regards,
>>> M Raghuveer
>>>
>>>
>>> On Wednesday, March 24, 2021 at 8:43:30 PM UTC+5:30 Raghuveer Mudiraj
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Currently we are migrating Reviewboard from centos 6 to Oracle linux
>>>> 7.0 and the version of Reviewboard is 2.5.17.
>>>>
>>>> While making the reviewboard up, I am seeing the following errors:
>>>>
>>>>
>>>> -
>>>>
>>>> [Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519] mod_wsgi (pid=19682):
>>>> Exception occurred processing WSGI script
>>>> '/var/www/rboard/htdocs/reviewboard.wsgi'.
>>>> [Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519] Traceback (most recent
>>>> call last):
>>>> [Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519]   File
>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187,
>>>> in __call__
>>>> [Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519] self.load_middleware()
>>>> [Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519]   File
>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45,
>>>> in load_middleware
>>>> [Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519] mw_class =
>>>> import_by_path(middleware_path)
>>>> [Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid
>>>> 140463326873344] [client 10.76.51.92:52519]   File
>>>> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26,
>>>> in import_by_path
>>&g

Re: Reviewboard migration issue

2021-04-12 Thread Raghuveer Mudiraj
Hi Christian,

I have resolved the issue.

However, I am not able to view the webpage in a proper format.
Those are seeing in a zigzag view.

Am I missing any python modue for the same?

Thanks & Regards,
M Raghuveer

On Sunday, April 11, 2021 at 6:45:33 AM UTC+5:30 Christian Hammond wrote:

> Hi Raghuveer,
>
> There’s unfortunately not enough to go on to diagnose this. It sounds like 
> a bad Python environment (some wrong packages, perhaps).
>
> How was Review Board set up on the new server? Can you give me a 
> step-by-step?
>
> I also must point out that Review Board 2.5 is no longer maintained or 
> officially supported without a Premium Support contract. I’ll try to give 
> guidance if I think there’s a better way to move to the new server, though.
>
> Christian
>
>
> On Fri, Apr 9, 2021 at 06:52 Raghuveer Mudiraj  
> wrote:
>
>> Any update on the abelow error:
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>>
>> On Wednesday, March 24, 2021 at 8:43:30 PM UTC+5:30 Raghuveer Mudiraj 
>> wrote:
>>
>>> Hi,
>>>
>>> Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0 
>>> and the version of Reviewboard is 2.5.17.
>>>
>>> While making the reviewboard up, I am seeing the following errors:
>>>
>>>
>>> -
>>>
>>> [Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] mod_wsgi (pid=19682): 
>>> Exception occurred processing WSGI script 
>>> '/var/www/rboard/htdocs/reviewboard.wsgi'.
>>> [Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] Traceback (most recent call 
>>> last):
>>> [Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, 
>>> in __call__
>>> [Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] self.load_middleware()
>>> [Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, 
>>> in load_middleware
>>> [Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] mw_class = 
>>> import_by_path(middleware_path)
>>> [Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, 
>>> in import_by_path
>>> [Wed Mar 24 14:48:57.639260 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] sys.exc_info()[2])
>>> [Wed Mar 24 14:48:57.639268 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, 
>>> in import_by_path
>>> [Wed Mar 24 14:48:57.639282 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] module = 
>>> import_module(module_path)
>>> [Wed Mar 24 14:48:57.639292 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in 
>>> import_module
>>> [Wed Mar 24 14:48:57.639336 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] __import__(name)
>>> [Wed Mar 24 14:48:57.639363 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/reviewboard/admin/middleware.py", line 
>>> 22, in 
>>> [Wed Mar 24 14:48:57.639434 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519] from 
>>> reviewboard.admin.siteconfig import load_site_config
>>> [Wed Mar 24 14:48:57.639442 2021] [:error] [pid 19682:tid 
>>> 140463326873344] [client 10.76.51.92:52519]   File 
>>> "/usr/lib/python2.7/site-packages/reviewboard/admin/siteconfig.py", line 
>>> 44, in 
>>> [Wed Mar 24 14:48:57.639557 2021] [:error] [pid 19682:tid 
>&

Reviewboard api issue

2021-04-21 Thread Raghuveer Mudiraj
Hi,

I am using reviewboard 1.7.9. Its a old release.

When I am trying to run post-review, it is giving python exception issue. 
When I went into deeper, I found that the error is "404-Page doesnot exist".

Can you please put me in right direction to resolve this issue?

Thanks & Regards,
M Raghuveer

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/4e663607-3a3f-43c6-88ed-f0272ab40e11n%40googlegroups.com.


Re: Reviewboard api issue

2021-04-21 Thread Raghuveer Mudiraj
Hi Christian,

Can you please let me know how to create the .rbtools.cookies to capture 
the rbsessionid?


Thanks & Regards,
M Raghuveer

On Thursday, April 22, 2021 at 1:14:33 AM UTC+5:30 Christian Hammond wrote:

> Hi,
>
> If you run with the --debug flag, it should tell you more, but I don’t 
> remember for sure what output we had back then. Both 1.7.9 and post-review 
> itself have long since been discontinued, so it might require you to 
> manually edit the post-review code and trace the API requests.
>
> Christian
>
>
> On Wed, Apr 21, 2021 at 06:43 Raghuveer Mudiraj  
> wrote:
>
>> Hi,
>>
>> I am using reviewboard 1.7.9. Its a old release.
>>
>> When I am trying to run post-review, it is giving python exception issue. 
>> When I went into deeper, I found that the error is "404-Page doesnot exist".
>>
>> Can you please put me in right direction to resolve this issue?
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>> -- 
>> 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/4e663607-3a3f-43c6-88ed-f0272ab40e11n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/4e663607-3a3f-43c6-88ed-f0272ab40e11n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/629648eb-879c-4f60-b326-26a9eb176155n%40googlegroups.com.


Re: Reviewboard api issue

2021-04-22 Thread Raghuveer Mudiraj
Hi Christian,

Atlast I found that the post-review is working thorugh 
.post-review-cookies.txt.

Can you please guide me or give some idea how the .post-review-cookies.txt 
are generating? Does it require CookieJar file?


Thanks & Regards,
M Raghuveer

On Thursday, April 22, 2021 at 10:18:45 AM UTC+5:30 Raghuveer Mudiraj wrote:

> Hi Christian,
>
> Can you please let me know how to create the .rbtools.cookies to capture 
> the rbsessionid?
>
>
> Thanks & Regards,
> M Raghuveer
>
> On Thursday, April 22, 2021 at 1:14:33 AM UTC+5:30 Christian Hammond wrote:
>
>> Hi,
>>
>> If you run with the --debug flag, it should tell you more, but I don’t 
>> remember for sure what output we had back then. Both 1.7.9 and post-review 
>> itself have long since been discontinued, so it might require you to 
>> manually edit the post-review code and trace the API requests.
>>
>> Christian
>>
>>
>> On Wed, Apr 21, 2021 at 06:43 Raghuveer Mudiraj  
>> wrote:
>>
>>> Hi,
>>>
>>> I am using reviewboard 1.7.9. Its a old release.
>>>
>>> When I am trying to run post-review, it is giving python exception 
>>> issue. When I went into deeper, I found that the error is "404-Page doesnot 
>>> exist".
>>>
>>> Can you please put me in right direction to resolve this issue?
>>>
>>> Thanks & Regards,
>>> M Raghuveer
>>>
>>> -- 
>>> 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/4e663607-3a3f-43c6-88ed-f0272ab40e11n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/reviewboard/4e663607-3a3f-43c6-88ed-f0272ab40e11n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag
>> Makers of Review Board
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/a075fce6-83ff-4061-af78-6bbee0afb2d2n%40googlegroups.com.


LDAP Authentication issue.

2021-04-27 Thread Raghuveer Mudiraj
Hi,

Last week I setup the LDAP authentication with respect to our ldap server 
which was working fine till last friday i.e. till 23rd Apr 2021. After 
that, I am not sure what happened, It started throwing an error as below

2021-04-27 16:01:31,158 - WARNING -  - LDAP error: {'info': u'Server is 
Configured to Deny Unauthenticated Binds', 'desc': u'Inappropriate 
authentication'}

If you know the issue, can you please direct me in the right path.

Please let me know if you need anymore information.

Thanks & Regards,
M Raghuveer

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/d8a5b1dc-c0c5-4a72-bf53-aa6657431ecen%40googlegroups.com.


Re: LDAP Authentication issue.

2021-04-27 Thread Raghuveer Mudiraj
In the current reviewboard server, I don't see any other fields other than 
the one attached.



On Tuesday, April 27, 2021 at 11:18:34 PM UTC+5:30 Christian Hammond wrote:

> Hi,
>
> Sounds like authentication requirements changed on your LDAP server. 
> Review Board is currently trying to query the LDAP server anonymously, and 
> the server is now rejecting that request. You’ll need to configure the 
> appropriate credentials in Review Board, which will be dependent on your 
> LDAP configuration.
>
> Christian
>
>
> On Tue, Apr 27, 2021 at 09:03 Raghuveer Mudiraj  
> wrote:
>
>> Hi,
>>
>> Last week I setup the LDAP authentication with respect to our ldap server 
>> which was working fine till last friday i.e. till 23rd Apr 2021. After 
>> that, I am not sure what happened, It started throwing an error as below
>>
>> 2021-04-27 16:01:31,158 - WARNING -  - LDAP error: {'info': u'Server is 
>> Configured to Deny Unauthenticated Binds', 'desc': u'Inappropriate 
>> authentication'}
>>
>> If you know the issue, can you please direct me in the right path.
>>
>> Please let me know if you need anymore information.
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>> -- 
>> 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/d8a5b1dc-c0c5-4a72-bf53-aa6657431ecen%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/d8a5b1dc-c0c5-4a72-bf53-aa6657431ecen%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/2bd5d71d-7f3a-40c6-92ee-a7dce345a24an%40googlegroups.com.


401 Authorization error

2021-05-20 Thread Raghuveer Mudiraj
Hi,

I have done the LDAP settings on our reviewboard server. However, when I am 
trying to login to the reviewboard server using the below code, it is 
throwing the below error:

DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
DEBUG: CM::RB::RBGet: URL=https://:443/api
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
DEBUG: CM::RB::RBprocess: status = 200 OK
DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server using 
url https://:443/api
DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: URL=https://:443/api/review-requests/58656
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x3331b38)
DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
Bad response while posting data (401 UNAUTHORIZED)
Message = UNAUTHORIZED
DEBUG: main::checkChangeIDStatus: All changes
DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The URL = https://:443/api/review-requests/58656
DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The Header is = 
HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: URL=https://:443/api/review-requests/58656
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x35752a0)
DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
Bad response while posting data (401 UNAUTHORIZED)
Message = UNAUTHORIZED

this is failing due to login as anonymous account. Even if I try to give 
the LDAP account credentials this is treating as anonymouse account. Do we 
have any perl code which login the reviewboard server api using LDAP 
credentials?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/e7f8f283-8981-4601-ba4f-653f24f11974n%40googlegroups.com.


Re: 401 Authorization error

2021-05-20 Thread Raghuveer Mudiraj
Hi Christian,

thanks for quick response.

We are using the below perl modules for the LDAP login.

use HTTP::Request;
use LWP;
use HTTP::Request::Common;
use HTTP::Cookies;

LWP::UserAgent

We are passing the credentials to authenticate via API. However, while 
logging it is throwing "401 Authorization error". This is due to the ldap 
settings which is not allowing anonymous users. 

However, I tried to set the checkbox which will allow the anonymous users 
to read the review requests. But it will not allow to write anything to RB.

Please see the below header.

$RBUSER=getRBProfile('User');
$RBPASSWD=decode_base64(getRBProfile('Pwd'));
$header = HTTP::Headers->new;
$header->header(Authorization => "Basic 
".encode_base64("$RBUSER:$RBPASSWD", ""));
$header->header('Content-Type' => "application/xml; charset=UTF-8");
$header->header(Accept => "application/xml");
$header->header('http.protocol.single-cookie-header' => "true");

Let me know if you need anymore information.




On Friday, May 21, 2021 at 8:56:30 AM UTC+5:30 Christian Hammond wrote:

> Hi,
>
> I wasn't even aware of any Perl bindings that talk to Review Board in the 
> first place. Is this something that's in-house?
>
> I'm not entirely sure from the log output what the failure is. It looks to 
> be failing to authenticate via the API, but whether this is bad 
> credentials/API token being passed in the Authorization header in the 
> request, or a communication error with LDAP, I can't say from the output.
>
> Can you give me more information on what's being sent and how you're 
> forming the request?
>
> Can you verify that the request is sending an Authorization: header in a 
> request, and what form of authentication the client is using for this?
>
> Christian
>
> On Thu, May 20, 2021 at 10:00 AM Raghuveer Mudiraj  
> wrote:
>
>> Hi,
>>
>> I have done the LDAP settings on our reviewboard server. However, when I 
>> am trying to login to the reviewboard server using the below code, it is 
>> throwing the below error:
>>
>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
>> DEBUG: CM::RB::RBGet: URL=https://:443/api
>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
>> DEBUG: CM::RB::RBprocess: status = 200 OK
>> DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server 
>> using url https://:443/api
>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b72340)
>> DEBUG: CM::RB::RBGet: URL=https://> server>:443/api/review-requests/58656
>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x3331b38)
>> DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
>> Bad response while posting data (401 UNAUTHORIZED)
>> Message = UNAUTHORIZED
>> DEBUG: main::checkChangeIDStatus: All changes
>> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The URL = https://> server>:443/api/review-requests/58656
>> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The Header is = 
>> HTTP::Headers=HASH(0x2b72340)
>> DEBUG: CM::RB::RBGet: URL=https://> server>:443/api/review-requests/58656
>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x35752a0)
>> DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
>> Bad response while posting data (401 UNAUTHORIZED)
>> Message = UNAUTHORIZED
>>
>> this is failing due to login as anonymous account. Even if I try to give 
>> the LDAP account credentials this is treating as anonymouse account. Do we 
>> have any perl code which login the reviewboard server api using LDAP 
>> credentials?
>>
>> -- 
>> 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/e7f8f283-8981-4601-ba4f-653f24f11974n%40googlegroups.com
>>  
>

Re: 401 Authorization error

2021-05-21 Thread Raghuveer Mudiraj
Currently i am using ReviewBoard 1.7.9. Does it have any other option to 
create API token? If not, can we create the through command line?

On Friday, May 21, 2021 at 2:09:01 PM UTC+5:30 Christian Hammond wrote:

> Can you try creating an API token for the user (available in My Account) 
> and using that as the password? That’s generally better for scripts anyway, 
> but I want to just verify that the general authentication path that’s 
> posing problems.
>
> Christian
>
>
> On Thu, May 20, 2021 at 21:42 Raghuveer Mudiraj  
> wrote:
>
>> Hi Christian,
>>
>> thanks for quick response.
>>
>> We are using the below perl modules for the LDAP login.
>>
>> use HTTP::Request;
>> use LWP;
>> use HTTP::Request::Common;
>> use HTTP::Cookies;
>>
>> LWP::UserAgent
>>
>> We are passing the credentials to authenticate via API. However, while 
>> logging it is throwing "401 Authorization error". This is due to the ldap 
>> settings which is not allowing anonymous users. 
>>
>> However, I tried to set the checkbox which will allow the anonymous users 
>> to read the review requests. But it will not allow to write anything to RB.
>>
>> Please see the below header.
>>
>> $RBUSER=getRBProfile('User');
>> $RBPASSWD=decode_base64(getRBProfile('Pwd'));
>> $header = HTTP::Headers->new;
>> $header->header(Authorization => "Basic 
>> ".encode_base64("$RBUSER:$RBPASSWD", ""));
>> $header->header('Content-Type' => "application/xml; charset=UTF-8");
>> $header->header(Accept => "application/xml");
>> $header->header('http.protocol.single-cookie-header' => "true");
>>
>> Let me know if you need anymore information.
>>
>>
>>
>>
>> On Friday, May 21, 2021 at 8:56:30 AM UTC+5:30 Christian Hammond wrote:
>>
>>> Hi,
>>>
>>> I wasn't even aware of any Perl bindings that talk to Review Board in 
>>> the first place. Is this something that's in-house?
>>>
>>> I'm not entirely sure from the log output what the failure is. It looks 
>>> to be failing to authenticate via the API, but whether this is bad 
>>> credentials/API token being passed in the Authorization header in the 
>>> request, or a communication error with LDAP, I can't say from the output.
>>>
>>> Can you give me more information on what's being sent and how you're 
>>> forming the request?
>>>
>>> Can you verify that the request is sending an Authorization: header in a 
>>> request, and what form of authentication the client is using for this?
>>>
>>> Christian
>>>
>>> On Thu, May 20, 2021 at 10:00 AM Raghuveer Mudiraj <
>>> raghuvee...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have done the LDAP settings on our reviewboard server. However, when 
>>>> I am trying to login to the reviewboard server using the below code, it is 
>>>> throwing the below error:
>>>>
>>>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>>>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
>>>> DEBUG: CM::RB::RBGet: URL=https://:443/api
>>>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
>>>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
>>>> DEBUG: CM::RB::RBprocess: status = 200 OK
>>>> DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server 
>>>> using url https://:443/api
>>>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>>>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b72340)
>>>> DEBUG: CM::RB::RBGet: URL=https://>>> server>:443/api/review-requests/58656
>>>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
>>>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x3331b38)
>>>> DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
>>>> Bad response while posting data (401 UNAUTHORIZED)
>>>> Message = UNAUTHORIZED
>>>> DEBUG: main::checkChangeIDStatus: All changes
>>>> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The URL = 
>>>> https://:443/api/review-requests/58656
>>>> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The Header is = 
>>>> HTTP::Headers=HASH(0x2b72340)
>>>> DEBUG: CM::RB::RBGet: URL=https://>>> server>:443/api/review-reques

Re: 401 Authorization error

2021-05-21 Thread Raghuveer Mudiraj
FYI, using curl command I am not able to login.

curl -k --user  https:///api/users/ -H "Accept: 
application/json"
Enter host password for user '':
{"stat": "fail", "err": {"msg": "You are not logged in", "code": 103}

What could be the issue? How test if the url is working with respect to 
user authentication?

On Friday, May 21, 2021 at 2:13:30 PM UTC+5:30 Raghuveer Mudiraj wrote:

> Currently i am using ReviewBoard 1.7.9. Does it have any other option to 
> create API token? If not, can we create the through command line?
>
> On Friday, May 21, 2021 at 2:09:01 PM UTC+5:30 Christian Hammond wrote:
>
>> Can you try creating an API token for the user (available in My Account) 
>> and using that as the password? That’s generally better for scripts anyway, 
>> but I want to just verify that the general authentication path that’s 
>> posing problems.
>>
>> Christian
>>
>>
>> On Thu, May 20, 2021 at 21:42 Raghuveer Mudiraj  
>> wrote:
>>
>>> Hi Christian,
>>>
>>> thanks for quick response.
>>>
>>> We are using the below perl modules for the LDAP login.
>>>
>>> use HTTP::Request;
>>> use LWP;
>>> use HTTP::Request::Common;
>>> use HTTP::Cookies;
>>>
>>> LWP::UserAgent
>>>
>>> We are passing the credentials to authenticate via API. However, while 
>>> logging it is throwing "401 Authorization error". This is due to the ldap 
>>> settings which is not allowing anonymous users. 
>>>
>>> However, I tried to set the checkbox which will allow the anonymous 
>>> users to read the review requests. But it will not allow to write anything 
>>> to RB.
>>>
>>> Please see the below header.
>>>
>>> $RBUSER=getRBProfile('User');
>>> $RBPASSWD=decode_base64(getRBProfile('Pwd'));
>>> $header = HTTP::Headers->new;
>>> $header->header(Authorization => "Basic 
>>> ".encode_base64("$RBUSER:$RBPASSWD", ""));
>>> $header->header('Content-Type' => "application/xml; charset=UTF-8");
>>> $header->header(Accept => "application/xml");
>>> $header->header('http.protocol.single-cookie-header' => "true");
>>>
>>> Let me know if you need anymore information.
>>>
>>>
>>>
>>>
>>> On Friday, May 21, 2021 at 8:56:30 AM UTC+5:30 Christian Hammond wrote:
>>>
>>>> Hi,
>>>>
>>>> I wasn't even aware of any Perl bindings that talk to Review Board in 
>>>> the first place. Is this something that's in-house?
>>>>
>>>> I'm not entirely sure from the log output what the failure is. It looks 
>>>> to be failing to authenticate via the API, but whether this is bad 
>>>> credentials/API token being passed in the Authorization header in the 
>>>> request, or a communication error with LDAP, I can't say from the output.
>>>>
>>>> Can you give me more information on what's being sent and how you're 
>>>> forming the request?
>>>>
>>>> Can you verify that the request is sending an Authorization: header in 
>>>> a request, and what form of authentication the client is using for this?
>>>>
>>>> Christian
>>>>
>>>> On Thu, May 20, 2021 at 10:00 AM Raghuveer Mudiraj <
>>>> raghuvee...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have done the LDAP settings on our reviewboard server. However, when 
>>>>> I am trying to login to the reviewboard server using the below code, it 
>>>>> is 
>>>>> throwing the below error:
>>>>>
>>>>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>>>>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
>>>>> DEBUG: CM::RB::RBGet: URL=https://:443/api
>>>>> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
>>>>> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
>>>>> DEBUG: CM::RB::RBprocess: status = 200 OK
>>>>> DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server 
>>>>> using url https://:443/api
>>>>> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
>>>>> DEBUG: CM::RBDBI::__RBinit__: HTTP::Hea

Re: ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-26 Thread raghuveer mudiraj
Hi Harish,

I too faced the same problem some time back while setting the LDAP
authentication.

Please refer the below link

http://138.201.16.208/codesearch/raw/2595363/

In the class LDAPBackend, the actual code needs to modify as per the above
link.

the above link helped me to solve this. Hope it solves yours.

thanks & Regards,
M Raghuveer

On Sat, Jun 26, 2021 at 11:11 PM harish.va...@gmail.com <
harish.varadara...@gmail.com> wrote:

> Hi All,
>
> we are getting the below error with LDAP (per httpd error_log) post
> upgrade to RB 4.0.2 and site upgrade.
>
> [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError:
> initialize() got an unexpected keyword argument 'bytes_mode'
> [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26
> 17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected
> error occurred while authenticating with LDAP: initialize() got an
> unexpected keyword argument 'bytes_mode'
> [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most
> recent call last):
> [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
> line 339, in _connect
> [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262]
>  bytes_mode=False)
> [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError:
> initialize() got an unexpected keyword argument 'bytes_mode'
>
> Any idea on how to fix this.
>
> Thanks.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.com.


Reassigning the reviewid using admin

2021-06-28 Thread Raghuveer Mudiraj
Hi,

We are using ReviewBoard 1.7.9 version.

Recently we moved the reviewboard server from one network to another 
network.

In the old network, we used Active Directory mechanism for users to login.

In the current network, we used LDAP mechanism for users to login. However, 
in LDAP the user ids are different comparing to Active Directory.

Now, how to change the user ids who raised the review requests which are 
open?

any specific command or can we do it from admin dashboard?

Thanks & Regards,
M Raghuveer


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/fb909499-cd55-4bd2-b67d-1033eac9cea0n%40googlegroups.com.


Review request is not raising for specific files

2021-07-08 Thread Raghuveer Mudiraj
Hi,

While raising the review request for the specific files in the clearcase 
repository it is giving the below error:

"Your review request still exists, but the diff is not attached"


It is coming out of the review request by giving the above error message. 
Any idea why it comes?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/87c5fa76-2fb5-40b7-b2e0-2f736fcc59ccn%40googlegroups.com.


Re: Reassigning the reviewid using admin

2021-07-08 Thread Raghuveer Mudiraj
The issue is resolved.

On Thursday, July 8, 2021 at 2:51:50 AM UTC+5:30 Christian Hammond wrote:

> Hi Raghuveer,
>
> There isn't really a good way of doing this without very carefully writing 
> a custom script to update the database entries directly. Old IDs would 
> still be stored in some embedded metadata in review requests, but should be 
> harmless. You would absolutely want to operate off of a copy of the 
> database and test it thoroughly. We don't have anything available to help 
> with this. You'd need to do it internally.
>
> 1.7.9 is now 8 years old, and is no longer supported. We can't easily 
> provide support for this version. I'd also recommen scheduling some time to 
> test and perform an upgrade to a modern version (4.0), once you're past 
> this issue.
>
> Christian
>
> On Mon, Jun 28, 2021 at 9:46 AM Raghuveer Mudiraj  
> wrote:
>
>> Hi,
>>
>> We are using ReviewBoard 1.7.9 version.
>>
>> Recently we moved the reviewboard server from one network to another 
>> network.
>>
>> In the old network, we used Active Directory mechanism for users to login.
>>
>> In the current network, we used LDAP mechanism for users to login. 
>> However, in LDAP the user ids are different comparing to Active Directory.
>>
>> Now, how to change the user ids who raised the review requests which are 
>> open?
>>
>> any specific command or can we do it from admin dashboard?
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>>
>> -- 
>> 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/fb909499-cd55-4bd2-b67d-1033eac9cea0n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/fb909499-cd55-4bd2-b67d-1033eac9cea0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/7a7a9d55-506b-4dd0-b4ee-276559fcb543n%40googlegroups.com.


Re: Review request is not raising for specific files

2021-07-08 Thread Raghuveer Mudiraj
Error output from reviewboard.log


2021-07-08 16:29:33,171 - ERROR - None - reviewboard - 
/api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data 
too long for column 'source_revision' at row 1")
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py",
 
line 2026, in create
request.FILES.get('parent_diff_path'))
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py",
 
line 308, in create
history)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py",
 
line 159, in create
filediff.save()
  File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 
463, in save
self.save_base(using=using, force_insert=force_insert, 
force_update=force_update)
  File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 
551, in save_base
result = manager._insert([self], fields=fields, return_id=update_pk, 
using=using, raw=raw)
  File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 
203, in _insert
return insert_query(self.model, objs, fields, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
1593, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", 
line 912, in execute_sql
cursor.execute(sql, params)
  File "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", 
line 114, in execute
return self.cursor.execute(query, args)
  File 
"/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py",
 
line 201, in execute
self.errorhandler(self, exc, value)
  File 
"/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py",
 
line 36, in defaulterrorhandler
raise errorclass, errorvalue
DatabaseError: (1406, "Data too long for column 'source_revision' at row 1")
@


On Thursday, July 8, 2021 at 9:11:37 PM UTC+5:30 Raghuveer Mudiraj wrote:

> Hi,
>
> While raising the review request for the specific files in the clearcase 
> repository it is giving the below error:
>
> "Your review request still exists, but the diff is not attached"
>
>
> It is coming out of the review request by giving the above error message. 
> Any idea why it comes?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com.


Re: Review request is not raising for specific files

2021-07-08 Thread raghuveer mudiraj
It is "Clearcase + UCM" repository.
We are using diff command to generate the diff.

On Fri, 9 Jul, 2021, 4:19 am Christian Hammond, 
wrote:

> What type of repository is this, and how are you generating the diff?
>
> Christian
>
> On Thu, Jul 8, 2021 at 9:42 AM Raghuveer Mudiraj <
> raghuveer.mudi...@gmail.com> wrote:
>
>> Error output from reviewboard.log
>>
>>
>> 2021-07-08 16:29:33,171 - ERROR - None - reviewboard -
>> /api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data
>> too long for column 'source_revision' at row 1")
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py",
>> line 2026, in create
>> request.FILES.get('parent_diff_path'))
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py",
>> line 308, in create
>> history)
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py",
>> line 159, in create
>> filediff.save()
>>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
>> 463, in save
>> self.save_base(using=using, force_insert=force_insert,
>> force_update=force_update)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
>> 551, in save_base
>> result = manager._insert([self], fields=fields, return_id=update_pk,
>> using=using, raw=raw)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/manager.py",
>> line 203, in _insert
>> return insert_query(self.model, objs, fields, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line
>> 1593, in insert_query
>> return query.get_compiler(using=using).execute_sql(return_id)
>>   File
>> "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line
>> 912, in execute_sql
>> cursor.execute(sql, params)
>>   File
>> "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line
>> 114, in execute
>> return self.cursor.execute(query, args)
>>   File
>> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py",
>> line 201, in execute
>> self.errorhandler(self, exc, value)
>>   File
>> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py",
>> line 36, in defaulterrorhandler
>> raise errorclass, errorvalue
>> DatabaseError: (1406, "Data too long for column 'source_revision' at row
>> 1")
>> @
>>
>>
>> On Thursday, July 8, 2021 at 9:11:37 PM UTC+5:30 Raghuveer Mudiraj wrote:
>>
>>> Hi,
>>>
>>> While raising the review request for the specific files in the clearcase
>>> repository it is giving the below error:
>>>
>>> "Your review request still exists, but the diff is not attached"
>>>
>>>
>>> It is coming out of the review request by giving the above error
>>> message. Any idea why it comes?
>>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com
>> <https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> --
> 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

ReviewBoard Community Edition

2024-09-10 Thread raghuveer mudiraj
Dear Forum members,

Greetings and Good day.

Do we have any community edition for reviewboard tool?

If so, can you please let me know from where we can download the same?

thanks & Regards,
M Raghuveer

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CACYQO9TiK3jcUSXte2%2BSBU2ux%3Dqevd0oFYuf3-78Mz18HTu_Xw%40mail.gmail.com.