Review Board Ticket #4913: python 2.7 compatibility

2021-02-10 Thread shollander1
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4913/
--

New ticket #4913 by splatter2
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


--
python 2.7 compatibility
==

# What version are you running?
3.0.20

I see that you recently capped some dependency versions in order to support 
installation with python 2.7. I appreciate this fix since many of us are still 
stuck on python 2.7 for a variety of reasons.

There is one dependency that still needs to be capped. The latest version of 
`bcrypt` does not work with 2.7. It needs to be capped to 3.1.7 (or < 3.2).

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20210210211534.3537.77656%40ip-10-1-54-209.ec2.internal.


Re: Review Board Ticket #4457: Ubuntu: SSL: CERTIFICATE_VERIFY_FAILED

2021-02-10 Thread Eric Berquist
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4457/
--

New update by cantrianbear
For Beanbag, Inc. > Review Board > Ticket #4457


Reply:

I had this problem as well, with Ubuntu 18.04 and Review Board 3.0.20:
```
>>> Error data: {'stat': 'fail', 'err': {'msg': "Unable to connect to a 
repository at URL 
'https://remote.com/svnroot/repo/branches/rdm2/include/qinks_main.h'\nServer 
SSL certificate verification failed: issuer is not trusted", 'code': 224}}
```
and the problem was that the remote's certificate had expired and been 
updated, so command-line Subversion usage worked, but Review Board didn't know 
about the updated certificate. I had to go to the Admin panel, click 
"Repositories", click on the offending repository, save, and accept the new 
certificate.

Is there a way to do that from the CLI, rather than the Admin panel?

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20210210194540.3540.90837%40ip-10-1-54-209.ec2.internal.


Re: Something broke! (Error 500) when adding Perforce

2021-02-10 Thread Glen Banyard
Thank you David,

I installed the helix cli base to the server and now added the repo.


On Tuesday, 9 February 2021 at 16:35:36 UTC David Trowbridge wrote:

> It looks like your web server is unable to find the "p4" executable. We've 
> mostly moved away from requiring that but it seems like accepting 
> certificates still uses it.
>
> David
>
> On Tue, Feb 9, 2021 at 9:16 AM Glen Banyard  wrote:
>
>> Hi,
>>
>> So I have set up Perforce on Ubuntu 18.04 LTS and installed as per the 
>> documentation, however running into an error when trying to add the 
>> Perforce repo
>>
>> The traceback email
>> [Review Board] ERROR (EXTERNAL IP): Internal Server Error: 
>> /admin/db/scmtools/repository/add/
>>
>> Traceback (most recent call last):
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
>> 112, in get_response
>>
>> response = wrapped_callback(request, *callback_args, 
>> **callback_kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
>> line 465, in wrapper
>>
>> return self.admin_site.admin_view(view)(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 99, in _wrapped_view
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", 
>> line 52, in _wrapped_view_func
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py", 
>> line 198, in inner
>>
>> return view(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 29, in _wrapper
>>
>> return bound_func(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 99, in _wrapped_view
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 25, in bound_func
>>
>> return func(self, *args2, **kwargs2)
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", 
>> line 371, in inner
>>
>> return func(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
>> line 1146, in add_view
>>
>> if form.is_valid():
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 2043, in is_valid
>>
>> return (super(RepositoryForm, self).is_valid() and
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 129, in is_valid
>>
>> return self.is_bound and not bool(self.errors)
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 121, in errors
>>
>> self.full_clean()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 1778, in full_clean
>>
>> super(RepositoryForm, self).full_clean(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/site/mixins.py", line 
>> 282, in full_clean
>>
>> return super(LocalSiteAwareModelFormMixin, self).full_clean()
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 274, in full_clean
>>
>> self._clean_form()
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 300, in _clean_form
>>
>> self.cleaned_data = self.clean()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 1823, in clean
>>
>> self._verify_repository_path()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 2316, in _verify_repository_path
>>
>> certificate=e.certificate)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/perforce.py", 
>> line 936, in accept_certificate
>>
>> stderr=subprocess.PIPE)
>>
>>  
>>
>>   File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
>>
>> errread, errwrite)
>>
>>  
>>
>>   File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
>>
>> raise child_exception
>>
>>  
>> OSError: [Errno 2] No such file or directory
>>
>>
>> Any guidance on where to start, very new to 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