Hi Hari,

RBTools 0.5 is ancient. Please give the latest 0.7.x a try.

Christian


On Friday, September 9, 2016, Hari Prasad <pk.haripra...@gmail.com> wrote:

> Hi David,
>
> I managed to make rbt post work with --repository, thanks.
>
> Now when I used rbt post for the problematic file rule, am still
> getting the error "Error uploading diff". --debug shows the below:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in <module>
>     load_entry_point('RBTools==0.5', 'console_scripts', 'rbt')()
>   File "/usr/local/lib/python2.7/site-packages/RBTools-0.5-py2.
> 7.egg/rbtools/commands/main.py",
> line 99, in main
>     command.run_from_argv([RB_MAIN] + args)
>   File "/usr/local/lib/python2.7/site-packages/RBTools-0.5-py2.
> 7.egg/rbtools/commands/__init__.py",
> line 150, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File "/usr/local/lib/python2.7/site-packages/RBTools-0.5-py2.
> 7.egg/rbtools/commands/post.py",
> line 450, in main
>     submit_as=self.options.submit_as)
>   File "/usr/local/lib/python2.7/site-packages/RBTools-0.5-py2.
> 7.egg/rbtools/commands/post.py",
> line 346, in post_request
>     raise CommandError(''.join(error_msg))
> rbtools.commands.CommandError: Error uploading diff
>
> I could see review id 422 in the RB GUI but diff is missing in the same.
>
> I tried diffing different versions of the problematic file but still
> getting same error.
>
> Please let me know what could have caused the error.
>
> If you need any other debug info, please let me know.
>
> Regards,
> Hari
>
> On Fri, Sep 9, 2016 at 1:22 PM, David Trowbridge <trowb...@gmail.com
> <javascript:;>> wrote:
> > It could be that the path matching got a little more strict. I'd suggest
> > using the --repository argument or REPOSITORY config-file key to
> explicitly
> > specify which repository (configured within Review Board) to use.
> >
> > -David
> >
> > On Fri, Sep 9, 2016 at 12:43 AM Hari Prasad <pk.haripra...@gmail.com
> <javascript:;>> wrote:
> >>
> >> Hi David,
> >> Due to the following issue in rbt post, am using post-review.
> >>
> >> Am getting the following error if I use rbt post but the same works
> >> fine with post-review:
> >>
> >> [hariprak:hariprak_reviewboard_dontdelete: /vobs/dsl/source02]$rbt
> >> post
> >> --revision-range='/vobs/dsl/source02/Alarm/handler/alarm.c@
> @/main/ahaa/FR_BUG02268424/0;/vobs/dsl/source02/Alarm/handler/alarm.c@
> @/main/ahaa/FR_BUG02268424/1;'
> >> --server='http://chn-reviewboard/reviewboard' --branch=default -g
> >> --username=hariprak --password=hariprak --target-people=hariprak
> >> --summary='BUG02268424' --description="test" --bugs-closed=BUG02268424
> >> CRITICAL:root:Error creating review request: The repository path
> >> specified is not in the list of known repositories. (HTTP 400, API
> >> Error 206)
> >> [hariprak:hariprak_reviewboard_dontdelete: /vobs/dsl/source02]$
> >> [hariprak:hariprak_reviewboard_dontdelete: /vobs/dsl/source02]$
> >> [hariprak:hariprak_reviewboard_dontdelete: /vobs/dsl/source02]$
> >> [hariprak:hariprak_reviewboard_dontdelete:
> >> /vobs/dsl/source02]$post-review
> >>
> >> --revision-range='/vobs/dsl/source02/Alarm/handler/alarm.c@
> @/main/ahaa/FR_BUG02268424/0;/vobs/dsl/source02/Alarm/handler/alarm.c@
> @/main/ahaa/FR_BUG02268424/1;'
> >> --server='http://chn-reviewboard/reviewboard' --branch=default -g
> >> --username=hariprak --password=hariprak --target-people=hariprak
> >> --summary='BUG02268424' --description="test" --bugs-closed=BUG02268424
> >> Review request #419 posted.
> >>
> >>
> >> May I know why am getting the repository path error only for rbt post?
> >>
> >> If this is resolved and rbt post works, then I can check if rbt post
> >> works for the file rule failing with post-review.
> >>
> >> Please clarify.
> >>
> >> Regards,
> >> Hari
> >>
> >> On Fri, Sep 9, 2016 at 4:21 AM, David Trowbridge <trowb...@gmail.com
> <javascript:;>>
> >> wrote:
> >> > Hari,
> >> >
> >> > post-review is quite old at this point and we no longer support it.
> >> >
> >> > -David
> >> >
> >> > On Thu, Sep 1, 2016 at 5:13 AM Hari Prasad <pk.haripra...@gmail.com
> <javascript:;>>
> >> > wrote:
> >> >>
> >> >> Hi Christian,
> >> >>
> >> >> We use "post-review" for posting reviews while rbt attach and rbt
> >> >> publish to publish reviews. We had some issues in posting reviews
> >> >> using rbt in our setup we are using post-review command.
> >> >>
> >> >> In the attached log file, post-review fails for file XYZ.cc but works
> >> >> fine ABC.cc.
> >> >>
> >> >> Have attached the output of post-review running with --debug.
> >> >>
> >> >> Please clarify what is going wrong.
> >> >>
> >> >> Regards,
> >> >> Hari
> >> >>
> >> >> On Thu, Sep 1, 2016 at 12:56 PM, Christian Hammond
> >> >> <christ...@beanbaginc.com <javascript:;>> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > How are you uploading the diffs?
> >> >> >
> >> >> > If you're using RBTools, can you show me a debug log (running with
> >> >> > --debug)?
> >> >> >
> >> >> > Christian
> >> >> >
> >> >> > --
> >> >> > Christian Hammond
> >> >> > President/CEO of Beanbag
> >> >> > Makers of Review Board
> >> >> >
> >> >> > On Wed, Aug 31, 2016 at 10:58 PM, Hari Prasad
> >> >> > <pk.haripra...@gmail.com <javascript:;>>
> >> >> > wrote:
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> We are using ReviewBoard version 2.5.2.
> >> >> >>
> >> >> >> When raising review requests, only for some specific clearcase
> file
> >> >> >> rules,
> >> >> >> getting the error "Error uploading diff".
> >> >> >>
> >> >> >> Not sure why this error is happening for such rules. I doubled
> >> >> >> checked
> >> >> >> the
> >> >> >> file rule and its a valid rule.
> >> >> >>
> >> >> >> Is there any way to debug this error?
> >> >> >>
> >> >> >> Please clarify.
> >> >> >>
> >> >> >> --
> >> >> >> 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 reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> >> >> >> For more options, visit https://groups.google.com/d/optout.
> >> >> >
> >> >> >
> >> >> > --
> >> >> > 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 a topic in
> >> >> > the
> >> >> > Google Groups "reviewboard" group.
> >> >> > To unsubscribe from this topic, visit
> >> >> >
> >> >> > https://groups.google.com/d/topic/reviewboard/js9ZQt1gGCY/
> unsubscribe.
> >> >> > To unsubscribe from this group and all its topics, send an email to
> >> >> > reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> >> >> > For more options, visit https://groups.google.com/d/optout.
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Best regards,
> >> >> Hari
> >> >>
> >> >> --
> >> >> 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 reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> >> >> For more options, visit https://groups.google.com/d/optout.
> >> >
> >> > --
> >> > 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 a topic in the
> >> > Google Groups "reviewboard" group.
> >> > To unsubscribe from this topic, visit
> >> > https://groups.google.com/d/topic/reviewboard/js9ZQt1gGCY/unsubscribe
> .
> >> > To unsubscribe from this group and all its topics, send an email to
> >> > reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >>
> >>
> >> --
> >> Best regards,
> >> Hari
> >>
> >> --
> >> 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 reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > 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 a topic in the
> > Google Groups "reviewboard" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/reviewboard/js9ZQt1gGCY/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> > reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Best regards,
> Hari
>
> --
> 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 reviewboard+unsubscr...@googlegroups.com <javascript:;>.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to