Re: Review Board displays incorrectly
I installed CentOS 7 on a new VM, this time choosing Development and Creative Workstation along with several packages known to be required. This time, Review Board displays correctly. So I'm fairly confident there is a dependency problem of some sort. If I have time, I'm going to start comparing package lists. On Friday, January 9, 2015 at 11:43:52 AM UTC-6, Stephen Gallagher wrote: On Fri, 2015-01-09 at 09:09 -0800, Justin Palmer wrote: Yeah, I rebooted after. This was a fresh CentOS 7 minimal install. Do you test on a full install which might have more packages, Apache modules, python modules... I usually test on a default install. I'll give a minimal install a shot and see if I'm missing a dependency somewhere. -- 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.
Re: Review Board displays incorrectly
On Mon, 2015-01-12 at 07:02 -0800, Justin Palmer wrote: I installed CentOS 7 on a new VM, this time choosing Development and Creative Workstation along with several packages known to be required. This time, Review Board displays correctly. So I'm fairly confident there is a dependency problem of some sort. If I have time, I'm going to start comparing package lists. Interesting, I just installed it from a minimal CentOS 7 installation just now as well. I followed most of your steps as listed earlier except for four additional ones. 1) yum install memcached; systemctl start memcached I don't know if you were using a memcached server on another machine, but if you used the defaults (localhost:11211), then you need to add this manually. Memcached isn't a strict dependency because it doesn't need to be running on the local machine. In Ubuntu terms, we might call this a suggests dependency, but we don't have those in Fedora. Only strict deps at the moment. 2) setsebool -P httpd_can_network_memcache on Make sure SELinux allows apache to contact the local memcached server 3) setsebool -P httpd_can_network_connect_db on Make sure SELinux allows apache to contact the local postgresql server 4) Instead of echo Include apache-wsgi.conf httpd.conf I instead did ln -s \ /var/lib/reviewboard/sites/reviewboard.c7.sgallagh.rht/conf/apache-wsgi.conf /etc/httpd/conf.d/reviewboard-reviewboard.c7.sgallagh.rht.conf This should be functionally identical, though it's *possible* that the merge happens differently. 2) and 3) are probably irrelevant since you said you weren't using SELinux. My best guess is that your issues above were due to not having a running memcached server. Everything is working fine for me. -- 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.
Exception on RB 1.7.5
Dear All, I am using RB version 1.7.5, I see exception in the error.log. I am wanted to know if this is harmful for the application? How to fix it? please advise and help except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:46:14 2015] [notice] child pid 10900 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) /usr/lib64/python2.6/site-packages/mod_python/importer.py:1550: DeprecationWarning: catching of string exceptions is deprecated except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:50:56 2015] [notice] child pid 13222 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 03:28:56 2015] [notice] child pid 10904 exit signal Aborted (6) Thanks, Nilesh -- 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.
Issue 3715 in reviewboard: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int'
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 3715 by mami...@gmail.com: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int' https://code.google.com/p/reviewboard/issues/detail?id=3715 *** READ THIS BEFORE POSTING! *** *** You must complete this form in its entirety, or your bug report will be *** rejected. *** *** If you have a security issue to report, please send it confidentially to *** secur...@reviewboard.org. Posting security-related issues to this bug *** tracker causes us to have to do an emergency release. *** *** For customer support, please post to reviewbo...@googlegroups.com *** *** If you have a patch, please submit it to http://reviews.reviewboard.org/ *** *** This bug tracker is public. Please check that any logs or other information *** that you include has been stripped of confidential information. What version are you running? 2.0.12 What's the URL of the page containing the problem? https://bld-rb01.cisco.com/r/13072/ What steps will reproduce the problem? 1. Not sure - the screen is just crashing after upgrade. 2. 3. What is the expected output? What do you see instead? The screen should not crash. What operating system are you using? What browser? Red Hat Linux 5.5 server and Google Chrome browser. Please provide any additional information below. 2015-01-12 15:33:50,719 - ERROR - - Exception thrown for user mamiles at https://bld-rb01.cisco.com/r/13072/ unsupported operand type(s) for +=: 'instance' and 'int' Traceback (most recent call last): File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/Django-1.6.9-py2.7.egg/django/core/handlers/bas e.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/accoun ts/decorators.py, line 21, in _check return login_required(view_func)(*args, **kwargs) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/Django-1.6.9-py2.7.egg/django/contrib/auth/deco rators.py, line 22, in _wrapped_view return view_func(request, *args, **kwargs) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/site/d ecorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/review s/views.py, line 663, in review_detail changedesc.fields_changed[field_id]) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/fields.py, line 161, in get_change_entry_sections_html 'rendered_html': mark_safe(self.render_change_entry_html(info)), File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/fields.py, line 514, in render_change_entry_html new_lines = list(iter_markdown_lines(new_value)) File /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/markdown_utils.py, line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int' -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3715 in reviewboard: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int'
Comment #1 on issue 3715 by chip...@gmail.com: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int' https://code.google.com/p/reviewboard/issues/detail?id=3715 Hmm, that seems very strange. `i` is never anything but an integer in that code. We have a support contract with Cisco covering at least some of the servers there. I don't know if this is one of them, but let me reach out to our contact there. We might be able to arrange to get more information on this. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Exception on RB 1.7.5
It looks like there's a problem with your mod_python. mod_python is deprecated and unmaintained. The recommended way to deploy Python applications with Apache (including Review Board) is mod_wsgi. -David On Mon Jan 12 2015 at 7:36:32 AM Nilesh Jaiswal nileshj...@gmail.com wrote: Dear All, I am using RB version 1.7.5, I see exception in the error.log. I am wanted to know if this is harmful for the application? How to fix it? please advise and help except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:46:14 2015] [notice] child pid 10900 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) /usr/lib64/python2.6/site-packages/mod_python/importer.py:1550: DeprecationWarning: catching of string exceptions is deprecated except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:50:56 2015] [notice] child pid 13222 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 03:28:56 2015] [notice] child pid 10904 exit signal Aborted (6) Thanks, Nilesh -- 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
Re: Something broke! (Error 500) in dashboard page
Somehow something got corrupted in your database. If you go to Admin Database Local site profiles, you should see two entries for the user who is encountering this. If you delete one, everything should work correctly. -David On Mon Jan 12 2015 at 9:37:57 AM xfwangche...@gmail.com wrote: Hello I have a clean install of v2.0.11 and everything seems well in the admin UI. but when I (as the default admin account) go to the http://reviews.example.com/dashboard/, I get the following error: Something broke! (Error 500) It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator. and the following error can be found in the log file: and I create a new account and have got the same error. and I notice if the user post a review quest and then go to http://reviews.example.com/dashboard/, it works!!! It seems to happen if the user have no any review request. 2015-01-12 13:27:52,851 - ERROR - - Exception thrown for user admin at http://reviews.example.com/dashboard/ get() returned more than one LocalSiteProfile -- it returned 2! Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py, line 22, in _wrapped_view return view_func(request, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 44, in _check_valid_prefs return view_func(request, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/datagrids/views.py, line 58, in dashboard grid = DashboardDataGrid(request, local_site=local_site) File /usr/lib/python2.7/site-packages/reviewboard/datagrids/grids.py, line 204, in __init__ profile=self.profile)[0] File /usr/lib/python2.7/site-packages/django/db/models/manager.py, line 154, in get_or_create return self.get_queryset().get_or_create(**kwargs) File /usr/lib/python2.7/site-packages/django/db/models/query.py, line 376, in get_or_create return self.get(**lookup), False File /usr/lib/python2.7/site-packages/django/db/models/query.py, line 313, in get (self.model._meta.object_name, num)) MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- it returned 2! -- 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.
Re: Issue 3660 in reviewboard: Files randomly get lost from a review request (This is an empty file.)
Updates: Status: Duplicate Mergedinto: 3601 Comment #15 on issue 3660 by trowb...@gmail.com: Files randomly get lost from a review request (This is an empty file.) https://code.google.com/p/reviewboard/issues/detail?id=3660 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3601 in reviewboard: Diffs disappearing and replaced with This is an empty file.
Comment #8 on issue 3601 by trowb...@gmail.com: Diffs disappearing and replaced with This is an empty file. https://code.google.com/p/reviewboard/issues/detail?id=3601 Issue 3660 has been merged into this issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3659 in reviewboard: RBTools 0.6.2 not able to differentiate the binary content
Updates: Labels: EasyFix Comment #12 on issue 3659 by trowb...@gmail.com: RBTools 0.6.2 not able to differentiate the binary content https://code.google.com/p/reviewboard/issues/detail?id=3659 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3715 in reviewboard: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int'
Comment #2 on issue 3715 by mami...@gmail.com: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int' https://code.google.com/p/reviewboard/issues/detail?id=3715 To allow us to see the review in the web GUI I added this code right after the i += 1 line. /local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews diff markdown_utils.py markdown_utils.py.orig 231,232d230 if not isinstance(i, int): i = 1 In this review it seems they cut and pasted the all the test cases and the results of each test. Maybe there was special chars or something in the description. -Marvin -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3687 in reviewboard: rbt - helpful error message when repository cannot be found
Updates: Labels: EasyFix Component-RBTools Comment #1 on issue 3687 by trowb...@gmail.com: rbt - helpful error message when repository cannot be found https://code.google.com/p/reviewboard/issues/detail?id=3687 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Always being prompted for password with rbt post
Do you have to log into the web UI frequently as well, or is it just with RBTools? Would you be able to find out what authentication mechanism is being used on Review Board? LDAP, Active Directory, etc.? Any idea if anybody else is having this problem there? It sort of sounds like the session is expiring too soon on the server, or isn't retrievable after use, as if it's not actually being stored. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: David Resnick abune...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: January 11, 2015 at 11:43:31 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Re: Always being prompted for password with rbt post Writable and seemingly updated each time I use rbt. $ cat ~/.rbtools-cookies # Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html # This is a generated file! Do not edit. reviewboard.company.com FALSE / FALSE 1451493075 rbsessionid d6cmm1l5fcbaw50ofigpns45kio4gukh On Wednesday, January 7, 2015 at 11:20:59 PM UTC+2, David Trowbridge wrote: Can you check to make sure that ~/.rbtools-cookies is writable by your user? -David On Wed Jan 07 2015 at 9:28:55 AM David Resnickwrote: I've been having this problem for a while. I encountered this both on Mac (10.10) and Ubunu 14.04. RBTools 0.6.3, Reviewboard 2.0.10 $ rbt post --debug RBTools 0.6.3 Python 2.7.9 (default, Dec 19 2014, 06:00:59) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] Running on Darwin-14.0.0-x86_64-i386-64bit Home = /Users/username Current directory = /Users/username/proj/project/support Checking for a Subversion repository... Running: svn info --non-interactive Command exited with rc 1: ['svn', 'info', '--non-interactive'] svn: E155007: '/Users/username/proj/project/support' is not a working copy --- Checking for a Git repository... Running: git rev-parse --git-dir Running: git config core.bare Running: git rev-parse --show-toplevel Running: git symbolic-ref -q HEAD Running: git config --get branch.phdl-build.merge Command exited with rc 1: ['git', 'config', '--get', 'branch.phdl-build.merge'] --- Running: git config --get branch.phdl-build.remote Command exited with rc 1: ['git', 'config', '--get', 'branch.phdl-build.remote'] --- Running: git config --get remote.origin.url repository info: Path: ssh://g...@git.company.com/project.git, Base path: , Supports changesets: False Making HTTP GET request to https://reviewboard.company.com/api/ == HTTP Authentication Required Enter authorization information for Web API at reviewboard.company.com Password: Anything I can change locally to fix this? Thanks, David -- 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...@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. -- 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.
Re: Issue 3715 in reviewboard: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int'
Comment #3 on issue 3715 by mami...@gmail.com: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int' https://code.google.com/p/reviewboard/issues/detail?id=3715 We made these changes to the code: diff markdown_utils.py.orig markdown_utils.py 230a231,237 try: print next line is out i print i, i.name, i.value i = int(i.value) except: print we went to except i = 1 This is the output when we access this review. [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e15be9e0 start 2 [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e16346c8 start 10 [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e1634f38 start 24 [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e18c1560 start 25 [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e18d32d8 start 27 [Mon Jan 12 21:42:20 2015] [error] next line is out i [Mon Jan 12 21:42:20 2015] [error] xml.dom.minidom.Attr instance at 0x2af3e19040e0 start 26 I hope this helps. -Marvin 512-423-3542 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3716 in reviewboard: Diff crashing with non-utf8 characters
Updates: Status: PendingReview Owner: trowb...@gmail.com Labels: Component-SCMTools Comment #2 on issue 3716 by trowb...@gmail.com: Diff crashing with non-utf8 characters https://code.google.com/p/reviewboard/issues/detail?id=3716 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Issue 3716 in reviewboard: Diff crashing with non-utf8 characters
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 3716 by msu...@aurea.com: Diff crashing with non-utf8 characters https://code.google.com/p/reviewboard/issues/detail?id=3716 *** READ THIS BEFORE POSTING! *** *** You must complete this form in its entirety, or your bug report will be *** rejected. *** *** If you have a security issue to report, please send it confidentially to *** secur...@reviewboard.org. Posting security-related issues to this bug *** tracker causes us to have to do an emergency release. *** *** For customer support, please post to reviewbo...@googlegroups.com *** *** If you have a patch, please submit it to http://reviews.reviewboard.org/ *** *** This bug tracker is public. Please check that any logs or other information *** that you include has been stripped of confidential information. What version are you running? 2.0.12 What's the URL of the page containing the problem? Any URL that involves a diff on files containing non-utf8 characters. What steps will reproduce the problem? 1. Create new review request. 2. Browse repo 3. Create a review from an existing change. 4. The new review page does not come up with the diff information. 5. The problem is also reproducible when uploading a patch file. What is the expected output? What do you see instead? The patch and diff files, etc should be processed based on the encoding configured on the repository advanced settings in reviewboard. In this case, the advanced setting was configured to: ISO-8859-1 What operating system are you using? What browser? Server is running on Amazon Linux. Latest Version. Browser is Google Chrome latest version. Please provide any additional information below. The files checked into Subversion do not have any svn:mime-type properties set so relying on this reviewboard advanced setting to specify the character encoding. The specific character that is causing a problem is: é This character is encoded as E9 in ISO-8859-1, which is how it appears in the repository or svn diff file. But as C3 A9 in UTF-8, which is why review board gets confused. The error from the logs: 23:12:21ERROR - Failed to generate diff using pysvn for revisions 14128:14129 for path https://subversion.devfactory.com/repos/AureaGCE_Generix: 'utf8' codec can't decode byte 0xe9 in position 534: invalid continuation byte Traceback (most recent call last): File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/scmtools/svn/pysvn.py, line 269, in diff diff_options=['-u']).decode('utf-8') File /usr/lib64/python2.6/encodings/utf_8.py, line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 534: invalid continuation byte 23:12:21ERROR - Unable to update new review request from commit ID 14129: Unable to get diff revisions 14128 through 14129: 'utf8' codec can't decode byte 0xe9 in position 534: invalid continuation byte Traceback (most recent call last): File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/reviews/managers.py, line 146, in create review_request.update_from_commit_id(commit_id) File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/reviews/models/base_review_request_details.py, line 195, in update_from_commit_id self.update_from_committed_change(commit_id) File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/reviews/models/base_review_request_details.py, line 243, in update_from_committed_change commit = self.repository.get_change(commit_id) File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/scmtools/models.py, line 435, in get_change return self.get_scmtool().get_change(revision) File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/scmtools/svn/__init__.py, line 221, in get_change raise self.normalize_error(e) File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/scmtools/svn/__init__.py, line 312, in normalize_error raise SCMError(e) SCMError: Unable to get diff revisions 14128 through 14129: 'utf8' codec can't decode byte 0xe9 in position 534: invalid continuation byte -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: How to link github account on RB 2.0.11
Hi Christian, Do I understand from this response that there is no way for RB to support code review for GitHub Enterprise (github.companyname.com) without buying the power pack? or RB can't support a Git repo with HTTPS protocol? If it is supported can you provide help on how to add a GitHub Enterprise repository? On Monday, November 17, 2014 at 5:06:04 PM UTC-6, Christian Hammond wrote: I know you're using GitLab now, but as an FYI, the built-in GitHub support in Review Board is only for github.com. GitHub Enterprise support is available through Power Pack (https://www.reviewboard.org/powerpack/) Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: MoonWalker daniel.c...@gmail.com javascript: Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Date: November 17, 2014 at 2:33:44 PM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Subject: Re: How to link github account on RB 2.0.11 Thanks David for your replay. I was using the enterprise edition, but I had so many issue, so I decide to use GitLab instead. Unfortunately I have some issues there as well. More details here https://groups.google.com/forum/#!topic/reviewboard/2mO2CjYetdE On Monday, November 17, 2014 1:19:17 PM UTC+11, David Trowbridge wrote: Selecting GitHub means github.com. Are you using GitHub enterprise? -david On Sun, Nov 16, 2014 at 6:16 PM, MoonWalkerwrote: both RB and GitHub are local servers (no internet access) On Monday, November 17, 2014 12:55:11 PM UTC+11, David Trowbridge wrote: It looks like we have some problems with the error handling, but there's some issue attempting to communicate with GitHub's API. Does this machine have access to the internet? Is it possible that you need to configure an HTTP proxy? -David On Sun, Nov 16, 2014 at 5:28 PM, MoonWalker wrote: I we have a private GitHub repo and I am trying to connect to my RB 2.0.11. I noticed that the Account option shows Link a new account but seems like the account is not linked. How shall I link the github account? Please take a look at my screen shoot. P.S this user has admin rights -- 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...@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...@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...@googlegroups.com javascript:. 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.
Re: How to link github account on RB 2.0.11
Hi Tamer, This is correct. You need Power Pack to talk to GitHub Enterprise. Git's protocols are all too limiting to be used in a remote fashion the way code review tools typically need without some sort of wrapper (GitWeb or, preferably, a complete API). This is what GitHub and GitHub Enterprise both provide. Once Power Pack is installed, all you need to do is select GitHub Enterprise when configuring a repository. In future versions of Review Board and Power Pack, we're going to have better integration to support automatically managing repositories on Review Board when they change on GitHub Enterprise. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Tamer Afify tamer.af...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: January 12, 2015 at 5:46:26 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Cc: daniel.cabrera...@gmail.com daniel.cabrera...@gmail.com, christ...@beanbaginc.com christ...@beanbaginc.com Subject: Re: How to link github account on RB 2.0.11 Hi Christian, Do I understand from this response that there is no way for RB to support code review for GitHub Enterprise (github.companyname.com) without buying the power pack? or RB can't support a Git repo with HTTPS protocol? If it is supported can you provide help on how to add a GitHub Enterprise repository? On Monday, November 17, 2014 at 5:06:04 PM UTC-6, Christian Hammond wrote: I know you're using GitLab now, but as an FYI, the built-in GitHub support in Review Board is only for github.com. GitHub Enterprise support is available through Power Pack (https://www.reviewboard.org/powerpack/) Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: MoonWalker Reply: revie...@googlegroups.com Date: November 17, 2014 at 2:33:44 PM To: revie...@googlegroups.com Subject: Re: How to link github account on RB 2.0.11 Thanks David for your replay. I was using the enterprise edition, but I had so many issue, so I decide to use GitLab instead. Unfortunately I have some issues there as well. More details here https://groups.google.com/forum/#!topic/reviewboard/2mO2CjYetdE On Monday, November 17, 2014 1:19:17 PM UTC+11, David Trowbridge wrote: Selecting GitHub means github.com. Are you using GitHub enterprise? -david On Sun, Nov 16, 2014 at 6:16 PM, MoonWalkerwrote: both RB and GitHub are local servers (no internet access) On Monday, November 17, 2014 12:55:11 PM UTC+11, David Trowbridge wrote: It looks like we have some problems with the error handling, but there's some issue attempting to communicate with GitHub's API. Does this machine have access to the internet? Is it possible that you need to configure an HTTP proxy? -David On Sun, Nov 16, 2014 at 5:28 PM, MoonWalker wrote: I we have a private GitHub repo and I am trying to connect to my RB 2.0.11. I noticed that the Account option shows Link a new account but seems like the account is not linked. How shall I link the github account? Please take a look at my screen shoot. P.S this user has admin rights -- 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...@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...@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
Re: Certificate issue during installation on Linux (SUSE Linux Enterprise Server) using easy_install with python2.6
That worked. Thanks a lot. -Rahul On Saturday, 10 January 2015 07:38:36 UTC+5:30, Christian Hammond wrote: You can upgrade it using easy_install: sudo easy_install -U setuptools Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: rahul emmatty rahul...@gmail.com javascript: Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Date: January 9, 2015 at 5:31:45 AM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Cc: rahul...@gmail.com javascript: rahul...@gmail.com javascript:, chri...@beanbaginc.com javascript: chri...@beanbaginc.com javascript: Subject: Re: Certificate issue during installation on Linux (SUSE Linux Enterprise Server) using easy_install with python2.6 Hi Christian, Thanks for the quick reply. I am afraid not. The latest available officially supported installed version for python-setuptools package in SLES11-SP3 is 0.6c8 as of now. :( It would be great if there are some workaround. Regards, Rahul On Friday, 9 January 2015 15:36:11 UTC+5:30, Christian Hammond wrote: Hi Rahul, hmm, that's concerning. It does look to be an older version of setuptools, though. Could you try installing 0.6c9 or higher? Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: rahul emmatty Reply: revie...@googlegroups.com Date: January 9, 2015 at 12:16:06 AM To: revie...@googlegroups.com Subject: Certificate issue during installation on Linux (SUSE Linux Enterprise Server) using easy_install with python2.6 I am receiving the following certificate error during install.Please find the trace # easy_install ReviewBoard from md5 import md5 Searching for ReviewBoard Reading https://pypi.python.org/simple/ReviewBoard/ Reading http://downloads.review-board.org/releases/ Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/ Reading http://downloads.reviewboard.org/nightlies/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ Reading http://www.review-board.org/ Traceback (most recent call last): File /usr/local/bin/easy_install, line 8, in load_entry_point('setuptools==0.6c8', 'console_scripts', 'easy_install')() File /usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py, line 1678, in main with_ei_usage(lambda: File /usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py, line 1666, in with_ei_usage return f() File /usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py, line 1682, in distclass=DistributionWithoutHelpCommands, **kw File /usr/lib64/python2.6/distutils/core.py, line 152, in setup dist.run_commands() File /usr/lib64/python2.6/distutils/dist.py, line 975, in run_commands self.run_command(cmd) File /usr/lib64/python2.6/distutils/dist.py, line 995, in run_command cmd_obj.run() File /usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py, line 211, in run self.easy_install(spec, not self.no_deps) File /usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py, line 440, in easy_install spec, tmpdir, self.upgrade, self.editable, not self.always_copy File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 463, in fetch_distribution self.find_packages(requirement) File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 304, in find_packages self.scan_url(self.index_url + requirement.unsafe_name+'/') File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 617, in scan_url self.process_url(url, True) File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 202, in process_url page = self.process_index(url, page) File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 279, in process_index self.scan_url(new_url) File /usr/lib64/python2.6/site-packages/setuptools/package_index.py, line 617, in scan_url self.process_url(url, True) File
Re: Exception on RB 1.7.5
Thanks David, I have read the document about the deprecation of mod_python. Could you please help me know if this error create any issue in future, considering we stick to mod_python and RB release version 1.7.5 ( which still support mod_python) and the error message we see would cause incorrect behavior of Review Board. If we want to move to mod_wsgi what all changes we need to follow, do we have any documentation regarding the same, if yes then please point me so that i can follow the procedure. Since this error coming in our production server we want to double sure before doing any changes. Thanks, Nilesh On Tue, Jan 13, 2015 at 12:53 AM, David Trowbridge trowb...@gmail.com wrote: It looks like there's a problem with your mod_python. mod_python is deprecated and unmaintained. The recommended way to deploy Python applications with Apache (including Review Board) is mod_wsgi. -David On Mon Jan 12 2015 at 7:36:32 AM Nilesh Jaiswal nileshj...@gmail.com wrote: Dear All, I am using RB version 1.7.5, I see exception in the error.log. I am wanted to know if this is harmful for the application? How to fix it? please advise and help except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:46:14 2015] [notice] child pid 10900 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) /usr/lib64/python2.6/site-packages/mod_python/importer.py:1550: DeprecationWarning: catching of string exceptions is deprecated except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:50:56 2015] [notice] child pid 13222 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead.
Re: Exception on RB 1.7.5
Nilesh, I can't comment about whether it will cause serious problems beyond the warning, because I don't know. However, it looks scary and I wouldn't be surprised if you have issues or corruption. As far as migrating to mod_wsgi, I'd suggest doing a deployment of Review Board on a new server and then comparing the configurations. There's no document that we've written but there's probably plenty out on the internet about switching to wsgi. -David On Mon, Jan 12, 2015 at 8:36 PM Nilesh Jaiswal nileshj...@gmail.com wrote: Thanks David, I have read the document about the deprecation of mod_python. Could you please help me know if this error create any issue in future, considering we stick to mod_python and RB release version 1.7.5 ( which still support mod_python) and the error message we see would cause incorrect behavior of Review Board. If we want to move to mod_wsgi what all changes we need to follow, do we have any documentation regarding the same, if yes then please point me so that i can follow the procedure. Since this error coming in our production server we want to double sure before doing any changes. Thanks, Nilesh On Tue, Jan 13, 2015 at 12:53 AM, David Trowbridge trowb...@gmail.com wrote: It looks like there's a problem with your mod_python. mod_python is deprecated and unmaintained. The recommended way to deploy Python applications with Apache (including Review Board) is mod_wsgi. -David On Mon Jan 12 2015 at 7:36:32 AM Nilesh Jaiswal nileshj...@gmail.com wrote: Dear All, I am using RB version 1.7.5, I see exception in the error.log. I am wanted to know if this is harmful for the application? How to fix it? please advise and help except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:46:14 2015] [notice] child pid 10900 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in class 'reviewboard.accounts.backends.LDAPBackend'. DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior. category=DeprecationWarning) /usr/lib64/python2.6/site-packages/mod_python/importer.py:1550: DeprecationWarning: catching of string exceptions is deprecated except apache.PROG_TRACEBACK, traceblock: Fatal Python error: PyEval_AcquireThread: NULL new thread state [Mon Jan 12 02:50:56 2015] [notice] child pid 13222 exit signal Aborted (6) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/modpython.py:131: DeprecationWarning: The mod_python handler is deprecated; use a WSGI or FastCGI server instead. DeprecationWarning) /usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. _warn(Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability., PowmInsecureWarning) /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. DeprecationWarning /usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
Re: Issue 3555 in reviewboard: ExpatError: not well-formed (invalid token) when browsing to review
Comment #4 on issue 3555 by mami...@gmail.com: ExpatError: not well-formed (invalid token) when browsing to review https://code.google.com/p/reviewboard/issues/detail?id=3555 I am going to open a new issue since this one is closed. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Something broke! (Error 500) in dashboard page
Hello I have a clean install of v2.0.11 and everything seems well in the admin UI. but when I (as the default admin account) go to the http://reviews.example.com/dashboard/, I get the following error: Something broke! (Error 500) It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator. and the following error can be found in the log file: and I create a new account and have got the same error. and I notice if the user post a review quest and then go to http://reviews.example.com/dashboard/, it works!!! It seems to happen if the user have no any review request. 2015-01-12 13:27:52,851 - ERROR - - Exception thrown for user admin at http://reviews.example.com/dashboard/ get() returned more than one LocalSiteProfile -- it returned 2! Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py, line 22, in _wrapped_view return view_func(request, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 44, in _check_valid_prefs return view_func(request, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/datagrids/views.py, line 58, in dashboard grid = DashboardDataGrid(request, local_site=local_site) File /usr/lib/python2.7/site-packages/reviewboard/datagrids/grids.py, line 204, in __init__ profile=self.profile)[0] File /usr/lib/python2.7/site-packages/django/db/models/manager.py, line 154, in get_or_create return self.get_queryset().get_or_create(**kwargs) File /usr/lib/python2.7/site-packages/django/db/models/query.py, line 376, in get_or_create return self.get(**lookup), False File /usr/lib/python2.7/site-packages/django/db/models/query.py, line 313, in get (self.model._meta.object_name, num)) MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- it returned 2! -- 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.
Re: Review Board displays incorrectly
1) yum install memcached; systemctl start memcached I did do this on CentOS 7. On CentOS 6, I even built 1.4.22 from source. $ ps -ef | grep memcached memcach+ 1070 1 0 Jan05 ?00:00:19 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024 2)... 3) setsebool... I disabled SELinux, so this shouldn't matter. 4) ln -s apache-wsgi.conf... On CentOS 6, there is no conf.modules.d directory. All conf.d files are included right after the LoadModule section. This means that LoadModule wsgi_module in conf.d/wsgi.conf may not happen before conf.d/reviewboard.conf. That's why I appended the include at the end. I did move Include apache-wsgi.conf to the line after Include confd.d/*.conf. Review Board still doesn't display correctly. I'm glad you were able to deploy from minimum CentOS 7. I wish I knew what's different about my deployment. On Monday, January 12, 2015 at 9:11:30 AM UTC-6, Stephen Gallagher wrote: On Mon, 2015-01-12 at 07:02 -0800, Justin Palmer wrote: I installed CentOS 7 on a new VM, this time choosing Development and Creative Workstation along with several packages known to be required. This time, Review Board displays correctly. So I'm fairly confident there is a dependency problem of some sort. If I have time, I'm going to start comparing package lists. Interesting, I just installed it from a minimal CentOS 7 installation just now as well. I followed most of your steps as listed earlier except for four additional ones. 1) yum install memcached; systemctl start memcached I don't know if you were using a memcached server on another machine, but if you used the defaults (localhost:11211), then you need to add this manually. Memcached isn't a strict dependency because it doesn't need to be running on the local machine. In Ubuntu terms, we might call this a suggests dependency, but we don't have those in Fedora. Only strict deps at the moment. 2) setsebool -P httpd_can_network_memcache on Make sure SELinux allows apache to contact the local memcached server 3) setsebool -P httpd_can_network_connect_db on Make sure SELinux allows apache to contact the local postgresql server 4) Instead of echo Include apache-wsgi.conf httpd.conf I instead did ln -s \ /var/lib/reviewboard/sites/reviewboard.c7.sgallagh.rht/conf/apache-wsgi.conf /etc/httpd/conf.d/reviewboard-reviewboard.c7.sgallagh.rht.conf This should be functionally identical, though it's *possible* that the merge happens differently. 2) and 3) are probably irrelevant since you said you weren't using SELinux. My best guess is that your issues above were due to not having a running memcached server. Everything is working fine for me. -- 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.