Hi, Most likely, a change is being posted for a branch against one upstream tracking branch (say, origin/branchA), but RBTools hasn't been told this and couldn't find the correct tracking branch so is using the default (origin/master). Is either --tracking-branch being passed on the command line or TRACKING_BRANCH set in .reviewboardrc?
Can you provide a full RBTools debug log (--debug argument to any command)? Christian On Fri, Oct 27, 2017 at 07:49 <[email protected]> wrote: > We are using reviewboard 2.5 for our git repositories. > > When user posts review to reviewboard below error happens from time to > time. When it happens terminal, after executin "rbt post", is hanging and > ctrl-C is only way. > We have noticed: > * error is spotted more often for big repostories (where thousands of > files are tracked by git) > * error happens if user performs "rbt post" before "git push -u origin > <<branch>>" > Is there any way of preventing this error from happanning (besides > executing rbt post after connecting branches) ? > > Here is error: > > 2017-10-27 10:46:34,273 - ERROR - - Exception thrown for user <<user>> at > http://<<link>>/reviewboard/api/validation/diffs/ > request data read error > Traceback (most recent call last): > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", > line 112, in get_response > response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", > line 52, in _wrapped_view_func > response = view_func(request, *args, **kwargs) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/vary.py", > line 19, in inner_func > response = func(*args, **kwargs) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/djblets/webapi/resources/base.py", > line 158, in __call__ > method = request.POST.get('_method', kwargs.get('_method', method)) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", > line 152, in _get_post > self._load_post_and_files() > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/request.py", > line 215, in _load_post_and_files > self._post, self._files = self.parse_file_upload(self.META, data) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/request.py", > line 180, in parse_file_upload > return parser.parse() > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/multipartparser.py", > line 201, in parse > for chunk in field_stream: > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/six.py", > line 535, in next > return type(self).__next__(self) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/multipartparser.py", > line 330, in __next__ > output = next(self._producer) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/six.py", > line 535, in next > return type(self).__next__(self) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/multipartparser.py", > line 458, in __next__ > for bytes in stream: > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/six.py", > line 535, in next > return type(self).__next__(self) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/multipartparser.py", > line 330, in __next__ > output = next(self._producer) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/six.py", > line 535, in next > return type(self).__next__(self) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/multipartparser.py", > line 391, in __next__ > data = self.flo.read(self.chunk_size) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/request.py", > line 244, in read > six.reraise(UnreadablePostError, UnreadablePostError(*e.args), > sys.exc_info()[2]) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/http/request.py", > line 242, in read > return self._stream.read(*args, **kwargs) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", > line 57, in read > result = self.buffer + self._read_limited(size - len(self.buffer)) > File > "/opt/reviewboard-2.5-0/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", > line 45, in _read_limited > result = self.stream.read(size) > UnreadablePostError: request data read error > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Christian Hammond President/CEO of Beanbag Makers of 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 "reviewboard" 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.
