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 <ch...@nerd-herd.co.uk> 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 > email to reviewboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/47e020e9-05f7-4e67-a5f2-b3e59bf27799n%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/47e020e9-05f7-4e67-a5f2-b3e59bf27799n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAFS3VNVONQss6hRvF67sXaG0e9nUCRAPxsHCbMT1x-CYVN5png%40mail.gmail.com.