Re: Suddenly getting a Error data : A repository was not found at the specified path.

2015-12-16 Thread Christian Hammond
Hi,

How is the repository specified in the admin UI? Is it based on some IP
address or hostname that may not be resolving anymore?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Wed, Dec 16, 2015 at 11:17 AM, Luc Ferland  wrote:

> Hi all,
>
> We have 3 reviewboard serveur here, all with perforce. One of them
> suddenly stopped working. When we try to submit a review we get the
> following error :
>
> RepositoryNotFoundError: A repository was not found at the specified path.
>
>
>
>
> Don't really what has changed. Rebooted the server. The web console is
> accessible.
>
> I searched the forum but it seemed that most often it is related to
> selinux, which is not enable on this machine.
>
> I'am a bit out of ideas, here is the exact log error on the reviewboard
> log :
>
> - Error running should_render for ReviewRequestFieldset  'reviewboard.reviews.builtin_fields.ChangeField'>: A repository was not found 
> at the specified path.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/templatetags/reviewtags.py",
>  line 303, in for_review_request_field
> s.append(nodelist.render(context))
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 840, in render
> bit = self.render_node(node, context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 854, in render_node
> return node.render(context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 891, in render
> output = self.filter_expression.resolve(context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 585, in resolve
> obj = self.var.resolve(context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 735, in resolve
> value = self._resolve_lookup(context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
>  line 789, in _resolve_lookup
> current = current()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/fields.py",
>  line 337, in as_html
> return self.render_value(self.value)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/builtin_fields.py",
>  line 394, in render_value
> is_pending, changenum = review_request.changeset_is_pending(changenum)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/models/review_request.py",
>  line 536, in changeset_is_pending
> changeset = scmtool.get_changeset(commit_id, allow_empty=True)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
>  line 316, in get_changeset
> changeset = self.client.get_changeset(changesetid)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
>  line 206, in get_changeset
> return self._run_worker(lambda: self._get_changeset(changesetid))
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
>  line 187, in _run_worker
> self._convert_p4exception_to_scmexception(e)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
>  line 173, in _convert_p4exception_to_scmexception
> raise RepositoryNotFoundError
> RepositoryNotFoundError: A repository was not found at the specified path.
>
> --
> 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
> "reviewboard" 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.
>

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


Suddenly getting a Error data : A repository was not found at the specified path.

2015-12-16 Thread Luc Ferland
Hi all,

We have 3 reviewboard serveur here, all with perforce. One of them suddenly 
stopped working. When we try to submit a review we get the following error :

RepositoryNotFoundError: A repository was not found at the specified path.




Don't really what has changed. Rebooted the server. The web console is 
accessible.

I searched the forum but it seemed that most often it is related to 
selinux, which is not enable on this machine.

I'am a bit out of ideas, here is the exact log error on the reviewboard log 
: 

- Error running should_render for ReviewRequestFieldset : A repository was not found 
at the specified path.
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/templatetags/reviewtags.py",
 line 303, in for_review_request_field
s.append(nodelist.render(context))
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 891, in render
output = self.filter_expression.resolve(context)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 585, in resolve
obj = self.var.resolve(context)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 735, in resolve
value = self._resolve_lookup(context)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 789, in _resolve_lookup
current = current()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/fields.py",
 line 337, in as_html
return self.render_value(self.value)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/builtin_fields.py",
 line 394, in render_value
is_pending, changenum = review_request.changeset_is_pending(changenum)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/reviews/models/review_request.py",
 line 536, in changeset_is_pending
changeset = scmtool.get_changeset(commit_id, allow_empty=True)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
 line 316, in get_changeset
changeset = self.client.get_changeset(changesetid)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
 line 206, in get_changeset
return self._run_worker(lambda: self._get_changeset(changesetid))
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
 line 187, in _run_worker
self._convert_p4exception_to_scmexception(e)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.20-py2.7.egg/reviewboard/scmtools/perforce.py",
 line 173, in _convert_p4exception_to_scmexception
raise RepositoryNotFoundError
RepositoryNotFoundError: A repository was not found at the specified path.

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