Authentication to Reviewboard Server using post-review from Client host
Hi , We have a reviewBoard instance 1.7.12 running on Rhel6.3 server installed .Our RB server is Integrated with NIS so users are authenticated using unix password . When post-review is run First time from client linux rhel5 host with below command for clearcase repository post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users -*-username= user_Unix_ID* Once this is done ,subsequent post-review doe not ask for password by running post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users but of the client host rebooted ,then post-review has to authenticate to RB server again using post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users -*-username= user_Unix_ID* My question is how can client authentication to ReviewBoard server using post-review should be permanent irrespective the client host reboots . i.e i want run post-review to upload review details to RB server without any authentication ? Please let me know incase you need any more info . -- 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/groups/opt_out.
Re: Authentication to Reviewboard Server using post-review from Client host
Hi Akshaya, post-review stores its cookies in a ~/.post-review-cookies.txt file. If a reboot is causing post-review to have to log in again, then something must be deleting this file. I'd suggest verifying it exists beforehand, rebooting, and see if it's still there, as an initial debugging step. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, Nov 18, 2013 at 1:46 AM, Akshaya Samantaray akshaya.samanta...@gmail.com wrote: Hi , We have a reviewBoard instance 1.7.12 running on Rhel6.3 server installed .Our RB server is Integrated with NIS so users are authenticated using unix password . When post-review is run First time from client linux rhel5 host with below command for clearcase repository post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users -*-username= user_Unix_ID* Once this is done ,subsequent post-review doe not ask for password by running post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users but of the client host rebooted ,then post-review has to authenticate to RB server again using post-review --tracking-branch branch_name --server=rbServer --submit-as=user --target-people= users -*-username= user_Unix_ID* My question is how can client authentication to ReviewBoard server using post-review should be permanent irrespective the client host reboots . i.e i want run post-review to upload review details to RB server without any authentication ? Please let me know incase you need any more info . -- 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/groups/opt_out. -- 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/groups/opt_out.
Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with
Hi Christian, upgrade went fine, djblets is 0.8alpha1 installed. (rb-dev)[rb@xxx ~]$ rb-site upgrade /home/rb/www/rb-dev /home/rb/envs/rb-dev/lib/python2.6/site-packages/pkg_resources.py:979: UserWarning: /home/rb/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). warnings.warn(msg, UserWarning) Rebuilding directory structure Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- /home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465: DeprecationWarning: The 'execute_manager' function is deprecated, you likely need to update your 'manage.py'; please see the Django 1.4 release notes (https://docs.djangoproject.com/en/dev/releases/1.4/). DeprecationWarning) /home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409: DeprecationWarning: The 'setup_environ' function is deprecated, you likely need to update your 'manage.py'; please see the Django 1.4 release notes (https://docs.djangoproject.com/en/dev/releases/1.4/). DeprecationWarning) Creating tables ... Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) No evolution required. --- end log output --- Resetting in-database caches. Upgrade complete! (rb-dev)[rb@xxx ~]$ pip list Django (1.5.5) django-evolution (0.6.9) django-pipeline (1.3.16) Djblets (0.8alpha1) docutils (0.11) ecdsa (0.10) feedparser (5.1.3) futures (2.1.5) Markdown (2.3.1) mimeparse (0.1.3) MySQL-python (1.2.4) osso (0.1) paramiko (1.12.0) PIL (1.1.7) pip (1.4.1) pycrypto (2.6.1) Pygments (1.6) python-dateutil (1.5) python-memcached (1.53) pytz (2013.8) recaptcha-client (1.0.6) ReviewBoard (2.0beta1) setuptools (1.3.2) воскресенье, 17 ноября 2013 г., 4:03:28 UTC+4 пользователь Christian Hammond написал: That's the result of either Djblets not being installed correctly, or rb-site upgrade not being run after fixing up Djblets (or it pulling in the wrong version). I expect the site won't work correctly without it. Christian On Saturday, November 16, 2013, Vlad S. wrote: I have managed to run RB in virtualenv, but get (harmless?) repeating error - https://groups.google.com/forum/#!topic/reviewboard/NGKUWOeJobI /v суббота, 16 ноября 2013 г., 0:43:20 UTC+4 пользователь Christian Hammond написал: Hi, It's not SITE_ID. Assuming you're using a different database for 2.0 (really hope you are), then it's something else. Most likely, it's not using the proper Djblets. Can you check to make sure Djblets 0.8alpha1 is being used within the virtualenv? And if you have any tracebacks in the logs that might indicate, that'd help too. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Fri, Nov 15, 2013 at 3:33 AM, Vlad S. the...@gmail.com wrote: Hi! I am trying out new 2.0 beta1 in a staging virtual env and getting this error: [Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user AnonymousUser at http://rb-dev.[..]/rb/account/login/?next_page=/rb/ dashboard/ [Fri Nov 15 11:10:01 2013] [error] [Fri Nov 15 11:10:01 2013] [error] The file 'djblets/js/jquery.gravy.min.js' could not be found with pipelin e.storage.PipelineCachedStorage object at 0x7f82acfc24d0. [Fri Nov 15 11:10:01 2013] [error] Traceback (most recent call last): RB ws installed with $ easy_install -f http://downloads.reviewboard. org/releases/ReviewBoard/2.0/ -U ReviewBoard in python virtual env. reviewboard.wsgi has been fixed to use virtualenv: --- import os import sys import site # Add the site-packages of the chosen virtualenv to work with site.addsitedir('/home/rb/envs/rb-dev/lib/python2.6/site-packages') os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings os.environ['PYTHON_EGG_CACHE'] = /home/rb/www/rb-dev/tmp/egg_cache os.environ['HOME'] = /home/rb/www/rb-dev/data os.environ['PYTHONPATH'] = '/home/rb/www/rb-dev/conf:' + os.environ.get('PYTHONPATH', '') sys.path = ['/home/rb/www/rb-dev/conf'] + sys.path # Activate rb-dev virtual env activate_env=os.path.expanduser(/home/rb/envs/rb- dev/bin/activate_this.py) execfile(activate_env, dict(__file__=activate_env)) import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() -- I think I made things right but still getting this error with no clue on how to fix this. Shall I change SITE_ID=1? The testing environment is on the site as production one, so I had to isolate that with virtualenv. -- V. ~
How to get the complete content of the New Change
Hi Everyone, In reviewboard Diff page, if you go to each change, there are two columns which show one is from repository and the New Change on the right side of the page. I received a request from developer as this -- Is there a way to copy/download the complete content of the New Change? Basically the user want to get the content of the page's right portion of the diff. I wonder if there is any extension for that. I am using Reviewboard 1.7.4 Thanks for your any help/suggestions? Gene -- 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/groups/opt_out.
djblets 0.8 alpha1 misses *.min.js files in static/
the subj. -- 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/groups/opt_out.
issues upgrading from 6.x to 7.1.18
Hi there, I have upgraded via easy_install -U and rb-site upgrade. I am using apache and mod-wsgi on RH 6.2. This file: import os import sys os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings os.environ['PYTHON_EGG_CACHE'] = /var/www/bla/tmp/egg_cache os.environ['HOME'] = /var/www/bla/data sys.path = ['/var/www/bla/conf'] + sys.path import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() Gives me the the Review Board is taking a nap page and the following error in the apache logs: [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] mod_wsgi (pid=30047): Exception occurred processing WSGI script '/var/www/bla/htdocs/reviewboard.wsgi'. [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] Traceback (most recent call last): [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] File /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/wsgi.py, line 219, in __call__ [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] self.load_middleware() [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] File /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py, line 47, in load_middleware [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] ImproperlyConfigured: Error importing middleware django.middleware.gzip: No module named memcache However, if I use this wsgi file: import os import sys import django sys.path = ['/var/www/bla/conf'] + sys.path def application(environ, start_response): status = '200 OK' output = '' output += 'sys.version = %s\n' % repr(sys.version) output += 'sys.prefix = %s\n' % repr(sys.prefix) output += 'django.version = %s\n' % repr(django.VERSION) for path in sys.path: output += path output += '\n' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] I get the following: sys.version = '2.6.6 (r266:84292, Feb 22 2013, 00:00:18) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]' sys.prefix = '/usr' django.version = (1, 4, 10, 'final', 0) /var/www/bla/conf /var/www/bla/conf /var/www/.local/lib/python2.6/site-packages /var/www/bla /var/www/bla/conf /usr/lib/python2.6/site-packages/ecdsa-0.10-py2.6.egg /usr/lib/python2.6/site-packages/ReviewBoard-1.7.18-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg /usr/lib/python2.6/site-packages/pytz-2013.8-py2.6.egg /usr/lib/python2.6/site-packages/python_memcached-1.53-py2.6.egg /usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg /usr/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg /usr/lib/python2.6/site-packages/paramiko-1.12.0-py2.6.egg /usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg /usr/lib/python2.6/site-packages/Markdown-2.3.1-py2.6.egg /usr/lib/python2.6/site-packages/docutils-0.11-py2.6.egg /usr/lib/python2.6/site-packages/django_pipeline-1.2.24-py2.6.egg /usr/lib/python2.6/site-packages/Djblets-0.7.23-py2.6.egg /usr/lib/python2.6/site-packages/django_evolution-0.6.9-py2.6.egg /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg /usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg /usr/lib/python2.6/site-packages/feedparser-5.1.3-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha-1.0rc1-py2.6.egg /usr/lib/python2.6/site-packages/ecdsa-0.10-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg /usr/lib/python2.6/site-packages/pytz-2013.8-py2.6.egg /usr/lib/python2.6/site-packages/python_memcached-1.53-py2.6.egg /usr/lib/python2.6/site-packages/paramiko-1.12.0-py2.6.egg /usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg /usr/lib/python2.6/site-packages/Markdown-2.3.1-py2.6.egg /usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg /usr/lib/python2.6/site-packages/feedparser-5.1.3-py2.6.egg /usr/lib64/python26.zip /usr/lib64/python2.6 /usr/lib64/python2.6/plat-linux2 /usr/lib64/python2.6/lib-tk /usr/lib64/python2.6/lib-old /usr/lib64/python2.6/lib-dynload /usr/lib64/python2.6/site-packages /usr/lib64/python2.6/site-packages/PIL /usr/lib64/python2.6/site-packages/gst-0.10 /usr/lib64/python2.6/site-packages/gtk-2.0 /usr/lib64/python2.6/site-packages/webkit-1.0 /usr/lib/python2.6/site-packages put which does seem to suggest I have memcached intalled: Any ideas? Thanks! -- 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
Re: issues upgrading from 6.x to 7.1.18
Hi Richard, Certainly strange. I'd expect it to work. Can you run python2.6 and just do: 'import memcache' Also, can you show me the CACHES section of your site's conf/settings_local.py file? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, Nov 18, 2013 at 8:08 AM, Richard Reynolds richie...@gmail.comwrote: Hi there, I have upgraded via easy_install -U and rb-site upgrade. I am using apache and mod-wsgi on RH 6.2. This file: import os import sys os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings os.environ['PYTHON_EGG_CACHE'] = /var/www/bla/tmp/egg_cache os.environ['HOME'] = /var/www/bla/data sys.path = ['/var/www/bla/conf'] + sys.path import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() Gives me the the Review Board is taking a nap page and the following error in the apache logs: [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] mod_wsgi (pid=30047): Exception occurred processing WSGI script '/var/www/bla/htdocs/reviewboard.wsgi'. [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] Traceback (most recent call last): [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] File /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/wsgi.py, line 219, in __call__ [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] self.load_middleware() [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] File /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py, line 47, in load_middleware [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Mon Nov 18 15:51:50 2013] [error] [client 192.168.183.49] ImproperlyConfigured: Error importing middleware django.middleware.gzip: No module named memcache However, if I use this wsgi file: import os import sys import django sys.path = ['/var/www/bla/conf'] + sys.path def application(environ, start_response): status = '200 OK' output = '' output += 'sys.version = %s\n' % repr(sys.version) output += 'sys.prefix = %s\n' % repr(sys.prefix) output += 'django.version = %s\n' % repr(django.VERSION) for path in sys.path: output += path output += '\n' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] I get the following: sys.version = '2.6.6 (r266:84292, Feb 22 2013, 00:00:18) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]' sys.prefix = '/usr' django.version = (1, 4, 10, 'final', 0) /var/www/bla/conf /var/www/bla/conf /var/www/.local/lib/python2.6/site-packages /var/www/bla /var/www/bla/conf /usr/lib/python2.6/site-packages/ecdsa-0.10-py2.6.egg /usr/lib/python2.6/site-packages/ReviewBoard-1.7.18-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg /usr/lib/python2.6/site-packages/pytz-2013.8-py2.6.egg /usr/lib/python2.6/site-packages/python_memcached-1.53-py2.6.egg /usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg /usr/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg /usr/lib/python2.6/site-packages/paramiko-1.12.0-py2.6.egg /usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg /usr/lib/python2.6/site-packages/Markdown-2.3.1-py2.6.egg /usr/lib/python2.6/site-packages/docutils-0.11-py2.6.egg /usr/lib/python2.6/site-packages/django_pipeline-1.2.24-py2.6.egg /usr/lib/python2.6/site-packages/Djblets-0.7.23-py2.6.egg /usr/lib/python2.6/site-packages/django_evolution-0.6.9-py2.6.egg /usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg /usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg /usr/lib/python2.6/site-packages/feedparser-5.1.3-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha-1.0rc1-py2.6.egg /usr/lib/python2.6/site-packages/ecdsa-0.10-py2.6.egg /usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg /usr/lib/python2.6/site-packages/pytz-2013.8-py2.6.egg /usr/lib/python2.6/site-packages/python_memcached-1.53-py2.6.egg /usr/lib/python2.6/site-packages/paramiko-1.12.0-py2.6.egg /usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg /usr/lib/python2.6/site-packages/Markdown-2.3.1-py2.6.egg /usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg /usr/lib/python2.6/site-packages/feedparser-5.1.3-py2.6.egg /usr/lib64/python26.zip /usr/lib64/python2.6 /usr/lib64/python2.6/plat-linux2 /usr/lib64/python2.6/lib-tk /usr/lib64/python2.6/lib-old /usr/lib64/python2.6/lib-dynload /usr/lib64/python2.6/site-packages /usr/lib64/python2.6/site-packages/PIL /usr/lib64/python2.6/site-packages/gst-0.10 /usr/lib64/python2.6/site-packages/gtk-2.0 /usr/lib64/python2.6/site-packages/webkit-1.0