Re: CVS post-review woes
Chris, Thank you very much for your feedback. In the second error, you state that it is attempting to change the repository name. I have observed this path is derived from CVS/Root. Even when I change it to a path that matches my current working directory it still has the same error. The CVS module in this example is called getting Is there something wrong with the way I am doing the first 5 steps? 1. cat CVS/Root :ext:devd...@foo.bar.com/home/cvs 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee 3. cd ./getting 4. vi fee/random.file 5. post-review fee/random.file or the repo bit in admin? repository settings namefoobarrepo path :ext:nmil...@gpscvs.cybersource.com/home/cvs mirror path :ext:devd...@foo.bar.com/home/cvs name devdude password devdude bigoldrock On Aug 28, 2:39 am, Christian Hammond chip...@chipx86.com wrote: Hi, post-review, in the second example, is attempting to change the repository name to 'foo.bar.com/home/cvs', and expects Review Board to have an entry for that. I wasn't sure from your description what values caused the first error output vs. the second. The first error is basically a result of Review Board not being able to authenticate with the CVS server. What version of Review Board are you running? You need 1.5 RC1 to be able to authenticate with :ext: hosts (without doing custom work to store credentials somewhere). If at all possible, you should use provide a read-only, non-SSH-backed repository path to give to Review Board. It'll be faster and won't have authentication issues. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Aug 27, 2010 at 12:29 PM, bigoldrock noeldamonmil...@gmail.comwrote: RB, Please help: I am able to get either Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,gssapi-with-mic,password).\r\ncvs [checkout aborted]: end of file from server (consult above messages if any)\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} or HTTP POSTing tohttp://localhost/reviews/api/json/reviewrequests/new/: {'repository_path': 'foo.bar.com/home/cvs', 'submit_as': 'foo'} Got API Error 206 (HTTP code 200): The repository path specified is not in the list of known repositories Error data: {u'repository_path': u'foo.bar.com/home/cvs', u'stat': u'fail', u'err': {u'msg': u'The repository path specified is not in the list of known repositories', u'code': 206}} depending on how I set up the repository. please provide a functional example for CVS respository settings, post- review command, and path in which you run it. given the following: 1. cat CVS/Root :ext:devd...@foo.bar.com/home/cvs 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee 3. cd ./getting 4. vi fee/random.file 5. post-review fee/random.file repository settings name foobarrepo path :ext:nmil...@gpscvs.cybersource.com/home/cvs mirror path :ext:devd...@foo.bar.com/home/cvs name devdude password devdude post-review -p -d --server=http://localhost/reviews/--submit- as='devdude' --username=devdude --password=devdude --summary='this is a test reviewboard entry' --description='added a single comment to the random.file file' fee what looks wrong or inconsistent? -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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
CVS post-review woes
RB, Please help: I am able to get either Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,gssapi-with-mic,password).\r\ncvs [checkout aborted]: end of file from server (consult above messages if any)\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} or HTTP POSTing to http://localhost/reviews/api/json/reviewrequests/new/: {'repository_path': 'foo.bar.com/home/cvs', 'submit_as': 'foo'} Got API Error 206 (HTTP code 200): The repository path specified is not in the list of known repositories Error data: {u'repository_path': u'foo.bar.com/home/cvs', u'stat': u'fail', u'err': {u'msg': u'The repository path specified is not in the list of known repositories', u'code': 206}} depending on how I set up the repository. please provide a functional example for CVS respository settings, post- review command, and path in which you run it. given the following: 1. cat CVS/Root :ext:devd...@foo.bar.com/home/cvs 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee 3. cd ./getting 4. vi fee/random.file 5. post-review fee/random.file repository settings namefoobarrepo path :ext:nmil...@gpscvs.cybersource.com/home/cvs mirror path :ext:devd...@foo.bar.com/home/cvs name devdude password devdude post-review -p -d --server=http://localhost/reviews/ --submit- as='devdude' --username=devdude --password=devdude --summary='this is a test reviewboard entry' --description='added a single comment to the random.file file' fee what looks wrong or inconsistent? -- 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
AttributeError: type object 'FSDirectory' has no attribute 'getDirectory'
RB guru(s) Please Help OS: Linux Ubuntu rev lang: Python 2.6.4 web: apache2 repo: subversion RB rev: ReviewBoard-1.0.5.1-py2.6.egg search index file setting in general settings: /var/www/reviewboard/ indexInfo/rbindex checklist= * lucene installed and set up for the same rev as RB, 2.6.4 * check mark for search in UI settings * restarted apache2 * typed export http_proxy= just in case that was somehow related (thanks for the last posting about that Chris) * crontab entries present sudo rb-site manage /var/www/reviewboard index -- --full --has the following traceback Traceback (most recent call last): File /usr/local/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.0.5.1', 'console_scripts', 'rb- site')() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1- py2.6.egg/reviewboard/cmdline/rbsite.py, line 1478, in main command.run() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1- py2.6.egg/reviewboard/cmdline/rbsite.py, line 1412, in run site.run_manage_command(args[0], args[1:]) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1- py2.6.egg/reviewboard/cmdline/rbsite.py, line 352, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/management/__init__.py, line 362, in execute_manager utility.execute() File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/management/__init__.py, line 303, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/management/base.py, line 195, in run_from_argv self.execute(*args, **options.__dict__) File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/management/base.py, line 222, in execute output = self.handle(*args, **options) File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/management/base.py, line 351, in handle return self.handle_noargs(**options) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1- py2.6.egg/reviewboard/reviews/management/commands/index.py, line 68, in handle_noargs store = lucene.FSDirectory.getDirectory(store_dir, False) AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' The apache error log has this when I try a search ERROR:root:Exception thrown for user bigoldrock at http://localhost/r/search/?q=PROJX type object 'FSDirectory' has no attribute 'getDirectory' Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/ django/core/handlers/base.py, line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1- py2.6.egg/reviewboard/reviews/views.py, line 727, in search store = lucene.FSDirectory.getDirectory(index_file, False) AttributeError: type object 'FSDirectory' has no attribute 'getDirectory' looking in the index dir I see this bigoldr...@littlerock:~/Downloads/pylucene-3.0.1-1$ ls /var/www/ reviewboard/indexInfo/rbindex/timestamp build/ dist/ INSTALL LICENSEMakefile README CHANGESdoc/ java/ lucene.egg- info/ NOTICE samples/ CREDITSextensions.xml jcc/ lucene- java-3.0.1/ python/test/ Thank you in advance for your work on this issue -- 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
Re: Your request could not be processed. Request could not be handled
Christian, Confirmed, it was the proxy setting. All I did was export http_proxy= and got to the next step in sorting out post-review Thanks! On Mar 4, 3:10 pm, Christian Hammond chip...@chipx86.com wrote: This error page isn't coming from Review Board. It looks like it may be from a proxy? If you have a proxy running between you and Review Board, something may be getting messed up there. Try setting the HTTP_PROXY and http_proxy environment variables to nothing. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Thu, Mar 4, 2010 at 11:18 AM, bigoldrock noeldamonmil...@gmail.comwrote: OS: ubuntu webserver: apache2 DB: mysql post-review is having difficulty talking to reviewboard. Please help. Note* the server is up and running, logs in apache show up upon login, etc. bigoldr...@littlerock:~/Development/hje/branch/1.30$ post-review -d svn info repository info: Path:http://svn.hje.foo.com/svn/hje, Base path: /Deployment/branches/1.30/foodira/foodirb, Supports changesets: False svn diff --diff-cmd=diff Looking for 'localhost /' cookie in /home/bigoldrock/.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: '/home/bigoldrock/.post-review-cookies.txt' == Review Board Login Required Enter username and password for Review Board athttp://localhost/ Username: jschmoe Password: Logging in with username jschmoe HTTP POSTing tohttp://localhost/api/json/accounts/login/: {'username': 'jschmoe', 'password': '**'} html head meta http-equiv=Content-Type content=text/html; charset=us-ascii titleRequest Error/title SCRIPT LANGUAGE=JavaScript !-- if (document.execCommand) { if (document.execCommand(ClearAuthenticationCache, false)) { document.cookie = 'BCSIAC26F1AAE63418B9AA=; path=/'; } } //-- /SCRIPT style !-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:Times New Roman;} h1 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:1; font-size:16.0pt; font-family:Arial; mso-font-kerning:16.0pt; font-weight:bold;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:Times New Roman;} span.SpellE {mso-style-name:; mso-spl-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -- /style /head body bgcolor=white lang=EN-US style='tab-interval:.5in' div class=Section1 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600 style='width:6.25in;mso-cellspacing:0in;mso-padding-alt:7.5pt 7.5pt 7.5pt 7.5pt' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:25.5pt' td style='padding:7.5pt 7.5pt 7.5pt 7.5pt;height:25.5pt' p class=MsoNormalbspan style='font-size:16.0pt;mso-bidi-font- size:12.0pt'GAP INC/span/b./p /td /tr tr style='mso-yfti-irow:1' td style='padding:7.5pt 7.5pt 7.5pt 7.5pt' h3span style='font-family:Arial;color:red'Request Erroro:p/ o:p/span/h3 div class=MsoNormal align=center style='text-align:center'span style='color:red' hr size=1 width=100% align=center /span/div p class=MsoNormalspan style='color:red'o:pnbsp;/o:p/span/ p /td /tr tr style='mso-yfti-irow:2' td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt' p class=MsoNormalspan style='font-size:10.0pt;font- family:Arial'Your request could not be processed. Request could not be handledo:p/o:p/span/p /td /tr tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes' td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt' div class=MsoNormal align=center style='text-align:center' hr size=1 width=100% align=center /div p class=MsoNormal align=right style='text-align:right'ispan style='font-size:7.5pt;font-family:Arial'generated 2010-03-04 at 18:44:57 GMT by prox02rcc.foo.com/span/ispan style='font-size:10.0pt;font- family:Arial' /span/p /td /tr /table p class=MsoNormalo:pnbsp;/o:p/p /div /body /html Unable to accesshttp://localhost/api/json/accounts/login/. The host path may be invalid HTTP Error 400: Bad Request -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users
Your request could not be processed. Request could not be handled
OS: ubuntu webserver: apache2 DB: mysql post-review is having difficulty talking to reviewboard. Please help. Note* the server is up and running, logs in apache show up upon login, etc. bigoldr...@littlerock:~/Development/hje/branch/1.30$ post-review -d svn info repository info: Path: http://svn.hje.foo.com/svn/hje, Base path: /Deployment/branches/1.30/foodira/foodirb, Supports changesets: False svn diff --diff-cmd=diff Looking for 'localhost /' cookie in /home/bigoldrock/.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: '/home/bigoldrock/.post-review-cookies.txt' == Review Board Login Required Enter username and password for Review Board at http://localhost/ Username: jschmoe Password: Logging in with username jschmoe HTTP POSTing to http://localhost/api/json/accounts/login/: {'username': 'jschmoe', 'password': '**'} html head meta http-equiv=Content-Type content=text/html; charset=us-ascii titleRequest Error/title SCRIPT LANGUAGE=JavaScript !-- if (document.execCommand) { if (document.execCommand(ClearAuthenticationCache, false)) { document.cookie = 'BCSIAC26F1AAE63418B9AA=; path=/'; } } //-- /SCRIPT style !-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:Times New Roman;} h1 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:1; font-size:16.0pt; font-family:Arial; mso-font-kerning:16.0pt; font-weight:bold;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:Times New Roman;} span.SpellE {mso-style-name:; mso-spl-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -- /style /head body bgcolor=white lang=EN-US style='tab-interval:.5in' div class=Section1 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600 style='width:6.25in;mso-cellspacing:0in;mso-padding-alt:7.5pt 7.5pt 7.5pt 7.5pt' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:25.5pt' td style='padding:7.5pt 7.5pt 7.5pt 7.5pt;height:25.5pt' p class=MsoNormalbspan style='font-size:16.0pt;mso-bidi-font- size:12.0pt'GAP INC/span/b./p /td /tr tr style='mso-yfti-irow:1' td style='padding:7.5pt 7.5pt 7.5pt 7.5pt' h3span style='font-family:Arial;color:red'Request Erroro:p/ o:p/span/h3 div class=MsoNormal align=center style='text-align:center'span style='color:red' hr size=1 width=100% align=center /span/div p class=MsoNormalspan style='color:red'o:pnbsp;/o:p/span/ p /td /tr tr style='mso-yfti-irow:2' td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt' p class=MsoNormalspan style='font-size:10.0pt;font- family:Arial'Your request could not be processed. Request could not be handledo:p/o:p/span/p /td /tr tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes' td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt' div class=MsoNormal align=center style='text-align:center' hr size=1 width=100% align=center /div p class=MsoNormal align=right style='text-align:right'ispan style='font-size:7.5pt;font-family:Arial'generated 2010-03-04 at 18:44:57 GMT by prox02rcc.foo.com/span/ispan style='font-size:10.0pt;font- family:Arial' /span/p /td /tr /table p class=MsoNormalo:pnbsp;/o:p/p /div /body /html Unable to access http://localhost/api/json/accounts/login/. The host path may be invalid HTTP Error 400: Bad Request -- 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