Re: Getting an error "There was an error displaying this diff" while doing diff in review request.

2015-01-29 Thread Rich Viola
Hello - did you ever resolve this?  Seeing the same, there is no mirror 
path, but there is a repo that is a subdirectory of another repo:

There was an error displaying this diff. 

The patch to '.gitignore' didn't apply cleanly. The temporary files have 
been left in '/tmp/reviewboard._taeVS' for debugging purposes. `patch` 
returned:

This may be a bug in the software, a temporary outage, or an issue with the 
format of your diff.

Please try again, and if you still have trouble, contact support
On Tuesday, July 8, 2014 at 6:33:31 AM UTC-4, Nitish Gangal wrote:
>
> Hi All,
>
> I am using reviewboard-2.0.2. I have added one gitlab repository for my 
> project.
> Now, I am creating a diff file on my cloned code repository, using 
> following command:
>
> git diff --full-index > master6.patch
>
> This, master6.patch file, I am uploading while creating review request. In 
> this case, my review request gets created successfully.
> Now, when I click on 'view diff' link, then I am getting following error 
> continuously:
>
> There was an error displaying this diff. 
>
> The patch to 'abcProject/d.rb' didn't apply cleanly. The temporary files 
> have been left in '/tmp/reviewboard.RHA9Qh' for debugging purposes. `patch` 
> returned: 
>
> This may be a bug in the software, a temporary outage, or an issue with 
> the format of your diff. 
>
> Please try again, and if you still have trouble, contact support 
> .
>
> I am struggling to resolve this issue since long.
>
> Request you to please provide me some pointers in order to resolve the 
> issue.
>
> Awaiting for your positive reply,
>
> Thanks,
>
> Nitish Gangal
>
>
>
>

-- 
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: Getting an error "There was an error displaying this diff" while doing diff in review request.

2014-07-09 Thread Nitish Gangal
Hey Christian,

I resolved the issue mentioned in my previous comment. It was because I had 
two repositories added with same mirror path. I rectified it.

So, now using rbt post --server=http://10.0.14.29 -d, I am able to 
successfully create a review request. 

Still, when I click on 'view diff' link, I get the same error mentioned in 
my first post as:
There was an error displaying this diff. 
Also, in my logs folder of reviewboard site, logs are not getting 
generated. So, I am not able to see any error log.

Please advise.

Thanks,
Nitish Gangal
 


On Wednesday, July 9, 2014 5:08:07 PM UTC+5:30, Nitish Gangal wrote:
>
> Hi Christian,
>
> Thanks for your reply.
> As you suggested I tried using RBtools and post command to create a review 
> request like:
>
> rbt post --server=http://10.0.14.29 -d
>
> But, I got 500 as a response.
> Detailed error is as follows:
>
> >>> Got HTTP error: 500: 
>
> 
>  
>   500 - Internal Server Error | Review Board
>  
>  
>   Something broke! (Error 500)
>   
>It appears something broke when you tried to go to here. This is either
>a bug in Review Board or a server configuration error. Please report
>this to your administrator.
>   
>  
> 
>
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/main.py",
>  
> line 134, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/__init__.py",
>  
> line 416, in run_from_argv
> exit_code = self.main(*args) or 0
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
>  
> line 784, in main
> submit_as=self.options.submit_as)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
>  
> line 507, in post_request
> raise CommandError("Error creating review request: %s" % e)
> rbtools.commands.CommandError: Error creating review request: HTTP 500
>
>
> I also, tried to look at files inside temp directory.
> But, no error log was seen there.
>
> Request you to please help me out as I am completely stuck with it.
>
> Thanks,
> Nitish Gangal
>
>
> On Tuesday, July 8, 2014 11:46:29 PM UTC+5:30, Christian Hammond wrote:
>>
>> Hi Nitish,
>>
>> Can you try using RBTools to post the diff?
>>
>> Also, look in that temp directory for the source file and .rej file, see 
>> if anything stands out.
>>
>> Christian
>>
>>
>> On Tuesday, July 8, 2014, Nitish Gangal  wrote:
>>
>>> Hi All,
>>>
>>> I am using reviewboard-2.0.2. I have added one gitlab repository for my 
>>> project.
>>> Now, I am creating a diff file on my cloned code repository, using 
>>> following command:
>>>
>>> git diff --full-index > master6.patch
>>>
>>> This, master6.patch file, I am uploading while creating review request. 
>>> In this case, my review request gets created successfully.
>>> Now, when I click on 'view diff' link, then I am getting following error 
>>> continuously:
>>>
>>> There was an error displaying this diff. 
>>>
>>> The patch to 'abcProject/d.rb' didn't apply cleanly. The temporary files 
>>> have been left in '/tmp/reviewboard.RHA9Qh' for debugging purposes. `patch` 
>>> returned: 
>>>
>>> This may be a bug in the software, a temporary outage, or an issue with 
>>> the format of your diff. 
>>>
>>> Please try again, and if you still have trouble, contact support 
>>> .
>>>
>>> I am struggling to resolve this issue since long.
>>>
>>> Request you to please provide me some pointers in order to resolve the 
>>> issue.
>>>
>>> Awaiting for your positive reply,
>>>
>>> Thanks,
>>>
>>> Nitish Gangal
>>>
>>>
>>>
>>>  -- 
>>> 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.
>>>
>>
>>
>> -- 
>> -- 
>> Christian Hammond - chri...@beanbaginc.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>>

