Hi Christian,

That did the trick! Thank you so much for your fast response!

Thanks,
Pete

On Tuesday, January 16, 2018 at 2:40:25 PM UTC-8, Christian Hammond wrote:
>
> Hi Pete,
>
> That's not a very good error...
>
> It's trying to use the p4 command line tool to accept the SSL certificate. 
> It's not finding it in Apache's path. You'll need to place a copy of p4 in 
> /usr/bin.
>
> We'll work on improving that error.
>
> Christian
>
> On Tue, Jan 16, 2018 at 9:59 AM, Peter Storkey <won...@gmail.com 
> <javascript:>> wrote:
>
>> Hi all,
>>
>> I'm installing a new ReviewBoard 3.0.2 server on a CentOS 7 VM. We have 
>> two Perforce repositories, one that uses SSL and one that does not.
>>
>> I have successfully added the non-SSL repository, but when I try to add 
>> the SSL repository I get a 500 error when accepting the SSL fingerprint 
>> (clicking the "I trust this host" button). The traceback from the error is 
>> as follows:
>>
>> 2018-01-16 17:42:37,946 - ERROR - None - admin - 
>> /admin/db/scmtools/repository/add/ - djblets.log.middleware - Exception 
>> thrown for user admin at 
>> http://review.mydomain.com/admin/db/scmtools/repository/add/
>>
>> [Errno 2] No such file or directory
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", 
>> line 112, in get_response
>>     response = wrapped_callback(request, *callback_args, 
>> **callback_kwargs)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 
>> 465, in wrapper
>>     return self.admin_site.admin_view(view)(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", 
>> line 99, in _wrapped_view
>>     response = view_func(request, *args, **kwargs)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 
>> 52, in _wrapped_view_func
>>     response = view_func(request, *args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", 
>> line 198, in inner
>>     return view(request, *args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", 
>> line 29, in _wrapper
>>     return bound_func(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", 
>> line 99, in _wrapped_view
>>     response = view_func(request, *args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", 
>> line 25, in bound_func
>>     return func(self, *args2, **kwargs2)
>>   File "/usr/lib/python2.7/site-packages/django/db/transaction.py", line 
>> 371, in inner
>>     return func(*args, **kwargs)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 
>> 1146, in add_view
>>     if form.is_valid():
>>   File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/forms.py", 
>> line 1139, in is_valid
>>     if not super(RepositoryForm, self).is_valid():
>>   File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 
>> 129, in is_valid
>>     return self.is_bound and not bool(self.errors)
>>   File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 
>> 121, in errors
>>     self.full_clean()
>>   File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/forms.py", 
>> line 921, in full_clean
>>     super(RepositoryForm, self).full_clean(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 
>> 274, in full_clean
>>     self._clean_form()
>>   File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 
>> 300, in _clean_form
>>     self.cleaned_data = self.clean()
>>   File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/forms.py", 
>> line 970, in clean
>>     self._verify_repository_path()
>>   File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/forms.py", 
>> line 1320, in _verify_repository_path
>>     certificate=e.certificate)
>>   File 
>> "/usr/lib/python2.7/site-packages/reviewboard/scmtools/perforce.py", line 
>> 912, in accept_certificate
>>     stderr=subprocess.PIPE)
>>   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
>>     errread, errwrite)
>>   File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
>>     raise child_exception
>> OSError: [Errno 2] No such file or directory
>>
>> Any thoughts?
>>
>> Thanks,
>> Pete
>>
>> -- 
>> 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 <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to