Re: Reg :RBT POST
Hi David Thanks the problem was in the repo name . I didnt use the root path in svn info Thanks Arjun On Wednesday, 17 September 2014 12:05:50 UTC-7, Arjun A.M. wrote: Hello I have got my reviewboard working but I am facing problems with rbt post. If I do a rbt diff I get the correct value but if I do a rbt post I get ERROR: Error uploading diff HTTP 500 Your review request still exists, but the diff is not attached. http://localhost/r/1/ This is my reviewboard url in .reviewboardrc file : REVIEWBOARD_URL = http://localhost/; Any help would be greatly appreciated Thanks Arjun -- 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.
Reg :RBT POST
Hello I have got my reviewboard working but I am facing problems with rbt post. If I do a rbt diff I get the correct value but if I do a rbt post I get ERROR: Error uploading diff HTTP 500 Your review request still exists, but the diff is not attached. http://localhost/r/1/ This is my reviewboard url in .reviewboardrc file : REVIEWBOARD_URL = http://localhost/; Any help would be greatly appreciated Thanks Arjun -- 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: Reg :RBT POST
] ImportError: SVN integration requires either subvertpy or pysvn THanks Arjun On Wednesday, 17 September 2014 12:05:50 UTC-7, Arjun A.M. wrote: Hello I have got my reviewboard working but I am facing problems with rbt post. If I do a rbt diff I get the correct value but if I do a rbt post I get ERROR: Error uploading diff HTTP 500 Your review request still exists, but the diff is not attached. http://localhost/r/1/ This is my reviewboard url in .reviewboardrc file : REVIEWBOARD_URL = http://localhost/; Any help would be greatly appreciated Thanks Arjun -- 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: Reg :RBT POST
Hi Now I get this I am not sure why there are junk inbetween characters. Also I am using my check out path so where am I going wrong? ERROR: Error uploading diff One or more fields had errors (HTTP 400, API Error 105) path: 'svn%20checkout%20--username% 20agarammangada%20http%3A/ svn.teamforge.mascorp.com/svn/repos/directoryname/trunk/filename' http://svn.teamforge.mascorp.com/svn/repos/xadbapps/trunk/igmp is not a working copy 'svn%20checkout%20--username%20agarammangada%20http%3A/ svn.teamforge.mascorp.com/svn/repos/directoryname/trunk/filename http://svn.teamforge.mascorp.com/svn/repos/xadbapps/trunk/igmp' does not exist Your review request still exists, but the diff is not attached. http://localhost/r/1/ THanks Arjun On Wednesday, 17 September 2014 14:36:00 UTC-7, David Trowbridge wrote: It looks like it doesn't have an svn backend installed. I'd suggest using pysvn. -David On Wed, Sep 17, 2014 at 2:34 PM, Arjun A.M. arjun...@gmail.com javascript: wrote: HI David Here is the apache error log [Wed Sep 17 21:33:01 2014] [error] ERROR:root:Exception thrown for user arjun at http://localhost/api/review-requests/1/diffs/ [Wed Sep 17 21:33:01 2014] [error] [Wed Sep 17 21:33:01 2014] [error] SVN integration requires either subvertpy or pysvn [Wed Sep 17 21:33:01 2014] [error] Traceback (most recent call last): [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/core/handlers/base.py, line 112, in get_response [Wed Sep 17 21:33:01 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/views/decorators/cache.py, line 52, in _wrapped_view_func [Wed Sep 17 21:33:01 2014] [error] response = view_func(request, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/views/decorators/vary.py, line 19, in inner_func [Wed Sep 17 21:33:01 2014] [error] response = func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 495, in __call__ [Wed Sep 17 21:33:01 2014] [error] request, method, view, api_format=api_format, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 566, in call_method_view [Wed Sep 17 21:33:01 2014] [error] return view(request, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 748, in post [Wed Sep 17 21:33:01 2014] [error] return self.create(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 138, in _checklogin [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.7-py2.7.egg/reviewboard/webapi/decorators.py, line 110, in _check [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 287, in _validate [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **new_kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.7-py2.7.egg/reviewboard/webapi/resources/diff.py, line 283, in create [Wed Sep 17 21:33:01 2014] [error] request=request) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.7-py2.7.egg/reviewboard/reviews/forms.py, line 95
Re: Reg :RBT POST
On Wednesday, 17 September 2014 15:11:11 UTC-7, Arjun A.M. wrote: David , Could you please reply to this when you find time Thanks Arjun Hi Now I get this I am not sure why there are junk inbetween characters. Also I am using my check out path so where am I going wrong? ERROR: Error uploading diff One or more fields had errors (HTTP 400, API Error 105) path: 'svn%20checkout%20--username% 20agarammangada%20http%3A/ svn.teamforge.mascorp.com/svn/repos/directoryname/trunk/filename' http://svn.teamforge.mascorp.com/svn/repos/xadbapps/trunk/igmp is not a working copy 'svn%20checkout%20--username%20agarammangada%20http%3A/ svn.teamforge.mascorp.com/svn/repos/directoryname/trunk/filename http://svn.teamforge.mascorp.com/svn/repos/xadbapps/trunk/igmp' does not exist Your review request still exists, but the diff is not attached. http://localhost/r/1/ THanks Arjun On Wednesday, 17 September 2014 14:36:00 UTC-7, David Trowbridge wrote: It looks like it doesn't have an svn backend installed. I'd suggest using pysvn. -David On Wed, Sep 17, 2014 at 2:34 PM, Arjun A.M. arjun...@gmail.com wrote: HI David Here is the apache error log [Wed Sep 17 21:33:01 2014] [error] ERROR:root:Exception thrown for user arjun at http://localhost/api/review-requests/1/diffs/ [Wed Sep 17 21:33:01 2014] [error] [Wed Sep 17 21:33:01 2014] [error] SVN integration requires either subvertpy or pysvn [Wed Sep 17 21:33:01 2014] [error] Traceback (most recent call last): [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/core/handlers/base.py, line 112, in get_response [Wed Sep 17 21:33:01 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/views/decorators/cache.py, line 52, in _wrapped_view_func [Wed Sep 17 21:33:01 2014] [error] response = view_func(request, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.7-py2.7.egg/django/views/decorators/vary.py, line 19, in inner_func [Wed Sep 17 21:33:01 2014] [error] response = func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 495, in __call__ [Wed Sep 17 21:33:01 2014] [error] request, method, view, api_format=api_format, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 566, in call_method_view [Wed Sep 17 21:33:01 2014] [error] return view(request, *args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/resources.py, line 748, in post [Wed Sep 17 21:33:01 2014] [error] return self.create(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 138, in _checklogin [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.7-py2.7.egg/reviewboard/webapi/decorators.py, line 110, in _check [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 117, in _call [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/Djblets-0.8.10-py2.7.egg/djblets/webapi/decorators.py, line 287, in _validate [Wed Sep 17 21:33:01 2014] [error] return view_func(*args, **new_kwargs) [Wed Sep 17 21:33:01 2014] [error] File /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.7-py2.7.egg/reviewboard/webapi/resources/diff.py, line 283, in create [Wed Sep 17 21:33:01 2014] [error] request=request) [Wed
Re: Something broke! (Error 500)
Hi David Yes I did set Debug as true in the settings_local.py file On Friday, 8 August 2014 20:22:54 UTC-7, David Trowbridge wrote: Did you set DEBUG=True? -David On Aug 8, 2014, at 7:28 PM, Arjun A.M. arjun...@gmail.com javascript: wrote: I get a 500 error when I try to open the reviewboard website after installation. Could someone please help me with this.Thanks in advance for the help The apache log looks like this Error opening file for reading: Permission denied Error opening file for reading: Permission denied [Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations [Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user AnonymousUser at http://reviews.example.com/r/ [Sat Aug 09 02:19:26 2014] [error] [Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. [Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last): [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py, line 112, in get_response [Sat Aug 09 02:19:26 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/accounts/decorators.py, line 23, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/site/decorators.py, line 35, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(request, local_site=local_site, *args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/datagrids/views.py, line 38, in all_review_requests [Sat Aug 09 02:19:26 2014] [error] return datagrid.render_to_response(template_name) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/djblets/datagrid/grids.py, line 1042, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return render_to_response(template_name, Context(context)) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py, line 29, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py, line 164, in render_to_string [Sat Aug 09 02:19:26 2014] [error] return t.render(Context(dictionary)) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 140, in render [Sat Aug 09 02:19:26 2014] [error] return self._render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134, in _render [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 840, in render [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 854, in render_node [Sat Aug 09 02:19:26 2014] [error] return node.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py, line 123, in render [Sat Aug 09 02:19:26 2014] [error] return compiled_parent._render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134, in _render [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 840, in render [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 854, in render_node [Sat Aug 09 02:19:26 2014] [error] return node.render(context) [Sat Aug 09 02:19:26 2014
Re: Something broke! (Error 500)
/Django-1.6.5-py2.7.egg/django/template/loader_tags.py, line 123, in render [Mon Aug 11 17:21:31 2014] [error] return compiled_parent._render(context) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134, in _render [Mon Aug 11 17:21:31 2014] [error] return self.nodelist.render(context) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 840, in render [Mon Aug 11 17:21:31 2014] [error] bit = self.render_node(node, context) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 854, in render_node [Mon Aug 11 17:21:31 2014] [error] return node.render(context) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py, line 106, in render [Mon Aug 11 17:21:31 2014] [error] url = self.url(context) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py, line 12, in url [Mon Aug 11 17:21:31 2014] [error] return staticfiles_storage.url(path) [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 139, in url [Mon Aug 11 17:21:31 2014] [error] hashed_name = self.hashed_name(clean_name).replace('', '/') [Mon Aug 11 17:21:31 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 96, in hashed_name [Mon Aug 11 17:21:31 2014] [error] (clean_name, self)) [Mon Aug 11 17:21:31 2014] [error] ValueError: The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. == other_vhosts_access.log == reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:21:30 +] GET /r/ HTTP/1.1 500 558 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 On Friday, 8 August 2014 19:28:37 UTC-7, Arjun A.M. wrote: I get a 500 error when I try to open the reviewboard website after installation. Could someone please help me with this.Thanks in advance for the help The apache log looks like this Error opening file for reading: Permission denied Error opening file for reading: Permission denied [Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations [Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user AnonymousUser at http://reviews.example.com/r/ [Sat Aug 09 02:19:26 2014] [error] [Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. [Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last): [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py, line 112, in get_response [Sat Aug 09 02:19:26 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/accounts/decorators.py, line 23, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/site/decorators.py, line 35, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(request, local_site=local_site, *args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/datagrids/views.py, line 38, in all_review_requests [Sat Aug 09 02:19:26 2014] [error] return datagrid.render_to_response(template_name) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/djblets/datagrid/grids.py, line 1042, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return render_to_response(template_name, Context(context)) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py, line 29, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template
Plugins for visual studio and eclipse
I am tying to research using reviewboard for my company and I was wondering if reviewboard has plugins for eclipse and visual studio. I know there is ereviewboard for eclipse. Is it a part of the official reviewboard? Thanks Arjun -- 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: Something broke! (Error 500)
Hi Daid If I set it back to false its the same log as I provided first Thanks Arjun On Monday, 11 August 2014 12:02:43 UTC-7, David Trowbridge wrote: OK, that's the problem (or at least, is getting in the way of the real problem). DEBUG is meant *only* for developer installs, and not production deployments. Set that back to False. -David On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M. arjun...@gmail.com javascript: wrote: Here is the log after I set Debug as true /var/log/apache2# tail -f * == access.log == == access.log.1 == 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET / HTTP/1.1 200 485 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] GET / HTTP/1.1 200 485 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 == error.log == [Mon Aug 11 17:17:50 2014] [error] return node.render(context) [Mon Aug 11 17:17:50 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py, line 106, in render [Mon Aug 11 17:17:50 2014] [error] url = self.url(context) [Mon Aug 11 17:17:50 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py, line 12, in url [Mon Aug 11 17:17:50 2014] [error] return staticfiles_storage.url(path) [Mon Aug 11 17:17:50 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 139, in url [Mon Aug 11 17:17:50 2014] [error] hashed_name = self.hashed_name(clean_name).replace('', '/') [Mon Aug 11 17:17:50 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 96, in hashed_name [Mon Aug 11 17:17:50 2014] [error] (clean_name, self)) [Mon Aug 11 17:17:50 2014] [error] ValueError: The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. == error.log.1 == [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py, line 12, in url [Sat Aug 09 02:19:26 2014] [error] return staticfiles_storage.url(path) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 139, in url [Sat Aug 09 02:19:26 2014] [error] hashed_name = self.hashed_name(clean_name).replace('', '/') [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 96, in hashed_name [Sat Aug 09 02:19:26 2014] [error] (clean_name, self)) [Sat Aug 09 02:19:26 2014] [error] ValueError: The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. [Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received. Doing graceful restart apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName Error opening file for reading: Permission denied == other_vhosts_access.log == reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] GET / HTTP/1.1 302 389 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:48 +] GET /r/ HTTP/1.1 500 558 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 == other_vhosts_access.log.1 == reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] GET / HTTP/1.1 302 389 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 reviews.example.com:80
Re: Something broke! (Error 500)
] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py, line 106, in render [Mon Aug 11 19:24:05 2014] [error] url = self.url(context) [Mon Aug 11 19:24:05 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py, line 12, in url [Mon Aug 11 19:24:05 2014] [error] return staticfiles_storage.url(path) [Mon Aug 11 19:24:05 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 139, in url [Mon Aug 11 19:24:05 2014] [error] hashed_name = self.hashed_name(clean_name).replace('', '/') [Mon Aug 11 19:24:05 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py, line 96, in hashed_name [Mon Aug 11 19:24:05 2014] [error] (clean_name, self)) [Mon Aug 11 19:24:05 2014] [error] ValueError: The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. == other_vhosts_access.log == reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:19:24:04 +] GET /r/ HTTP/1.1 500 558 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 Settings file :- # Site-specific configuration settings for Review Board # Definitions of these settings can be found at # http://docs.djangoproject.com/en/dev/ref/settings/ # Database configuration DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/var/www/reviews.example.com/data/reviewboard.db', }, } # Unique secret key. Don't share this with anybody. SECRET_KEY = '%_p!q0ii^0#0346ef=2je#lh0g6_mba7u8s^_(55svo4efu' # Cache backend settings. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'localhost:11211', }, } # Extra site information. SITE_ID = 1 SITE_ROOT = '/reviews/' FORCE_SCRIPT_NAME = '' DEBUG = False ALLOWED_HOSTS = ['example.com'] ~ ~ ~ ~ On Monday, 11 August 2014 12:12:05 UTC-7, Christian Hammond wrote: Did you restart Apache after changing it back to False? Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On August 11, 2014 at 12:04:12 PM, Arjun A.M. (arjun...@gmail.com javascript:) wrote: Hi Daid If I set it back to false its the same log as I provided first Thanks Arjun On Monday, 11 August 2014 12:02:43 UTC-7, David Trowbridge wrote: OK, that's the problem (or at least, is getting in the way of the real problem). DEBUG is meant *only* for developer installs, and not production deployments. Set that back to False. -David On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M. arjun...@gmail.com wrote: Here is the log after I set Debug as true /var/log/apache2# tail -f * == access.log == == access.log.1 == 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET / HTTP/1.1 200 485 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] GET / HTTP/1.1 200 485 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] GET /favicon.ico HTTP/1.1 404 499 - Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] GET / HTTP/1.1 304 211 - Mozilla/5.0 (X11
Something broke! (Error 500)
I get a 500 error when I try to open the reviewboard website after installation. Could someone please help me with this.Thanks in advance for the help The apache log looks like this Error opening file for reading: Permission denied Error opening file for reading: Permission denied [Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) `ubuntu' does NOT match server name!? [Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations [Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user AnonymousUser at http://reviews.example.com/r/ [Sat Aug 09 02:19:26 2014] [error] [Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' could not be found with pipeline.storage.PipelineCachedStorage object at 0xa6b2328c. [Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last): [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py, line 112, in get_response [Sat Aug 09 02:19:26 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/accounts/decorators.py, line 23, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/site/decorators.py, line 35, in _check [Sat Aug 09 02:19:26 2014] [error] return view_func(request, local_site=local_site, *args, **kwargs) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/reviewboard/reviewboard/datagrids/views.py, line 38, in all_review_requests [Sat Aug 09 02:19:26 2014] [error] return datagrid.render_to_response(template_name) [Sat Aug 09 02:19:26 2014] [error] File /etc/djblets/djblets/datagrid/grids.py, line 1042, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return render_to_response(template_name, Context(context)) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py, line 29, in render_to_response [Sat Aug 09 02:19:26 2014] [error] return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py, line 164, in render_to_string [Sat Aug 09 02:19:26 2014] [error] return t.render(Context(dictionary)) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 140, in render [Sat Aug 09 02:19:26 2014] [error] return self._render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134, in _render [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 840, in render [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 854, in render_node [Sat Aug 09 02:19:26 2014] [error] return node.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py, line 123, in render [Sat Aug 09 02:19:26 2014] [error] return compiled_parent._render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134, in _render [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 840, in render [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 854, in render_node [Sat Aug 09 02:19:26 2014] [error] return node.render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py, line 123, in render [Sat Aug 09 02:19:26 2014] [error] return compiled_parent._render(context) [Sat Aug 09 02:19:26 2014] [error] File /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py, line 134,
Re: ReviewBoard Hook
On Wed, 12 Mar 2014 08:15:36 -0700 (PDT), Allen zhangsan8...@gmail.com wrote: Hi guys, Does anybody familiar with the Hook system of ReviewBoard? The thing is my team really needs a feature that requires ReviewBoard to create a Jira ticket along with a new code review request. Write an extension is too much work for me and I also dont think it`s a good idea to directly modify the source code of ReviewBoard, so I am wondering is it possible to just write a script, and when a new code review request is published, the ReviewBoard will trigger my script which will do the Jira ticket creation? I have looked into the Hook`s documentation but did not get any helpful information. We initially implemented a reviewboard extension to add the reviewboard URL to JIRA tickets in a Code Review URL field and update the issue status to In Code Review. What we discovered is that, since the operation is synchronous with JIRA, it slowed down submitting changes to reviewboard. Also, when JIRA dies (not an uncommon occurrence), the request to update the JIRA issue can just puke in the log file, cause reviewboard timeouts, and is then subsequently lost. To mitigate these problems, we implemented a cron job that polls for the latest reviewboard changes and updates JIRA out-of-band. The cron job uses the rbtools and jira-python modules. The downside is that the JIRA issue updating is not instantaneous. Cheers, M -- 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: need help hooking up rb to cgit
On Sun, 12 May 2013 19:21:11 -0700, Silurian Ireviken silurianirevi...@gmail.com wrote: I've gotten reviewboard working with my git repo when I keep around a local copy of the checkout, and update it frequently. I'm trying to move to using a url to cgit My cgit setup is pretty unfriendly. any hints on how to make this work or debug this? So here is the url I can use to see a file in my repo in cgi, in 'plain' mode http://search.internet.com/commit/cf8b55f2ef64daf5d148f36ce01a70715c512f68/commit/code_management_tools/add_file_tag.pl?id=7bded99c9be22dccb9a5609f5f975f2faa7753d7 so the file is code_management_tools/add_file_tag.pl and the version is 7bded99c9be22dccb9a5609f5f975f2faa7753d7 In reviewboard admin I have set: ( this is the url I use to clone from command line ) Path: ssh:// operati...@git.internet.com/internet.com/data/git/push/com.internet.push.perl.git Raw file URL mask: http://search.internet.com/commit/cf8b55f2ef64daf5d148f36ce01a70715c512f68/plain/ filename?id=revision This is most certainly the wrong URL. Your email doesn't make it even clear that you are using cgit which is this: http://hjemli.net/git/cgit/ Even if you have a similar system which is not cgit, you might still be able to get this to work. Here is what we use successfully: http://cgit-host/cgit/some_project/blob/filename?id=revision Where some_project is obviously your project's name. The Reviewboard docs recommend using id2. I don't know why it recommends this; I looked into the cgit source code and id2 is just wrong for this use case. Be aware that Reviewboard will continue to insist that the ssh path to the repository is valid even thought RB should not/will not need that URL. To work around this, you can change the raw file URL mask in the database directly or point the ssh URL to a junk repository. Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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: Association between a review and Ship it at the RBClient level
On Mon, 13 May 2013 09:42:24 -0700 (PDT), Jody josephwinston...@gmail.com wrote: I'm confused on how to find if a submitted review has a ship it associated it with it. Does someone have a python fragment that shows how to extract this information along with the person who voted to press ship it? Here's what I have so far: from rbtools.api.client import RBClient client = RBClient(http://iternal_url;) root = client.get_root() requests = root.get_review_requests(status=submitted) review = requests[0] print Review status =, review.status print Review description =, review.description submitter = review.get_submitter() print Submitter =, submitter.fullname target_groups = review.target_groups for group in target_groups: print \tGroup =, group.title target_people = review.target_people for people in target_people: print \tPeople =, people.title The review object itself has the ship_it attribute which you can see here: http://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review/ Above, you named review to be the first review request object which is probably why you are confused. The review request is opened by the submitter and contains zero or more reviews. Once you have the review object, use its link to the user object to get the poster for that review. There are no specific python docs for these tasks, but I agree it certainly would be nice to have more examples. Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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.
python API: target_people access fails
Hello, I am trying to extract user names from the review_request.target_people but I receive an unexpected exception. review_requests = rb_conn.get_root().get_review_requests(time_added_from=time_added, status='pending',max_results=1) for rr in review_requests: for reviewer in rr.target_people: print reviewer Traceback (most recent call last): File rbpoller.py, line 129, in module send_rb_fresh_emails() File rbpoller.py, line 97, in send_rb_fresh_emails for reviewer in rr.target_people: File build/bdist.linux-x86_64/egg/rbtools/api/transport/sync.py, line 142, in next File build/bdist.linux-x86_64/egg/rbtools/api/transport/sync.py, line 162, in __getitem__ File build/bdist.linux-x86_64/egg/rbtools/api/transport/sync.py, line 71, in wrap TypeError: __init__() keywords must be strings My understanding is that the ResourceListField should be iterable. Am I doing something incorrectly? Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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: python API: target_people access fails
On Fri, 22 Mar 2013 15:25:48 -0400, Steven MacLeod ste...@smacleod.ca wrote: That looks correct. I'm not quire sure what's going wrong. Could you provide me with the JSON payload being used to create the review request resource. You can get this by running: review_requests = rb_conn.get_root().get_review_ requests(time_added_from=time_added, status='pending', max_results=1) for rr in review_requests: print rr._resource._payload Sure- here is one sanitized parsed-to-dict JSON structure: {u'status': u'pending', u'last_updated': u'2013-03-22T18:39:57.056Z', u'description': u_, u'links': {u'diffs': {u'href': u'https://reviewboard._.com/api/review-requests/2727/diffs/', u'method': u'GET'}, u'repository': {u'href': u'https://reviewboard._.com/api/repositories/9/', u'method': u'GET', u'title': u'_'}, u'changes': {u'href': u'https://reviewboard._.com/api/review-requests/2727/changes/', u'method': u'GET'}, u'self': {u'href': u'https://reviewboard._.com/api/review-requests/2727/', u'method': u'GET'}, u'update': {u'href': u'https://reviewboard._.com/api/review-requests/2727/', u'method': u'PUT'}, u'last_update': {u'href': u'https://reviewboard._.com/api/review-requests/2727/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'https://reviewboard._.com/api/review-requests/2727/reviews/', u'method': u'GET'}, u'draft': {u'href': u'https://reviewboard._.com/api/review-requests/2727/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'https://reviewboard._.com/api/review-requests/2727/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'https://reviewboard._.com/api/users/_/', u'method': u'GET', u'title': u'_'}, u'screenshots': {u'href': u'https://reviewboard._.com/api/review-requests/2727/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'https://reviewboard._.com/api/review-requests/2727/', u'method': u'DELETE'}}, u'target_groups': [], u'bugs_closed': [u'_'], u'changenum': None, u'target_people': [{u'href': u'https://reviewboard._.com/api/users/_/', u'method': u'GET', u'title': u'_'}, {u'href': u'https://reviewboard._.com/api/users/_/', u'method': u'GET', u'title': u'_'}, {u'href': u'https://reviewboard._.com/api/users/_/', u'method': u'GET', u'title': u'_'}], u'testing_done': u_, u'branch': u'2013-1', u'id': 2727, u'time_added': u'2013-03-22T16:49:32.368Z', u'summary': u'_', u'public': True} Company-specific information has been redacted with underscores. We are using ReviewBoard 1.7.5, in case that matters. Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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: Use new python API to get latest changes
On Thu, 21 Mar 2013 00:12:30 +, A.M. age...@themactionfaction.com wrote: Hello, Is it possible to use the rb API in 1.7.5 to get the changes to reviewboard in the past X minutes (any review request changes)? I am creating a review board poller which will then update a ticket system with links to reviewboard. I had previously made a reviewboard plugin for this task, but our ticket system is sluggish at times, so users are annoyed that the Publish step is blocking/slow. To address this, I would like to poll and update the ticket out-of-band. I figured this out myself. rbclient.get_root().get_review_requests(last_updated_from=X) Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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.
Use new python API to get latest changes
Hello, Is it possible to use the rb API in 1.7.5 to get the changes to reviewboard in the past X minutes (any review request changes)? I am creating a review board poller which will then update a ticket system with links to reviewboard. I had previously made a reviewboard plugin for this task, but our ticket system is sluggish at times, so users are annoyed that the Publish step is blocking/slow. To address this, I would like to poll and update the ticket out-of-band. Thanks. Best regards, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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.