-- 
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+uns

Re: Getting an error "There was an error displaying this diff" while doing diff in review request.

2014-07-09 Thread Nitish Gangal
Hi Christian,

Thanks for your reply.
As you suggested I tried using RBtools and post command to create a review 
request like:

rbt post --server=http://10.0.14.29 -d

But, I got 500 as a response.
Detailed error is as follows:

>>> Got HTTP error: 500: 


 
  500 - Internal Server Error | Review Board
 
 
  Something broke! (Error 500)
  
   It appears something broke when you tried to go to here. This is either
   a bug in Review Board or a server configuration error. Please report
   this to your administrator.
  
 


Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 9, in 
load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/main.py",
 
line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/__init__.py",
 
line 416, in run_from_argv
exit_code = self.main(*args) or 0
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
 
line 784, in main
submit_as=self.options.submit_as)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
 
line 507, in post_request
raise CommandError("Error creating review request: %s" % e)
rbtools.commands.CommandError: Error creating review request: HTTP 500


I also, tried to look at files inside temp directory.
But, no error log was seen there.

Request you to please help me out as I am completely stuck with it.

Thanks,
Nitish Gangal


On Tuesday, July 8, 2014 11:46:29 PM UTC+5:30, Christian Hammond wrote:
>
> Hi Nitish,
>
> Can you try using RBTools to post the diff?
>
> Also, look in that temp directory for the source file and .rej file, see 
> if anything stands out.
>
> Christian
>
>
> On Tuesday, July 8, 2014, Nitish Gangal > 
> wrote:
>
>> Hi All,
>>
>> I am using reviewboard-2.0.2. I have added one gitlab repository for my 
>> project.
>> Now, I am creating a diff file on my cloned code repository, using 
>> following command:
>>
>> git diff --full-index > master6.patch
>>
>> This, master6.patch file, I am uploading while creating review request. 
>> In this case, my review request gets created successfully.
>> Now, when I click on 'view diff' link, then I am getting following error 
>> continuously:
>>
>> There was an error displaying this diff. 
>>
>> The patch to 'abcProject/d.rb' didn't apply cleanly. The temporary files 
>> have been left in '/tmp/reviewboard.RHA9Qh' for debugging purposes. `patch` 
>> returned: 
>>
>> This may be a bug in the software, a temporary outage, or an issue with 
>> the format of your diff. 
>>
>> Please try again, and if you still have trouble, contact support 
>> .
>>
>> I am struggling to resolve this issue since long.
>>
>> Request you to please provide me some pointers in order to resolve the 
>> issue.
>>
>> Awaiting for your positive reply,
>>
>> Thanks,
>>
>> Nitish Gangal
>>
>>
>>
>>  -- 
>> 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.
>>
>
>
> -- 
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>

-- 
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.


Re: Getting an error "There was an error displaying this diff" while doing diff in review request.

2014-07-08 Thread Christian Hammond
Hi Nitish,

Can you try using RBTools to post the diff?

Also, look in that temp directory for the source file and .rej file, see if
anything stands out.

Christian


On Tuesday, July 8, 2014, Nitish Gangal  wrote:

> Hi All,
>
> I am using reviewboard-2.0.2. I have added one gitlab repository for my
> project.
> Now, I am creating a diff file on my cloned code repository, using
> following command:
>
> git diff --full-index > master6.patch
>
> This, master6.patch file, I am uploading while creating review request. In
> this case, my review request gets created successfully.
> Now, when I click on 'view diff' link, then I am getting following error
> continuously:
>
> There was an error displaying this diff.
>
> The patch to 'abcProject/d.rb' didn't apply cleanly. The temporary files
> have been left in '/tmp/reviewboard.RHA9Qh' for debugging purposes. `patch`
> returned:
>
> This may be a bug in the software, a temporary outage, or an issue with
> the format of your diff.
>
> Please try again, and if you still have trouble, contact support
> .
>
> I am struggling to resolve this issue since long.
>
> Request you to please provide me some pointers in order to resolve the
> issue.
>
> Awaiting for your positive reply,
>
> Thanks,
>
> Nitish Gangal
>
>
>
>  --
> 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.
>


-- 
-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
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.