This is a bug in 2.5. It's fixed in 3.0+

-David

On Mon, Nov 19, 2018 at 10:41 AM pisymbol <[email protected]> wrote:

> We have an old Fedora 13 machine that is our SVN repo that is calling the
> 'post-review script' during a commit hook to create reviews on our newly
> installed RB server (CentOS 7.5, v2.5.17).
>
> When our SVN commit hook script tries to post a review I see the following
> in the RB log file:
>
> 2018-11-19 18:33:00,957 - INFO -  - root - Using
> reviewboard.scmtools.svn.pysvn backend for SVN
> 2018-11-19 18:33:01,203 - ERROR -  - root - Error when calling
> get_or_create_user for auth backend
> <reviewboard.accounts.backends.ActiveDirectoryBackend object at
> 0x7fd80d236e90>: get_or_create_user() takes exactly 4 arguments (3 given)
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/reviewboard/webapi/resources/review_request_draft.py",
> line 643, in _find_user
>     return backend.get_or_create_user(username, request)
> TypeError: get_or_create_user() takes exactly 4 arguments (3 given)
>
> Is this a bug in the AD backend driver (reviewboard.scmtools.svn.pysvn) or
> pilot error on my part? Googling around didn't yield much.
>
> -aps
>
> --
> 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.
>

-- 
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.

Reply via email to