Re: RBtools 0.7.4 error 105 path not found.
It's reviewboard 2.0.1, we are using Git version 1.9.5. I am not the review board administrator, but I have access to the linux box. If you can point me to where the logs are that'd be really helpful. Thanks! On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote: > > What version of Review Board? What version control system (and version > thereof)? Is there anything in the server log? > > -David > > > On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett> wrote: > >> Sorry if this is a double post. Getting error with some files posting >> using RBTools. Java files seem to work fine. I use something called Mirth >> Connect which generates XML files as code. Basically when RBT tries to >> upload the diff it fails with the 105 error. Attached is the diff. >> >> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://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. >> > -- > -David -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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: RBtools 0.7.4 error 105 path not found.
Also the server log is here: 2015-12-08 14:49:54,420 - ERROR - None - rdejournett - /api/review-requests/5110/diffs/ - Error uploading new diff: Not Found Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/webapi/resources/diff.py", line 292, in create request.FILES.get('parent_diff_path')) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/reviews/forms.py", line 116, in create history) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/forms.py", line 69, in create request=self.request) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", line 156, in create_from_upload save=save) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", line 210, in create_from_data limit_to=diff_filenames): File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", line 300, in _process_files request=request))): File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py", line 238, in get_file_exists base_commit_id, request) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py", line 415, in _get_file_exists_uncached base_commit_id=base_commit_id) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", line 177, in get_file_exists self._api_get_src(repository, path, revision, base_commit_id) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", line 214, in _api_get_src return self._api_get(url, raw_content=True) File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", line 265, in _api_get raise Exception(e.read()) Exception: Not Found On Tuesday, December 8, 2015 at 9:03:25 AM UTC-5, Rob Dejournett wrote: > > It's reviewboard 2.0.1, we are using Git version 1.9.5. I am not the > review board administrator, but I have access to the linux box. If you can > point me to where the logs are that'd be really helpful. > > Thanks! > > > On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote: >> >> What version of Review Board? What version control system (and version >> thereof)? Is there anything in the server log? >> >> -David >> >> >> On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett>> wrote: >> >>> Sorry if this is a double post. Getting error with some files posting >>> using RBTools. Java files seem to work fine. I use something called Mirth >>> Connect which generates XML files as code. Basically when RBT tries to >>> upload the diff it fails with the 105 error. Attached is the diff. >>> >>> -- >>> Supercharge your Review Board with Power Pack: >>> https://www.reviewboard.org/powerpack/ >>> Want us to host Review Board for you? Check out RBCommons: >>> https://rbcommons.com/ >>> Happy user? Let us know! https://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. >>> >> -- >> -David > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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: RBtools 0.7.4 error 105 path not found.
Hi Rob, We've made a lot of improvements to Bitbucket support since we released 2.0.1 in May of last year. You might find 2.0.21 to work better for you. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Dec 8, 2015 at 6:52 AM, Rob Dejournettwrote: > Also the server log is here: > > 2015-12-08 14:49:54,420 - ERROR - None - rdejournett - > /api/review-requests/5110/diffs/ - Error uploading new diff: Not Found > Traceback (most recent call last): > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/webapi/resources/diff.py", > line 292, in create > request.FILES.get('parent_diff_path')) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/reviews/forms.py", > line 116, in create > history) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/forms.py", > line 69, in create > request=self.request) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", > line 156, in create_from_upload > save=save) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", > line 210, in create_from_data > limit_to=diff_filenames): > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py", > line 300, in _process_files > request=request))): > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py", > line 238, in get_file_exists > base_commit_id, request) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py", > line 415, in _get_file_exists_uncached > base_commit_id=base_commit_id) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", > line 177, in get_file_exists > self._api_get_src(repository, path, revision, base_commit_id) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", > line 214, in _api_get_src > return self._api_get(url, raw_content=True) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py", > line 265, in _api_get > raise Exception(e.read()) > Exception: Not Found > > > On Tuesday, December 8, 2015 at 9:03:25 AM UTC-5, Rob Dejournett wrote: >> >> It's reviewboard 2.0.1, we are using Git version 1.9.5. I am not the >> review board administrator, but I have access to the linux box. If you can >> point me to where the logs are that'd be really helpful. >> >> Thanks! >> >> >> On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote: >>> >>> What version of Review Board? What version control system (and version >>> thereof)? Is there anything in the server log? >>> >>> -David >>> >>> >>> On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett >>> wrote: >>> Sorry if this is a double post. Getting error with some files posting using RBTools. Java files seem to work fine. I use something called Mirth Connect which generates XML files as code. Basically when RBT tries to upload the diff it fails with the 105 error. Attached is the diff. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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. >>> -- >>> -David >> >> -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://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. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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
RBTools 0.7.4 error 105 POSTing a diff
I am doing some development which is tracked by XML files. It looks like these XML files are breaking RBTools (java files post file). I get a 105 error stating path is not found. Not really sure what this means. But I strongly suspect its due to parsing of the diff. Attached is said diff (which i hacked the post.py to display). -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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. mydiff Description: Binary data
RBtools 0.7.4 error 105 path not found.
Sorry if this is a double post. Getting error with some files posting using RBTools. Java files seem to work fine. I use something called Mirth Connect which generates XML files as code. Basically when RBT tries to upload the diff it fails with the 105 error. Attached is the diff. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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. >>> RBTools 0.7.4 >>> Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] >>> Running on Darwin-13.4.0-x86_64-i386-64bit >>> Home = /Users/rdejournett >>> Current directory = /Users/rdejournett/mfss-rcm-mirth >>> Running: git version >>> 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.RCMSTATE-763.merge >>> Running: git config --get branch.RCMSTATE-763.remote >>> Running: git config --get remote.origin.url >>> repository info: Path: g...@bitbucket.org:mfgit/mfss-rcm-mirth.git, Base path: , Supports changesets: False >>> Making HTTP GET request to https://rb.dev.medfusion.net/api/ >>> Running: git rev-parse b269f02 >>> Running: git rev-parse b269f02b7feddcba1b53c9e9f6093e7b50374208^ >>> Running: git merge-base 84d258f5e9aa911bf55a048ab6b968bca91098cb origin/development >>> Running: git rev-parse --git-dir >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules -M --no-ext-diff 84d258f5e9aa911bf55a048ab6b968bca91098cb..b269f02b7feddcba1b53c9e9f6093e7b50374208 >>> Making HTTP GET request to https://rb.dev.medfusion.net/api/review-requests/5098/?only-links=diffs%2Cdraft=absolute_url%2Cbugs_closed%2Cid%2Cstatus >>> Making HTTP GET request to https://rb.dev.medfusion.net/api/review-requests/5098/diffs/?only-fields= >>> Making HTTP POST request to https://rb.dev.medfusion.net/api/review-requests/5098/diffs/ >>> Got API Error 105 (HTTP code 400): One or more fields had errors >>> Error data: {u'fields': {u'path': [u'Not Found']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 8, in load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')() File "/Library/Python/2.7/site-packages/RBTools-0.7.4-py2.7.egg/rbtools/commands/main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/Library/Python/2.7/site-packages/RBTools-0.7.4-py2.7.egg/rbtools/commands/__init__.py", line 612, in run_from_argv exit_code = self.main(*args) or 0 File "/Library/Python/2.7/site-packages/RBTools-0.7.4-py2.7.egg/rbtools/commands/post.py", line 799, in main base_dir=base_dir) File "/Library/Python/2.7/site-packages/RBTools-0.7.4-py2.7.egg/rbtools/commands/post.py", line 481, in post_request raise CommandError(u'\n'.join(error_msg)) rbtools.commands.CommandError: Error uploading diff diff --git a/mfss-rcm-mirth-core/pom.xml b/mfss-rcm-mirth-core/pom.xml index a90ed7ac3b983670edb3c0068b071df6a57cd48f..88f626bb3bba3c95d1882dd75d5799579251e16b 100644 --- a/mfss-rcm-mirth-core/pom.xml +++ b/mfss-rcm-mirth-core/pom.xml @@ -53,7 +53,41 @@ maven-jar-plugin 2.6 - ${parent.dir} + ../deploy/custom-lib/Estatements + + + + +org.apache.maven.plugins +maven-clean-plugin +3.0.0 + + + + + ../deploy/custom-lib/Estatements + +*.jar + + true + + + deploy + +* + + true + + + diff --git a/mfss-rcm-mirth-core/src/main/java/com/medfusion/estatement/ge/ProcessGE.java b/mfss-rcm-mirth-core/src/main/java/com/medfusion/estatement/ge/ProcessGE.java index 3c6091fa9105c3b6f879008f0314e969fd8ab2fd..f19b9292f857f2187b5f4776d16f8e2ac2e76a86 100644 --- a/mfss-rcm-mirth-core/src/main/java/com/medfusion/estatement/ge/ProcessGE.java +++ b/mfss-rcm-mirth-core/src/main/java/com/medfusion/estatement/ge/ProcessGE.java @@ -3,6 +3,7 @@ package com.medfusion.estatement.ge; import java.io.StringReader; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Ca
Re: RBtools 0.7.4 error 105 path not found.
What version of Review Board? What version control system (and version thereof)? Is there anything in the server log? -David On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournettwrote: > Sorry if this is a double post. Getting error with some files posting > using RBTools. Java files seem to work fine. I use something called Mirth > Connect which generates XML files as code. Basically when RBT tries to > upload the diff it fails with the 105 error. Attached is the diff. > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://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. > -- -David -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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 1687 in reviewboard: post-review API Error 105
Comment #10 on issue 1687 by akshaya@gmail.com: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 Please help and atleast give some pointer to fix it . -- 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/groups/opt_out.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #11 on issue 1687 by trowb...@gmail.com: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 Akshaya, the error for you is listed in the debug output (though it is unfortunately hidden): The diff file is empty -- 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/groups/opt_out.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #9 on issue 1687 by akshaya@gmail.com: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 We have Reviewboard with clearcase enviroment where uploading diff file using --diff-filename it giving below error and not uplaoding the diff file .Please suggest what could be the issue , sama...@lppc111.lss.emc.com:/vobs/ms-test 121 % post-review --diff-filename=diff.txt --server=https://ppsappdev02.isus.emc.com:443; -d RBTools 0.4.1 Home = /emc/samana1 HTTP GETting api/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/info/ Using the new web API HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/1/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/1/info/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/2/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/2/info/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/3/ HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/3/info/ Attempting to create review request on /view/ppreleng_reviewboardAdmin/vobs/ms-test for None HTTP POSTing to https://ppsappdev02.isus.emc.com:443/api/review-requests/: {'repository': u'/view/ppreleng_reviewboardAdmin/vobs/ms-test'} Review request created Uploading diff, size: 492 HTTP POSTing to https://ppsappdev02.isus.emc.com:443/api/review-requests/379/diffs/: {'basedir': u'/view/ppreleng_reviewboardAdmin/vobs/ms-test'} Got API Error 105 (HTTP code 400): One or more fields had errors Error data: {u'fields': {u'path': [u'The diff file is empty']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. -- 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/groups/opt_out.
post-review error : Got API Error 105 (HTTP code 400): One or more fields had errors
HI Christian, I get post-review error : Got API Error 105 (HTTP code 400): One or more fields had errors, [u'cleartool: Error: Not a vob object: a75177da.2f9344e8.bea8.0e:a7:60:3a:cd:d1.\r\n'] the above generates diff but fails after HTTP POSTing to http we have multiple individual vobs, if i give post-review under the vob which has a repository in RB and .reviewboardrc file it works fine, if give for a file not under the vob path (but in diff vob path) i get the above eror, but there is repository for other vob and a .reviewboardrc file. is there any way workaround so i can run post-review in a songle vob and get all files changed in to one review? pls help how to change post-review python script to not chk this and ignore above error thanks Peer -- 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
Issue 2561 in reviewboard: API Error 105
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2561 by csal...@hotmail.com: API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=2561 * NOTE: Do not post confidential information in this bug report. * * If you need immediate support, please contact* * reviewbo...@googlegroups.com * What version are you running? 1.6.5 What's the URL of the page containing the problem? http://www.rbdemo.com What steps will reproduce the problem? 1.post-review from Windows system 2. 3. What is the expected output? What do you see instead? A valid post-review. Got API Error 105 (HTTP code 400): One or more fields had errors Error data: {u'fields': {u'path': [u'list index out of range']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. There were diffs generated. ReviewBoard Server log: 2012-04-02 10:14:27,554 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 622 2012-04-02 10:14:27,555 - ERROR - Error uploading new diff: list index out of range Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/webapi/resources.py, line 1509, in create request.FILES.get('parent_diff_path')) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/reviews/forms.py, line 286, in create history) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/forms.py, line 63, in create diff_file, basedir, check_existance=(not parent_diff_file))) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/forms.py, line 136, in _process_files for f in tool.get_parser(file.read()).parse(): File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/parser.py, line 49, in parse next_linenum, new_file = self.parse_change_header(i) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/parser.py, line 74, in parse_change_header linenum = self.parse_special_header(linenum, info) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/scmtools/svn.py, line 407, in parse_special_header linenum = super(SVNDiffParser, self).parse_special_header(linenum, info) File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/parser.py, line 125, in parse_special_header info['index'] = self.lines[linenum].split(None, 2)[1] IndexError: list index out of range What operating system are you using? Win 7 What browser? ie9 Please provide any additional information below. The post-review works from a Linux system but does not work from my Windows system. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Post review give me ( Error creating review request: One or more fields had errors (HTTP 400, API Error 105)) help needed
Hi, Till now my post-review tool working fine now when i try to post new review request i am getting error message as below Error creating review request: One or more fields had errors (HTTP 400, API Error 105) How to fix this, what could be possible issues and where to look into, does i need to make any changes in Review board admin side. Any help and pointer will be appreciated. Regards, Nilesh J -- 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: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
That's the trick... in /usr/bin/ Thx Vincent -Original Message- From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 9:51 PM To: Vincent Yee Cc: Christian Hammond; reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Hi, They're both in /usr/local/bin, which is certainly in your user's path, but is it in Apache's? You may want to see what happens if you move those to /usr/bin. Alternatively, you can SetEnv PATH in your web server's config. Christian On Wednesday, March 30, 2011, Vincent Yee v...@sendmail.com wrote: We do have p4 and patch on the client system: $ which p4 /usr/local/bin/p4 $ /usr/local/bin/p4 -V Perforce - The Fast Software Configuration Management System. Copyright 1995-2011 Perforce Software. All rights reserved. Rev. P4/LINUX26X86/2010.2/279478 (2011/01/03). [build@vmtemp01 ~]$ ls -al /usr/local/bin/p4 -rwxr-xr-x 1 root root 777172 Mar 22 14:02 /usr/local/bin/p4 $ which patch /usr/bin/patch $ /usr/bin/patch -v patch 2.5.4 Copyright 1984-1988 Larry Wall Copyright 1989-1999 Free Software Foundation, Inc. $ ls -al /usr/bin/patch -rwxr-xr-x 1 root wheel 91476 Aug 11 2008 /usr/bin/patch From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 5:19 PM To: Vincent Yee Cc: reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Okay, the No such file or directory indicates a configuration problem, but is a step in the right direction. Some program you need is missing, and Review Board's initial checks didn't catch it. Can you make sure that both p4 and patch are both available on that system and accessible/executable? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:59 PM, Vincent Yee v...@sendmail.com wrote: I tried with both in Mirror path: perforce.example:1666 è Error data: {u'fields': {u'path': [u'[Errno 2] No such file or directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} :1666 è Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 4:42 PM To: Vincent Yee Cc: reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors The error message says you're just using :1666. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:38 PM, Vincent Yee v...@sendmail.com wrote: Ok now it’s a different error with Mirror path: perforce.example.com:1666 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/20/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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
post-review perforce changelist -- API Error 105, Error data
I submitted two review requests, but only one succeeded. ** SUCCESSFUL: [~]$ post-review //path/to/file#8 --debug svn info p4 info repository info: Path: perforce.server.com:1666, Base path: None, Supports changesets: True p4 counters Writing //path/to/file#8 to /tmp/tmpqGKzlE p4 print -o /tmp/tmpqGKzlE -q //path/to/file#8 diff -urNp /tmp/tmpOVbHra /tmp/tmpqGKzlE Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.server.com:1666 for None HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: {'repository_path': 'perforce/server.com:1666'} Review request created Uploading diff, size: 7291 HTTP POSTing to http://ip.address/api/json/reviewrequests/176/diff/new/: {} Review request #176 posted. UNSUCCESSFUL: [~]$ post-review changelist --debug svn info p4 info repository info: Path: perforce.server.com:1666, Base path: None, Supports changesets: True p4 counters Generating diff for changenum changelist p4 describe -s changelist Processing edit of //path/to/file Writing //path/to/file#7 to /tmp/tmpePxLve p4 print -o /tmp/tmpePxLve -q //path/to/file#7 Writing //path/to/file#8 to /tmp/tmpNjfomF p4 print -o /tmp/tmpNjfomF -q //path/to/file#8 diff -urNp /tmp/tmpePxLve /tmp/tmpNjfomF Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.server.com:1666 for changelist HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: {'repository_path': 'perforce.server.com:1666', 'changenum': 'changelist'} Review request created Uploading diff, size: 1427 HTTP POSTing to http://ip.address/api/json/reviewrequests/175/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {'fields': {'path': ['[Errno 2] No such file or directory']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. ** What could be the issue?? Thanks in advance. -- 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
post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
trying to setup post-review with perforce got the following error. I am able to ping and telnet to the perforce server from my client my repository setting is: Hosting service: Custom Repository type: Perforce Path: perforce.example.com Username: useranme Password: password $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpzT7Exi p4 print -o /tmp/tmpzT7Exi -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpzT7Exi /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.lab-example /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.com for None HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.example.com'} Review request created Attempting to set field 'summary' to 'p4-testing-change' for review request '12' HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to perforce.example.com failed.\nperforce.example.com: service unknown.\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. $ post-review --debug --summary=p4-testing-change --output-diff RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpDCtOBl p4 print -o /tmp/tmpDCtOBl -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpDCtOBl /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API --- //depot/Iocaine/main/Product/build.xml //depot/Iocaine/main/ Product/build.xml#197 +++ //depot/Iocaine/main/Product/build.xml 2011-03-30 06:09:25 @@ -1,4 +1,5 @@ project name=Iocaine default=all-nodist basedir=. +project name=Iocaine default=all-nodist basedir=. property environment=env / property name=src_dir value=src/ / $ what does check $P4PORT.\nTCP connect to perforce.example.com failed. mean? -- 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: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
Sounds like the Review Board server isn't able to contact your Perforce server for some reason. Might want to try SSHing into that server, temporarily setting P4PORT in your session, and accessing the server. Or try pinging it for an initial test. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 3:36 PM, storms v...@sendmail.com wrote: trying to setup post-review with perforce got the following error. I am able to ping and telnet to the perforce server from my client my repository setting is: Hosting service: Custom Repository type: Perforce Path: perforce.example.com Username: useranme Password: password $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpzT7Exi p4 print -o /tmp/tmpzT7Exi -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpzT7Exi /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.lab-example /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.com for None HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.example.com'} Review request created Attempting to set field 'summary' to 'p4-testing-change' for review request '12' HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to perforce.example.com failed.\ nperforce.example.com: service unknown.\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. $ post-review --debug --summary=p4-testing-change --output-diff RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpDCtOBl p4 print -o /tmp/tmpDCtOBl -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpDCtOBl /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API --- //depot/Iocaine/main/Product/build.xml //depot/Iocaine/main/ Product/build.xml#197 +++ //depot/Iocaine/main/Product/build.xml 2011-03-30 06:09:25 @@ -1,4 +1,5 @@ project name=Iocaine default=all-nodist basedir=. +project name=Iocaine default=all-nodist basedir=. property environment=env / property name=src_dir value=src/ / $ what does check $P4PORT.\nTCP connect to perforce.example.com failed. mean? -- 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 -- 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: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
On my client I have set export P4PORT=perforce.example.com:1666 Ping perforce.example.com works PING repoman.example.com (x.y.z.a) 56(84) bytes of data. 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=1 ttl=63 time=0.504 ms 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=2 ttl=63 time=0.335 ms $ telnet perforce.example.com 1666 Trying x.y.z.a... Connected to perforce.example.com (x.y.z.a). Escape character is '^]'. ;;xfiles5server3server217funprotocol^] telnet From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 3:41 PM To: reviewboard@googlegroups.com Cc: Vincent Yee Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Sounds like the Review Board server isn't able to contact your Perforce server for some reason. Might want to try SSHing into that server, temporarily setting P4PORT in your session, and accessing the server. Or try pinging it for an initial test. Christian -- Christian Hammond - chip...@chipx86.commailto:chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 3:36 PM, storms v...@sendmail.commailto:v...@sendmail.com wrote: trying to setup post-review with perforce got the following error. I am able to ping and telnet to the perforce server from my client my repository setting is: Hosting service: Custom Repository type: Perforce Path: perforce.example.comhttp://perforce.example.com Username: useranme Password: password $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666http://repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpzT7Exi p4 print -o /tmp/tmpzT7Exi -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpzT7Exi /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.lab-example /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.comhttp://perforce.example.com for None HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.example.comhttp://perforce.example.com'} Review request created Attempting to set field 'summary' to 'p4-testing-change' for review request '12' HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to perforce.example.comhttp://perforce.example.com failed.\nperforce.example.comhttp://nperforce.example.com: service unknown.\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. $ post-review --debug --summary=p4-testing-change --output-diff RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666http://repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpDCtOBl p4 print -o /tmp/tmpDCtOBl -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpDCtOBl /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API --- //depot/Iocaine/main/Product/build.xml //depot/Iocaine/main/ Product/build.xml#197 +++ //depot/Iocaine/main/Product/build.xml 2011-03-30 06:09:25 @@ -1,4 +1,5 @@ project name=Iocaine default=all-nodist basedir=. +project name=Iocaine
Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
The repository entry you showed doesn't seem to have :1666? Try adding the port. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:00 PM, Vincent Yee v...@sendmail.com wrote: On my client I have set export P4PORT=perforce.example.com:1666 Ping perforce.example.com works PING repoman.example.com (x.y.z.a) 56(84) bytes of data. 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=1 ttl=63 time=0.504 ms 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=2 ttl=63 time=0.335 ms $ telnet perforce.example.com 1666 Trying x.y.z.a... Connected to perforce.example.com (x.y.z.a). Escape character is '^]'. ;;xfiles5server3server217funprotocol^] telnet -- *From:* chip...@gmail.com [mailto:chip...@gmail.com] *On Behalf Of *Christian Hammond *Sent:* Wednesday, March 30, 2011 3:41 PM *To:* reviewboard@googlegroups.com *Cc:* Vincent Yee *Subject:* Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Sounds like the Review Board server isn't able to contact your Perforce server for some reason. Might want to try SSHing into that server, temporarily setting P4PORT in your session, and accessing the server. Or try pinging it for an initial test. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 3:36 PM, storms v...@sendmail.com wrote: trying to setup post-review with perforce got the following error. I am able to ping and telnet to the perforce server from my client my repository setting is: Hosting service: Custom Repository type: Perforce Path: perforce.example.com Username: useranme Password: password $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpzT7Exi p4 print -o /tmp/tmpzT7Exi -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpzT7Exi /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.lab-example /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.com for None HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.example.com'} Review request created Attempting to set field 'summary' to 'p4-testing-change' for review request '12' HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/12/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to perforce.example.com failed.\ nperforce.example.com: service unknown.\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. $ post-review --debug --summary=p4-testing-change --output-diff RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpDCtOBl p4 print -o /tmp/tmpDCtOBl -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpDCtOBl /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API --- //depot/Iocaine/main/Product/build.xml //depot/Iocaine/main/ Product/build.xml#197 +++ //depot/Iocaine/main
Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
Try putting the :1666 one in Mirror Path. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:19 PM, Vincent Yee v...@sendmail.com wrote: I get a different error message if I have :1666 on my repository entry (Got API Error 206 (HTTP code 200) $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.smi.sendmail.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpIdYR5a p4 print -o /tmp/tmpIdYR5a -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpIdYR5a /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.qa-lab.sendmail.com /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.com for None HTTP POSTing to http://vmreviews.qa-lab.sendmail.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.smi.sendmail.com'} 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'perforce.example.com', u'stat': u'fail', u'err': {u'msg': u'The repository path specified is not in the list of known repositories', u'code': 206}, u'deprecated': {u'in_version': u'1.5'}} There was an error creating this review request. The repository path repoman.example.com:1666 is not in the list of known repositories on the server. Ask the administrator to add this repository to the Review Board server. For information on adding repositories, please read http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/ -- *From:* chip...@gmail.com [mailto:chip...@gmail.com] *On Behalf Of *Christian Hammond *Sent:* Wednesday, March 30, 2011 4:08 PM *To:* Vincent Yee *Cc:* reviewboard@googlegroups.com *Subject:* Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors The repository entry you showed doesn't seem to have :1666? Try adding the port. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:00 PM, Vincent Yee v...@sendmail.com wrote: On my client I have set export P4PORT=perforce.example.com:1666 Ping perforce.example.com works PING repoman.example.com (x.y.z.a) 56(84) bytes of data. 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=1 ttl=63 time=0.504 ms 64 bytes from repoman.example.com (x.y.z.a): icmp_seq=2 ttl=63 time=0.335 ms $ telnet perforce.example.com 1666 Trying x.y.z.a... Connected to perforce.example.com (x.y.z.a). Escape character is '^]'. ;;xfiles5server3server217funprotocol^] telnet -- *From:* chip...@gmail.com [mailto:chip...@gmail.com] *On Behalf Of *Christian Hammond *Sent:* Wednesday, March 30, 2011 3:41 PM *To:* reviewboard@googlegroups.com *Cc:* Vincent Yee *Subject:* Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Sounds like the Review Board server isn't able to contact your Perforce server for some reason. Might want to try SSHing into that server, temporarily setting P4PORT in your session, and accessing the server. Or try pinging it for an initial test. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 3:36 PM, storms v...@sendmail.com wrote: trying to setup post-review with perforce got the following error. I am able to ping and telnet to the perforce server from my client my repository setting is: Hosting service: Custom Repository type: Perforce Path: perforce.example.com Username: useranme Password: password $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.example.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml
RE: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
Ok now it's a different error with Mirror path: perforce.example.com:1666 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/20/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.qa-lab.sendmail.com/reviews/api/json/reviewrequests/20/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[Errno 2] No such file or directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. [build@vmtemp01 Product]$ If putting jsut :1666 in Mirror path, It returns the original error: Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 4:23 PM To: Vincent Yee Cc: reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Try putting the :1666 one in Mirror Path. Christian -- Christian Hammond - chip...@chipx86.commailto:chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:19 PM, Vincent Yee v...@sendmail.commailto:v...@sendmail.com wrote: I get a different error message if I have :1666 on my repository entry (Got API Error 206 (HTTP code 200) $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.smi.sendmail.com:1666http://repoman.smi.sendmail.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpIdYR5a p4 print -o /tmp/tmpIdYR5a -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpIdYR5a /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.qa-lab.sendmail.comhttp://vmreviews.qa-lab.sendmail.com /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.comhttp://perforce.example.com for None HTTP POSTing to http://vmreviews.qa-lab.sendmail.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.smi.sendmail.comhttp://perforce.smi.sendmail.com'} 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'perforce.example.comhttp://perforce.example.com', u'stat': u'fail', u'err': {u'msg': u'The repository path specified is not in the list of known repositories', u'code': 206}, u'deprecated': {u'in_version': u'1.5'}} There was an error creating this review request. The repository path repoman.example.com:1666http://repoman.example.com:1666 is not in the list of known repositories on the server. Ask the administrator to add this repository to the Review Board server. For information on adding repositories, please read http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/ From: chip...@gmail.commailto:chip...@gmail.com [mailto:chip...@gmail.commailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 4:08 PM To: Vincent Yee Cc: reviewboard@googlegroups.commailto:reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors The repository entry you showed doesn't seem to have :1666? Try adding the port. Christian -- Christian Hammond - chip...@chipx86.commailto:chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:00 PM, Vincent Yee v...@sendmail.commailto:v...@sendmail.com wrote: On my client I have set export P4PORT=perforce.example.com:1666http://perforce.example.com:1666 Ping perforce.example.comhttp://perforce.example.com works PING
Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
Okay, the No such file or directory indicates a configuration problem, but is a step in the right direction. Some program you need is missing, and Review Board's initial checks didn't catch it. Can you make sure that both p4 and patch are both available on that system and accessible/executable? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:59 PM, Vincent Yee v...@sendmail.com wrote: I tried with both in Mirror path: perforce.example:1666 è Error data: {u'fields': {u'path': [u'[Errno 2] No such file or directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} :1666 è Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} -- *From:* chip...@gmail.com [mailto:chip...@gmail.com] *On Behalf Of *Christian Hammond *Sent:* Wednesday, March 30, 2011 4:42 PM *To:* Vincent Yee *Cc:* reviewboard@googlegroups.com *Subject:* Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors The error message says you're just using :1666. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:38 PM, Vincent Yee v...@sendmail.com wrote: Ok now it’s a different error with Mirror path: perforce.example.com:1666 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/20/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 HTTP POSTing to http://vmreviews.qa-lab.sendmail.com/reviews/api/json/reviewrequests/20/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'[Errno 2] No such file or directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. [build@vmtemp01 Product]$ If putting jsut :1666 in Mirror path, It returns the original error: Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} -- *From:* chip...@gmail.com [mailto:chip...@gmail.com] *On Behalf Of *Christian Hammond *Sent:* Wednesday, March 30, 2011 4:23 PM *To:* Vincent Yee *Cc:* reviewboard@googlegroups.com *Subject:* Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Try putting the :1666 one in Mirror Path. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:19 PM, Vincent Yee v...@sendmail.com wrote: I get a different error message if I have :1666 on my repository entry (Got API Error 206 (HTTP code 200) $ post-review --debug --summary=p4-testing-change RBTools 0.3.2 Home = /home/build svn info p4 info repository info: Path: repoman.smi.sendmail.com:1666, Base path: None, Supports changesets: True HTTP GETting api/ HTTP GETting http://vmreviews.lab-example.com/reviews/api/info/ Using the new web API Generating diff for changenum default p4 opened -c default Processing edit of //depot/Iocaine/main/Product/build.xml Writing //depot/Iocaine/main/Product/build.xml#197 to /tmp/tmpIdYR5a p4 print -o /tmp/tmpIdYR5a -q //depot/Iocaine/main/Product/build.xml#197 diff -urNp /tmp/tmpIdYR5a /home/build/build_client/Iocaine/main/Product/build.xml Using changenums on Review Board 1.5.2. Falling back to the deprecated 1.0 API == Review Board Login Required Enter username and password for Review Board at http://vmreviews.lab-example.com/reviews/ Looking for 'vmreviews.qa-lab.sendmail.com /reviews/' cookie in /home/build/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.example.com for None HTTP POSTing to http://vmreviews.qa-lab.sendmail.com/reviews/api/json/reviewrequests/new/: {'repository_path': 'perforce.smi.sendmail.com'} Got API Error 206 (HTTP code 200): The repository path specified
Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors
Hi, They're both in /usr/local/bin, which is certainly in your user's path, but is it in Apache's? You may want to see what happens if you move those to /usr/bin. Alternatively, you can SetEnv PATH in your web server's config. Christian On Wednesday, March 30, 2011, Vincent Yee v...@sendmail.com wrote: We do have p4 and patch on the client system: $ which p4 /usr/local/bin/p4 $ /usr/local/bin/p4 -V Perforce - The Fast Software Configuration Management System. Copyright 1995-2011 Perforce Software. All rights reserved. Rev. P4/LINUX26X86/2010.2/279478 (2011/01/03). [build@vmtemp01 ~]$ ls -al /usr/local/bin/p4 -rwxr-xr-x 1 root root 777172 Mar 22 14:02 /usr/local/bin/p4 $ which patch /usr/bin/patch $ /usr/bin/patch -v patch 2.5.4 Copyright 1984-1988 Larry Wall Copyright 1989-1999 Free Software Foundation, Inc. $ ls -al /usr/bin/patch -rwxr-xr-x 1 root wheel 91476 Aug 11 2008 /usr/bin/patch From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 5:19 PM To: Vincent Yee Cc: reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Okay, the No such file or directory indicates a configuration problem, but is a step in the right direction. Some program you need is missing, and Review Board's initial checks didn't catch it. Can you make sure that both p4 and patch are both available on that system and accessible/executable? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:59 PM, Vincent Yee v...@sendmail.com wrote: I tried with both in Mirror path: perforce.example:1666 è Error data: {u'fields': {u'path': [u'[Errno 2] No such file or directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} :1666 è Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 4:42 PM To: Vincent Yee Cc: reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors The error message says you're just using :1666. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 4:38 PM, Vincent Yee v...@sendmail.com wrote: Ok now it’s a different error with Mirror path: perforce.example.com:1666 HTTP POSTing to http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/20/draft/set/: {'summary': 'p4-testing-change'} Uploading diff, size: 361 -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Issue 1713 in reviewboard: postreview.py fails with API Error 105
Updates: Status: Incomplete Comment #4 on issue 1713 by trowbrds: postreview.py fails with API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1713 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #7 on issue 1687 by mail4visu: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 Today I tried running post-review as shown below and I got error as The diff file is empty rather than previous The submitted file is empty error. How can I resolve this issue? post-review --diff-filename=attr_fn_acl.c -d --server=http://x.y.z.a:8082 svn info git rev-parse --git-dir p4 info repository info: Path: a.b.c.d:1666, Base path: None, Supports changesets: True Looking for 'x.y.z.a /' cookie in /home/viswesn/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on trperforce01:2666 for None HTTP POSTing to http://x.y.z.a:8082/api/json/reviewrequests/new/: {'repository_path': 'a.b.c.d:1666'} Review request created Uploading diff, size: 15723 HTTP POSTing to http://x.y.z.a:8082/api/json/reviewrequests/8/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'The diff file is empty']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #3 on issue 1687 by mail4visu: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 I am getting the same error as shown below, I upgraded by server by running 'rb-site upgrade /path too. On running p4 diff, I was able to see the difference made in workspace and repository but post-review --server=http://reviewboardserver:port fails as below Please let me know how to resolve this issue as I find in previous post it issue with configuration in server but It is not clear with what configuration issue will resolve this. Thanks HTTP POSTing to http://x.x.x.x:yy/api/json/reviewrequests/new/: {'repository_path': 'perforceserver:1666'} Review request created Uploading diff, size: 0 HTTP POSTing to http://x.x.x.x:yy/api/json/reviewrequests/4/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'The submitted file is empty.']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} --- -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #5 on issue 1687 by chipx86: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 We don't use p4 diff. Can you run post-review with --output-diff and see what it sees? -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1713 in reviewboard: postreview.py fails with API Error 105
Comment #2 on issue 1713 by lihuihhxx: postreview.py fails with API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1713 when i run `rb-site upgrade`, it tells meNo evolution required. So what causes the Got API Error 105 (HTTP code 200): One or more fields had errors -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1713 in reviewboard: postreview.py fails with API Error 105
Updates: Status: NeedInfo Owner: chipx86 Comment #3 on issue 1713 by chipx86: postreview.py fails with API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1713 You can get the API Error 105 for many reasons, but if it specifically says table diffviewer_filediff has no column named status then the evolution still needs to be applied. Of course, the question is, why didn't rb-site see that an evolution was missing. Can you look at the second line of your rb-site script? (I assume /usr/bin/rb-site). See what version it's referring to. It's possible, I suppose, that rb-site is running as the old version and therefore not seeing the new evolution files. Was the upgrade done using easy_install? -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Issue 1713 in reviewboard: postreview.py fails with API Error 105
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1713 by daniel.shiryu: postreview.py fails with API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1713 We use the pre-commit-hook from this review: http://reviews.reviewboard.org/r/822/ It uses the api-classes in reviewboard.py from RBTools 0.2 to make the calls to the server and create a new review-request. Since upgrading from 1.5beta2 to 1.5rc1 the commit-hook does not work anymore because of the following error: HTTP POSTing to http://reviewboard.xxx.com/api/json/reviewrequests/44/diff/new/: {'basedir': '/'} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {'fields': {'path': ['table diffviewer_filediff has no column named status']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}, 'deprecated': {'in_version': '1.5'}} Is this a regression introduced in ReviewBoard 1.5rc1, or is it that reviewboard.py or the pre-commit-hook is outdated and needs fixing? What version are you running? ReviewBoard 1.5RC1. What's the URL of the page containing the problem? Probably api/json/reviewrequests/44/diff/new/ What steps will reproduce the problem? 1. Try to create a new review-request through the commit-handler (which uses postreview.py) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1713 in reviewboard: postreview.py fails with API Error 105
Comment #1 on issue 1713 by chipx86: postreview.py fails with API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1713 Neither. It looks like you didn't run 'rb-site upgrade' on your site, so there are fields missing from your database. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1687 in reviewboard: post-review API Error 105
Comment #1 on issue 1687 by Anthony.L.Chen: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 This issue can be closed due to user error/configuration problem or marked as a feature request. The reviewboard repository was configured incorrectly as the wrong type. It might be nice if it is possible to test the validity of the configuration or just determine the server type without user input. Thank you Christian for helping diagnose this offline. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1687 in reviewboard: post-review API Error 105
Updates: Status: SetupIssue Comment #2 on issue 1687 by chipx86: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Issue 1687 in reviewboard: post-review API Error 105
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1687 by Anthony.L.Chen: post-review API Error 105 http://code.google.com/p/reviewboard/issues/detail?id=1687 *NOTE: Do not post confidential information in this bug report.* What version are you running? RBTools 0.2, Rb 1.5B2 What's the URL of the page containing the problem? internal network lab What steps will reproduce the problem? 1. post-review in subversion checkout directory What is the expected output? What do you see instead? Error uploading diff ... Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {u'fields': {u'path': [u'time data did not match format: data=( revision 21939) fmt=%Y-%m-%d %H:%M:%S']}, u'stat': u'fail', u'err': {u'msg': u' One or more fields had errors', u'code': 105}, u'deprecated': {u'in_version': u' 1.5'}} ... Please provide any additional information below. I see that the diff output mode shows --- /xxx/xxx... (revision 21939) +++ /xxx/xxx... (working copy) It appears that the svn info call is expected to give a time/date here instead of the revision number. I am using SVN 1.6.6 (r40053) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Error 105 posting ClearCase reviews with post-review
Hello, I'm trying to get up and running with ReviewBoard 1.0.5.1 on Linux and using post-review in a dynamic ClearCase view. It looks like the repository is properly contacted as the base of the review is created. It does fail when it goes to attach the diff with a cryptic one or more fields had errors and the error code 105. I'm using ReviewBoard 1.0.5.1 and RBTools 0.2B2 with a SQLite back end $ cleartool lsco -cview -me -recurse -short | xargs post-review -d -- username bhalter --password 1234 svn info cleartool pwv -short repository info: Path: /view/reviewboard-view, Base path: /view/reviewboard-view, Supports changesets: False cleartool desc -pre /devvob/integration/release/buildinfo.xml cleartool desc -fmt %Vn /devvob cleartool desc -fmt %Vn /devvob/integration cleartool desc -fmt %Vn /devvob/integration/release Looking for 'vmlnxtpus23.trueposition.com /' cookie in /home/bhalter/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request for None HTTP POSTing to http://vmlnxtpus23.trueposition.com/api/json/reviewrequests/new/: {'repository_path': '/view/reviewboard-view'} Review request created Attempting to set field 'description' to 'bhalter-UMTS-Integration-Drop3-view VIEWTYPE: dynamic ' for review request '16' HTTP POSTing to http://vmlnxtpus23.trueposition.com/api/json/reviewrequests/16/draft/set/: {'description': 'bhalter-UMTS-Integration-Drop3-view\nVIEWTYPE: dynamic\n'} HTTP POSTing to http://vmlnxtpus23.trueposition.com/api/json/reviewrequests/16/draft/save/: {} Review request draft saved Uploading diff, size: 1472 HTTP POSTing to http://vmlnxtpus23.trueposition.com/api/json/reviewrequests/16/diff/new/: {'basedir': '/view/reviewboard-view'} Error uploading diff: One or more fields had errors (105) {'fields': {'path': ['substring not found']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}} Your review request still exists, but the diff is not attached. I have debugging turned on this is what it outputs. Is there a way to increase the log level? 2009-12-04 14:55:10,152 - INFO - Logging to /var/www/sites/reviewboard- beta/logs/reviewboard.log with a minimum level of DEBUG 2009-12-04 14:55:10,153 - INFO - Log file for Review Board v1.0.5.1 2009-12-04 14:55:10,707 - INFO - Logging to /var/www/sites/reviewboard- beta/logs/reviewboard.log with a minimum level of DEBUG 2009-12-04 14:55:10,708 - INFO - Log file for Review Board v1.0.5.1 2009-12-04 14:55:10,873 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 1472 2009-12-04 14:55:10,874 - DEBUG - DiffParser.parse: Finished parsing diff. -- 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: error ( 105 )
Hello Christian, I could manage to solve HTTPS certificate issue. Now everything works fine. Thanks you very much for your support. These are the site i referred and there were really hellfull to me. My thanks goes for authors who published these articles too. http://waveydavey.wordpress.com/home/computing/installing-review-board-10-alpha-2-on-windows-for-force/ http://alephnullplex.appspot.com/blog/view/2009/07/09/tutorial-installing-review-board-on-ubuntu . I suppose to post a complete user instruction guide for the reveiwboard setting up for windows user later on. Thanks again Christian, Cheers, Pubudu On Tue, Sep 8, 2009 at 11:25 AM, Christian Hammond chip...@chipx86.comwrote: This is still the HTTPS certificate issue we've discussed in previous threads. It still needs to be configured appropriately for that server. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 10:51 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Hello Christian, here is the out put, C:\V10c:\python25\Python.exe c:\python25\scripts\post-review --debug svn info repository info: Path: https://argos.unfuddle.com/svn/argos_v10, Base path: /trunk, Supports changesets: False svn diff --diff-cmd=diff svn info ac_module/forms/ac_JournalDetailForm/ac_JournalDetailForm_methods.j s svn info ac_module/forms/ac_JournalDetailForm/ac_JournalDetailForm_methods.j s svn info ac_module/forms/ac_JournalDetailForm/ac_JournalDetailForm_methods.j s svn info ac_module/forms/ac_JournalDetailForm/ac_JournalDetailForm_methods.j s Looking for '192.168.1.107 /' cookie in C:\Documents and Settings\Administra tor\Local Settings\Application Data\.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request for None HTTP GETting /api/json/repositories/ HTTP GETting /api/json/repositories/1/info/ HTTP POSTing to http://192.168.1.107/api/json/reviewrequests/new/: {'reposit ory_path': 'https://argos.unfuddle.com/svn/argos_v10'} Review request created Uploading diff, size: 582 HTTP POSTing to http://192.168.1.107/api/json/reviewrequests/70/diff/new/: { 'basedir': '/trunk'} Error uploading diff: One or more fields had errors (105) {'fields': {'path': ['HTTPS certificate not accepted. Please ensure that th e proper certificate exists in ~/.subversion/auth for the user that reviewboard is running as.']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors ', 'code': 105}} Your review request still exists, but the diff is not attached. pubudu On Tue, Sep 8, 2009 at 11:17 AM, Christian Hammond chip...@chipx86.comwrote: I mean you need to pass --debug as a parameter to post-review, so we can see more details on what may have gone wrong. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 10:17 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Actually I run this from a client machine ( having DEBUG = Trure in setting_local.ph which is in mysite\config ) where i installed GNU Diff . ( i have not installed GNU Diff in the server ). regards, pubudu On Tue, Sep 8, 2009 at 10:12 AM, Christian Hammond chip...@chipx86.com wrote: Can you run with --debug and show the output? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 9:02 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Hello All, I am getting this message for post-review C:\V10c:\python25\Python.exe c:\python25\scripts\post-review Error uploading diff: One or more fields had errors (105) Your review request still exists, but the diff is not attached. Any advice how to sort this out is highly appreciated. regards, pubudu --~--~-~--~~~---~--~~ 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: error ( 105 )
Actually I run this from a client machine ( having DEBUG = Trure in setting_local.ph which is in mysite\config ) where i installed GNU Diff . ( i have not installed GNU Diff in the server ). regards, pubudu On Tue, Sep 8, 2009 at 10:12 AM, Christian Hammond chip...@chipx86.comwrote: Can you run with --debug and show the output? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 9:02 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Hello All, I am getting this message for post-review C:\V10c:\python25\Python.exe c:\python25\scripts\post-review Error uploading diff: One or more fields had errors (105) Your review request still exists, but the diff is not attached. Any advice how to sort this out is highly appreciated. regards, pubudu --~--~-~--~~~---~--~~ 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: error ( 105 )
I mean you need to pass --debug as a parameter to post-review, so we can see more details on what may have gone wrong. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 10:17 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Actually I run this from a client machine ( having DEBUG = Trure in setting_local.ph which is in mysite\config ) where i installed GNU Diff . ( i have not installed GNU Diff in the server ). regards, pubudu On Tue, Sep 8, 2009 at 10:12 AM, Christian Hammond chip...@chipx86.comwrote: Can you run with --debug and show the output? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Sep 7, 2009 at 9:02 PM, Pubudu Rathnayake dmpub...@gmail.comwrote: Hello All, I am getting this message for post-review C:\V10c:\python25\Python.exe c:\python25\scripts\post-review Error uploading diff: One or more fields had errors (105) Your review request still exists, but the diff is not attached. Any advice how to sort this out is highly appreciated. regards, pubudu --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---