Comment #9 on issue 1687 by [email protected]: 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 ,
[email protected]:/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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.