Re: Unexpected error loading command post: name 'platform_system' is not defined

2022-01-19 Thread David Trowbridge
Can you run with --debug and send the output?

David

On Wed, Jan 19, 2022 at 7:34 PM Dan Beygelman  wrote:

> Hi,
> i get this error when i run rbt  post command
> #> /usr/bin/rbt  post
> Unexpected error loading command post: name 'platform_system' is not
> defined
>
> #> /usr/bin/rbt --versio
> RBTools 2.0.1 (Python 2.7.5)
>
>  pip --version
> pip 10.0.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)
>
> Please help
>
> -Dan
>
> --
> 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/148887a2-9afd-48c5-bb7b-695fb37f515bn%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/CAFS3VNXDgNASO%3DNced_fo1DfY7fuy4HnKiVQA3xT6gd2vgjoGQ%40mail.gmail.com.


Unexpected error loading command post: name 'platform_system' is not defined

2022-01-19 Thread Dan Beygelman
Hi,
i get this error when i run rbt  post command
#> /usr/bin/rbt  post
Unexpected error loading command post: name 'platform_system' is not defined

#> /usr/bin/rbt --versio
RBTools 2.0.1 (Python 2.7.5)

 pip --version
pip 10.0.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)

Please help

-Dan

-- 
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/148887a2-9afd-48c5-bb7b-695fb37f515bn%40googlegroups.com.


Re: Installing on CentOS8 or RHEL8

2022-01-19 Thread Christian Hammond
Not sure what would be printing that...

Let's do a quick test:

$ rb-site manage /path/to/sitedir shell
from reviewboard import initialize
initialize()


Let's see if any or all of that passes. If something doesn't, there should
at least be a more useful backtrace.

Also, can you show me what `rb-site --version` says?

Christian

On Tue, Jan 18, 2022 at 12:51 PM Josh Davis  wrote:

> I'm struggling on the installation. This is for a Red Hat 8 machine that
> has python 3.6 and python 2.7 on it. I've tried installing it with:
> python3 -m pip install reviewboard. It seems to work. When I run through
> rb-site install /some/file/path I always end up with this:
>
>   Installing the site...
> —
>
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... ERROR: 
> Creating administrator account ... ERROR: 
> Saving site settings ... ERROR: 
> Setting up support ... OK
> Finishing the install ... ERROR: 
>
> Visiting the URL for my server brings up a 500 error. This is what I find
> in the error log:
> [Tue Jan 18 20:47:42.795685 2022] [wsgi:error] [pid 320003:tid
> 140336662296320] [client 127.0.0.1:46036] Could not load siteconfig:
> 
>
> Any ideas?
> On Saturday, January 8, 2022 at 11:46:31 AM UTC-6 Josh Davis wrote:
>
>> Thanks, David. I'll head down that road.
>>
>> On Thursday, January 6, 2022 at 12:26:39 PM UTC-6 David Trowbridge wrote:
>>
>>> Josh,
>>>
>>> The RPM hasn't been maintained in a very long time. Installing via the
>>> python toolchain is the best way to get running and stay up to date.
>>>
>>> David
>>>
>>> On Thu, Jan 6, 2022 at 11:25 AM Josh Davis  wrote:
>>>
 We have upgraded all of our servers to RHEL8 and I am trying to get
 ReviewBoard installed. In the past (RHEL7) we installed ReviewBoard from an
 rpm package.  I can't find one that works with RHEL8. Is there one I have
 missed?

 --
 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/c8f30c92-6789-41fd-8ab3-f494a1ce8101n%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/953a92a1-0846-4f2f-a2ab-d26bc5b48ab1n%40googlegroups.com
> 
> .
>


-- 
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/CAE7Vndmu8KC%2BTx5RmwSrVDz%2B2BAqySeuGcJ-3HAgF43vsDRJOQ%40mail.gmail.com.


Re: enable extension error

2022-01-19 Thread Christian Hammond
It sounds to me like you have an extension (home-grown or third-party) that
is overriding __init__ but isn't taking the required arguments
(extension_manager). You'll definitely want to look at the reviewboard.log
and see what extension this is, and determine what was upgraded or what
internal code change was made.

Christian

On Tue, Jan 18, 2022 at 9:29 PM Lalit Bansal 
wrote:

> Thanks David for sharing this. I found that very old version (EOL'd) is
> running and working on the upgrade plan. Meanwhile I was trying to bring
> this back. you are right its 1.7 version (not 1.4). trying to debug more in
> the logs.
>
> Thanks,
> Lalit Bansal
>
> On Tuesday, January 18, 2022 at 10:42:50 PM UTC+5:30 David Trowbridge
> wrote:
>
>> There's definitely some kind of change that happened. You may find a
>> better traceback in the log file. Probably some dependency got upgraded
>> somehow, or a previously installed but non-active extension got enabled.
>>
>> That said, "1.4" is not a version of Review Board. If you mean 1.5.x,
>> those versions are more than a decade old and long past end-of-life. We
>> can't do any support for it, even under a paid contract.
>>
>> David
>>
>> On Tue, Jan 18, 2022 at 6:52 AM Lalit Bansal  wrote:
>>
>>> Hi,
>>>
>>> we are using reviewboard 1.4 for years and out of the way it started
>>> throwing extension error. any idea what it could be.. there is no changes
>>> in the system. Running on CentOS 6 with python 2.6
>>>
>>> simply opening reviewboard url - gives this error message
>>>
>>> EnablingExtensionError at /reviewboard/dashboard/Error initializing
>>> extension: __init__() got an unexpected keyword argument 
>>> 'extension_manager'Request
>>> Method:
>>> 1.4.10Exception Type:
>>> EnablingExtensionErrorException Value:
>>> Error initializing extension: __init__() got an unexpected keyword
>>> argument 'extension_manager'Exception Location:
>>> /usr/lib/python2.6/site-packages/Djblets-0.7.25-py2.6.egg/djblets/extensions/base.py
>>> in _init_extension, line 632Python Executable:
>>> /usr/bin/pythonPython Version:
>>> 2.6.6
>>>
>>> Thanks,
>>> Lalit Bansal
>>>
>>> --
>>> 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/8e83c874-fe3b-4868-9fff-9f6f7d8fc3b1n%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/2b695a6c-028c-45f7-9f3e-63bb483e23a4n%40googlegroups.com
> 
> .
>


-- 
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/CAE7Vnd%3DTvDvC_S-2L%3DT_8qydu1_x9-x-vnU7MmFF%3DVg0bCA%3DQQ%40mail.gmail.com.