Hi

I am using RBTools v0.7.6 with ReviewBoard v2.5.6.1 but I am not able to 
create review request using post command. I get below error. However, I am 
able to create review request for the same repository and diff from UI.

Any help with this error will be appreciated. 

*RBtools error:*
Note that /u/choudhab/base//bin/share/post-review.py is the same rbt script 
with some authentication customization for client side.

Command:
/u/choudhab/base//bin/share/post-review.py post  --server 
reviewboard-staging.deshaw.com --summary "Personal#10377" --description 
"test" --review-request-id 19569 --target-people choudhab --bugs-closed 
personal/10377 --debug  --publish --diff-filename 
/var/tmp/rb_temp_diff_q7okiA

Traceback (most recent call last):
  File "/u/choudhab/base//bin/share/post-review.py", line 169, in <module>
    sys.exit(main())
  File 
"/u/choudhab/reviewboard/RBenv-2.5/lib/python2.7/site-packages/rbtools/commands/main.py",
 
line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"/u/choudhab/reviewboard/RBenv-2.5/lib/python2.7/site-packages/rbtools/commands/__init__.py",
 
line 629, in run_from_argv
    exit_code = self.main(*args) or 0
  File 
"/u/choudhab/reviewboard/RBenv-2.5/lib/python2.7/site-packages/rbtools/commands/post.py",
 
line 808, in main
    base_dir=base_dir)
  File 
"/u/choudhab/reviewboard/RBenv-2.5/lib/python2.7/site-packages/rbtools/commands/post.py",
 
line 469, in post_request
    raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff


The file was not found in the repository. (HTTP 400, API Error 207)

Your review request still exists, but the diff is not attached.

http://reviewboard-staging.com/r/19569/



*Some Server logs:*
*from RBTools case:*
[Thu Sep 15 19:47:46.462772 2016] [wsgi:error] [pid 18175] XXX- the request 
for which diff is created: <ReviewRequest: Personal#10377>
[Thu Sep 15 19:47:46.485741 2016] [wsgi:error] [pid 18175] XXX- files - 
<InMemoryUploadedFile: diff (application/octet-stream)>

*from UI case:*
[Thu Sep 15 20:00:09.512906 2016] [wsgi:error] [pid 18175] XXX- the request 
for which diff is created: <ReviewRequest: (no summary)>
[Thu Sep 15 20:00:09.538130 2016] [wsgi:error] [pid 18175] XXX- files - 
<InMemoryUploadedFile: temp.diff ()>

Thanks,
Abhi

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to