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