Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-09 Thread Christian Hammond
Hi Hari,

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

Christian


On Friday, September 9, 2016, Hari Prasad  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 
> 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  > 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  > 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  >
> >> 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  >
> >> > 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
> >> >> > 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
> >> >> > >
> >>

Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-09 Thread Hari Prasad
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 
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  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  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 
>> 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 
>> > 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
>> >>  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
>> >> > 
>> >> > 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.
>> >> >>
>> >> >>

Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-09 Thread David Trowbridge
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  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 
> 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 
> 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
> >>  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>
> >> > 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.
> >> >> 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.
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >>
> >>
> >> --
> >> Best re

Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-09 Thread Hari Prasad
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  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  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
>>  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 
>> > 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.
>> >> 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.
>> > 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.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> Sup

Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-08 Thread David Trowbridge
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  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
>  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 
> > 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.
> >> 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.
> > 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.
> 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 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.


Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-01 Thread Hari Prasad
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
 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 
> 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.
>> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.



['/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/1\r']
post-review  
--revision-range='/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/0;/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/1;'
 --server='http://chn-reviewboard/reviewboard' --branch=default -g 
--username=hariprak --password=hariprak --target-people='hariprak' 
--summary='ALU12345678' --description="
ROOT CAUSE:
test

SOLUTION:
test" --bugs-closed=ALU12345678 --debug
DEBUG:root:Checking for a Bazaar repository...
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Running: cleartool pwv -short
DEBUG:root:Running: diff --version
DEBUG:root:Running: cleartool lsview -full -properties -cview
DEBUG:root:Running: cleartool describe -short vob:.
DEBUG:root:Running: cleartool pwv -root
DEBUG:root:repository info: Path: /cm4/fsn, Base path: /cm4/fsn, Supports 
changesets: False
DEBUG:root:Running: diff -uN 
/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/0 
/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/1
DEBUG:root:Command exited with rc 1: ['diff', '-uN', 
'/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/0', 
'/cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/1']
--- /cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/0  2016-05-24 
13:43:08.0 +0530
+++ /cm4/fsn/app/asam/craft/new/apon/XYZ.cc@@/main/ahaa/ahab/1  2016-05-24 
14:22:50.0 +0530
@@ -1402,6 +1409,10 @@
   char *serialNum,
   char *SubsLocId,
   char *SWVerPlnd,
+  char *plndCfgFile1,
+  char *plndCfgFile2,
+  char *dlCfgFile1,
+  char *dlCfgFile2,
   AdminState adminState
   ,int fecUpstreamInd

Re: "Error uploading diff" seen for certain clearcase file rules

2016-09-01 Thread Christian Hammond
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 
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.
> 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 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.


"Error uploading diff" seen for certain clearcase file rules

2016-08-31 Thread Hari Prasad
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.
For more options, visit https://groups.google.com/d/optout.