Error 105 posting ClearCase reviews with post-review

2009-12-04 Thread Bryan
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: Binary Files handling in RB 1.0.5

2009-12-04 Thread Kunjal
Thanks..This is dummy question but I can not find post-review script
any where on my linux distribution.
I search all the files and folder and nothing is there.
We definately installed RB tools.

Kunjal


On Dec 2, 12:41 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Kunjal,

 See:http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

 And the section on nightlies 
 at:http://www.reviewboard.org/docs/manual/dev/admin/installation/develop...

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com



 On Wed, Dec 2, 2009 at 10:42 AM, Kunjal kunjal.par...@gmail.com wrote:
  Chris,

  I think we have not updated post-review for a while.
  Where to find it in RB website?
  Can you point me location?

  Kunjal

  On Dec 1, 5:22 pm, Christian Hammond chip...@chipx86.com wrote:
   Tom is right, they should be filtered so long as Perforce has them listed
  as
   binary files.

   How recent is your post-review? I'd recommend trying a nightly and seeing
  if
   the problem goes away. I seem to recall a corrupt patch issue that was
  fixed
   when using binary files, which may trigger this.

   Christian

   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.reviewboard.org
   VMware, Inc. -http://www.vmware.com

   On Tue, Dec 1, 2009 at 5:16 PM, Kunjal kunjal.par...@gmail.com wrote:
The perforce has marked them as binary file.
Why I get error message instead of some standard message saying this
is binary file or similar?
Do I need to install some patch ?

On Dec 1, 5:04 pm, Tom Sakkos nasis...@gmail.com wrote:
 Assuming that the files are marked as Binary files in Perforce,
Review-Board
 should ignore them and properly say something along the lines of
  Binary
 files differ.

 -Tom

 On Tue, Dec 1, 2009 at 6:51 PM, Kunjal kunjal.par...@gmail.com
  wrote:
  Hello,

  In our development environment, we have lot of reviews only with
  Binary files.
  For example, If I post the review with 4 binary files, what should
  happen when I click on View Diff?

  For now, I just try with one binary file, and I get below message
  when
  I click on View Diff.

  Is there any work-around for binary files?

  The patch to 'c:/Perforce/Sources/Common/stack/hedge/sdt/usim.sbk'
  didn't apply cleanly. The temporary files have been left in '/tmp/
  reviewboard.6SzZlW' for debugging purposes. `patch` returned:
  patching
  file /tmp/reviewboard.6SzZlW/tmpSst3n_ patch:  malformed patch
  at
  line 21:

  Traceback (most recent call last):
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  views.py, line 153, in view_diff
     interdiffset, highlighting, True)
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  diffutils.py, line 623, in get_diff_files
     large_data=True)
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/Djblets-0.5.5-py2.5.egg/djblets/util/misc.py, line 162,
  in
  cache_memoize
     data = lookup_callable()
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  diffutils.py, line 622, in lambda
     enable_syntax_highlighting),
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  diffutils.py, line 345, in get_chunks
     new = get_patched_file(old, filediff)
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  diffutils.py, line 261, in get_patched_file
     return patch(filediff.diff, buffer, filediff.dest_file)
   File /projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
  packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/
  diffutils.py, line 129, in patch
     (filename, tempdir, patch_output))
  Exception: The patch to
  'c:/Perforce/Sources/Common/stack/hedge/sdt/
  usim.sbk' didn't apply cleanly. The temporary files have been left
  in
  '/tmp/reviewboard.6SzZlW' for debugging purposes.
  `patch` returned: patching file /tmp/reviewboard.6SzZlW/tmpSst3n_
  patch:  malformed patch at line 21:

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr­oups.com
  

How to remove default group of All

2009-12-04 Thread dmccutch
Folks,

Love the tool.  We have integrated it into your release process.

I have a question, when creating a new review request some people are
defaulted to a review group of All.  So now every body is getting
spammed by review requests.  I can I change user's default review
group to be none?

Thanks for all the good  work.

David McCutcheon

-- 
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