Re: Using gitlab integration with self-signed SSL certificate

2016-07-07 Thread udam . dewaraja
This is a temporary hack but I'm disabling all SSL cert validation by doing: ssl._create_default_https_context = ssl._create_unverified_context inside the gitlab.py (doesn't really matter where we do this i guess). I'm on the latest RB 2.5.6.1 version using Python 2.7.10. Thanks! On

Re: Going to dashboard on ReviewBoard causes this error

2016-07-06 Thread udam . dewaraja
Awesome. That worked. Thanks! On Wednesday, July 6, 2016 at 8:20:12 PM UTC-7, Christian Hammond wrote: > > Your administrator can fix this for you by doing: > > $ rb-site manage /path/to/sitedir shell > >>> from django.contrib.auth.models import User > >>> user =

Re: Going to dashboard on ReviewBoard causes this error

2016-07-06 Thread udam . dewaraja
Nop. I can however go to the All Review Requests link and see the CRs properly. Just doesn't seem to show the current state (e.g. ship-it, comments icon etc). - My Dashboard - New Review Request - All

Going to dashboard on ReviewBoard causes this error

2016-07-06 Thread udam . dewaraja
- Exception thrown for user user123 at http://foo.bar.lan/dashboard/ argument of type 'NoneType' is not iterable Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py", line 112, in get_response response =

Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread udam . dewaraja
Hello, I'm trying to set up reviewboard on Fedora linux. I've already disabled SELinux due to other issues starting up Reviewboard. Running apache with the other recommended settings. Now I have review board setup but cannot get my git repository set up (even after trying for a day). Here's

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread udam . dewaraja
Hi Christian, Thank you for the quick response. I'm using local repo due to not having the gitweb/cgit etc. I locally cloned the git repository under my home directory. The whole repository has read privileges to all users of the system (chmod -R ugo+r foo) already. However, the error message

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread udam . dewaraja
Ok yes, that was the problem. For anyone thats in this bad situation in the future, the way to figure out the issue is as follows: As Christian mentioned, do: sudo -su apache (or user who runs apache) cd to git repo git ls-remote In my case, it was failing to connect via ssh (public key