I don't have rights to commit to the root of our P4 repository, only to the 
root of our project. Can the file be there and run rbt post from there?

On Wednesday, 19 March 2014 19:54:36 UTC, Christian Hammond wrote:
>
> Hi David,
>
> The .reviewboardrc file is one you create. You'll want to place that in 
> the root of the repository and commit it.
>
> If the Path field in the repository entry on Review Board doesn't 
> perfectly match what you have locally, you'll need to set 'REPOSITORY = 
> "..."' in .reviewboardrc to match the Name field of the repository. We 
> generally recommend this anyway.
>
> You can also just use 'rbt setup-repo' to get this going.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Wed, Mar 19, 2014 at 8:35 AM, David Saltares Márquez <
> david.s...@gmail.com <javascript:>> wrote:
>
>> I have setup rbt post as a custom tool in P4 with these arguments:
>>
>> C:\Python27\Scripts\rbt.exe post --server http://[domain]:[port]/[path]/ -d 
>> --username=user --password=pass %C 
>>
>> The output shows the diff of the files in my changelist but it ends up 
>> giving me this error:
>>
>>
>> >>> Making HTTP GET request to 
>> http://[domain]:[port]/[path]/api/review-requests/
>>
>>
>> >>> Making HTTP POST request to http://[domain]:[port]/[path]
>> /api/review-requests/
>>
>> >>> Got API Error 205 (HTTP code 400): There was no repository found at 
>> the specified path
>>
>> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'There was no 
>> repository found at the specified path', u'code': 205}}
>>
>>
>> Traceback (most recent call last):
>>
>> File "C:\Python27\Scripts\rbt-script.py", line 9, in <module>
>>
>> load_entry_point('rbtools==0.6alpha0.dev', 'console_scripts', 'rbt')()
>>
>> File 
>> "C:\Python27\lib\site-packages\rbtools-0.6alpha0.dev-py2.7.egg\rbtools\commands\main.py",
>>  
>> line 134, in main
>>
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>
>> File 
>> "C:\Python27\lib\site-packages\rbtools-0.6alpha0.dev-py2.7.egg\rbtools\commands\__init__.py",
>>  
>> line 422, in run_from_argv
>>
>> exit_code = self.main(*args) or 0
>>
>> File 
>> "C:\Python27\lib\site-packages\rbtools-0.6alpha0.dev-py2.7.egg\rbtools\commands\post.py",
>>  
>> line 769, in main
>>
>> submit_as=self.options.submit_as)
>>
>> File 
>> "C:\Python27\lib\site-packages\rbtools-0.6alpha0.dev-py2.7.egg\rbtools\commands\post.py",
>>  
>> line 503, in post_request
>>
>> raise CommandError("Error creating review request: %s" % e)
>>
>> rbtools.commands.CommandError: Error creating review request: There was 
>> no repository found at the specified path (HTTP 400, API Error 205)
>>
>>
>> However, it creates a review draft in the UI with my username but no 
>> files in it.
>>
>>
>> I cannot find any .reviewboardrc files, so I guess everything needs to 
>> be passed as an argument to the script.
>>
>>
>> My review board instalaltion is here http://[domain]:[port]/[path]
>> /dashboard/.
>>
>>
>> Any ideas where I'm going wrong?
>>
>>
>> Thank you.
>>
>> -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://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 <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.

Reply via email to