The error looks like your database server (or connection to it) is having
issues, rather than anything to do with gitlab.

-David


On Thu, Mar 20, 2014 at 5:19 AM, Aj Silvan <ajsilvanv...@gmail.com> wrote:

> Hi,
>
> I have recently moved some projects from svn to git. I'm are using GitLab.
> I was already using Rb and, as latest versions support GitLab, I have
> upgraded it to version 1.7.22.
> GitLab we have is version 6.0.2.
>
> Problem I'm facing is that I'm not able to create reviews for GitLab repos.
> If I try from UI, uploading a diff, RB tells me:  The file <filename>
> (r<index in the diff :S>) could not be found in the repository.
> and if I try using rbt, for example: rbt post --revision-range=HEAD..<SHA
> commit>, RB tells me: ERROR:root:Error creating review request: HTTP 500
> Log says this:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *2014-03-20 11:25:17,372 - ERROR - None - ajsilvan - /api/review-requests/
> - Internal Server Error: /api/review-requests/ Traceback (most recent call
> last):  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py",
> line 111, in get_response    response = callback(request, *callback_args,
> **callback_kwargs)   File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/views/decorators/cache.py",
> line 89, in _wrapped_view_func    response = view_func(request, *args,
> **kwargs)  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/views/decorators/vary.py",
> line 19, in inner_func     response = func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/resources.py",
> line 482, in __call__    result = view(request, api_format=api_format,
> *args, **kwargs)   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/webapi/decorators.py",
> line 127, in _check    return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 113, in _call     return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 283, in _validate    return view_func(*args, **new_kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/util/decorators.py",
> line 75, in _call     f = augmented_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/webapi/decorators.py",
> line 30, in _check    return webapi_login_required(view_func)(*args,
> **kwargs)   File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 113, in _call    return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 134, in _checklogin     return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/webapi/decorators.py",
> line 127, in _check    return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 113, in _call     return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 283, in _validate    return view_func(*args, **new_kwargs)  File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/webapi/resources.py",
> line 203, in get_list     return self._get_list_impl(request, *args,
> **kwargs)  File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/webapi/resources.py",
> line 218, in _get_list_impl    return super(WebAPIResource,
> self).get_list(request, *args, **kwargs)   File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 113, in _call    return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 113, in _call     return view_func(*args, **kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/decorators.py",
> line 283, in _validate    return view_func(*args, **new_kwargs)  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/resources.py",
> line 817, in get_list     **self.build_response_args(request))  File
> "/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg/djblets/webapi/core.py",
> line 336, in __init__    for obj in results]  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py",
> line 118, in _result_iter     self._fill_cache()  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py",
> line 892, in _fill_cache    self._result_cache.append(self._iter.next())
> File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py",
> line 291, in iterator     for row in compiler.results_iter():  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/sql/compiler.py",
> line 763, in results_iter    for rows in self.execute_sql(MULTI):   File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/sql/compiler.py",
> line 818, in execute_sql    cursor.execute(sql, params)  File
> "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/backends/mysql/base.py",
> line 114, in execute     return self.cursor.execute(query, args)  File
> "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in
> execute    self.errorhandler(self, exc, value)  File
> "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in
> defaulterrorhandler     raise errorclass, errorvalueDatabaseError: (1,
> "Can't create/write to file '/tmp/#sql_5112_0.MYI' (Errcode: 13)")*
>
> Not sure what is happening. Gitlab repo was configured without issues in
> RB :s
>
> Any ideas? maybe should I upgrade GitLab?, file permissions?
>
> Regards
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://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.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.

Reply via email to