404 when adding line comment
I just got Review Board up and running today using Apache+mod_python +memcache on Windows (py25). First question: Is this the right group to post a question to? :) Things seem to work fairly smoothly, but when I try to save a comment to a line of code in a diff I get a 404 at the top of the screen. Looking at my apache log I see the following: No FileDiff matches the given query. Traceback (most recent call last): File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core \handlers\base.py, line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\views \decorators\cache.py, line 44, in _wrapped_view_func response = view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\decorators.py, line 20, in _check return view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\json.py, line 1345, in diff_line_comments diffset__revision=diff_revision) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django \shortcuts\__init__.py, line 87, in get_object_or_404 raise Http404('No %s matches the given query.' % queryset.model._meta.object_name) Http404: No FileDiff matches the given query. The diff was uploaded via the post-review tool. Pv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: 404 when adding line comment
Hi, Yep, this is the right mailing list. So first of all, did you mean to install the in-development version? That's perfectly fine, but I want to make sure. Was the review request published? Or did you leave a comment on the diff before publishing the review request? That will cause this. There's a bug or two open on this somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Sep 23, 2009 at 4:56 PM, Pv p...@swooby.com wrote: I just got Review Board up and running today using Apache+mod_python +memcache on Windows (py25). First question: Is this the right group to post a question to? :) Things seem to work fairly smoothly, but when I try to save a comment to a line of code in a diff I get a 404 at the top of the screen. Looking at my apache log I see the following: No FileDiff matches the given query. Traceback (most recent call last): File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core \handlers\base.py, line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\views \decorators\cache.py, line 44, in _wrapped_view_func response = view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\decorators.py, line 20, in _check return view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\json.py, line 1345, in diff_line_comments diffset__revision=diff_revision) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django \shortcuts\__init__.py, line 87, in get_object_or_404 raise Http404('No %s matches the given query.' % queryset.model._meta.object_name) Http404: No FileDiff matches the given query. The diff was uploaded via the post-review tool. Pv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: 404 when adding line comment
Yes, I meant to install and try out the dev version. The review was still a draft and had not been published. I published the review and could make a comment fine. I did a quick discussion search for 404 (and related), but did not see anything. Also interesting, when I had the review in draft and used the admin to view the review request draft to change I got a 500 error. Once published I can admin the non-draft review just fine. Pv On Sep 23, 5:05 pm, Christian Hammond chip...@chipx86.com wrote: Hi, Yep, this is the right mailing list. So first of all, did you mean to install the in-development version? That's perfectly fine, but I want to make sure. Was the review request published? Or did you leave a comment on the diff before publishing the review request? That will cause this. There's a bug or two open on this somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Wed, Sep 23, 2009 at 4:56 PM, Pv p...@swooby.com wrote: I just got Review Board up and running today using Apache+mod_python +memcache on Windows (py25). First question: Is this the right group to post a question to? :) Things seem to work fairly smoothly, but when I try to save a comment to a line of code in a diff I get a 404 at the top of the screen. Looking at my apache log I see the following: No FileDiff matches the given query. Traceback (most recent call last): File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core \handlers\base.py, line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\views \decorators\cache.py, line 44, in _wrapped_view_func response = view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\decorators.py, line 20, in _check return view_func(request, *args, **kwargs) File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-py2.5.egg \reviewboard\webapi\json.py, line 1345, in diff_line_comments diffset__revision=diff_revision) File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django \shortcuts\__init__.py, line 87, in get_object_or_404 raise Http404('No %s matches the given query.' % queryset.model._meta.object_name) Http404: No FileDiff matches the given query. The diff was uploaded via the post-review tool. Pv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---