Re: error displaying diff in RB2.0

2014-05-21 Thread MoonWalker
Thanks a lot David :-) it works 

On Thursday, May 22, 2014 9:44:05 AM UTC+10, David Trowbridge wrote:
>
> It is, but it's not tried by default. In the repository configuration, you 
> can add a comma-separated list of additional encodings (on top of utf-8 and 
> ascii) to try.
>
> -David
>
>
> On Wed, May 21, 2014 at 4:43 PM, MoonWalker 
> 
> > wrote:
>
>> seems like is using windows-1252 encoding. is that encoding supported?
>>
>>
>> On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>>>
>>> On 2014-05-21 00:10, MoonWalker wrote: 
>>> > This is the first time that I find this issue. 
>>> > There is nothing fancy in this file "INI_de.h" to trigger this: 
>>> > 
>>> >  There was an error displaying this diff. 
>>> > 
>>> > unknown encoding: 
>>>
>>> When you say "nothing fancy", and considering the error message, what is 
>>> the encoding of "INI_de.h"? Given the error and the name of the file, I 
>>> am guessing it is not ASCII? 
>>>
>>> -- 
>>> Matthew 
>>>
>>  -- 
>> 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 .
>> 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.


Re: error displaying diff in RB2.0

2014-05-21 Thread David Trowbridge
It is, but it's not tried by default. In the repository configuration, you
can add a comma-separated list of additional encodings (on top of utf-8 and
ascii) to try.

-David


On Wed, May 21, 2014 at 4:43 PM, MoonWalker wrote:

> seems like is using windows-1252 encoding. is that encoding supported?
>
>
> On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>>
>> On 2014-05-21 00:10, MoonWalker wrote:
>> > This is the first time that I find this issue.
>> > There is nothing fancy in this file "INI_de.h" to trigger this:
>> >
>> >  There was an error displaying this diff.
>> >
>> > unknown encoding:
>>
>> When you say "nothing fancy", and considering the error message, what is
>> the encoding of "INI_de.h"? Given the error and the name of the file, I
>> am guessing it is not ASCII?
>>
>> --
>> Matthew
>>
>  --
> 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.
>

-- 
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: error displaying diff in RB2.0

2014-05-21 Thread MoonWalker
seems like is using windows-1252 encoding. is that encoding supported?

On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>
> On 2014-05-21 00:10, MoonWalker wrote: 
> > This is the first time that I find this issue. 
> > There is nothing fancy in this file "INI_de.h" to trigger this: 
> > 
> >  There was an error displaying this diff. 
> > 
> > unknown encoding: 
>
> When you say "nothing fancy", and considering the error message, what is 
> the encoding of "INI_de.h"? Given the error and the name of the file, I 
> am guessing it is not ASCII? 
>
> -- 
> Matthew 
>

-- 
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: error displaying diff in RB2.0

2014-05-21 Thread Matthew Woehlke
On 2014-05-21 00:10, MoonWalker wrote:
> This is the first time that I find this issue.
> There is nothing fancy in this file "INI_de.h" to trigger this:
> 
>  There was an error displaying this diff.
> 
> unknown encoding:

When you say "nothing fancy", and considering the error message, what is
the encoding of "INI_de.h"? Given the error and the name of the file, I
am guessing it is not ASCII?

-- 
Matthew

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


error displaying diff in RB2.0

2014-05-20 Thread MoonWalker
This is the first time that I find this issue.
There is nothing fancy in this file "INI_de.h" to trigger this:

 There was an error displaying this diff.

unknown encoding:

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

Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/views.py",
 line 236, in get
renderer = self.create_renderer(context, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/reviews/views.py",
 line 1103, in create_renderer
*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/views.py",
 line 326, in create_renderer
self.diff_file = self._get_requested_diff_file()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/views.py",
 line 367, in _get_requested_diff_file
request=self.request)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 373, in populate_diff_chunks
chunks = generator.get_chunks()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 148, in get_chunks
large_data=True)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8-py2.7.egg/djblets/cache/backend.py",
 line 109, in cache_memoize
data = lookup_callable()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 147, in 
lambda: list(self._get_chunks_uncached()),
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 154, in _get_chunks_uncached
old = get_original_file(self.filediff, self.request, encoding_list)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 172, in get_original_file
encoding, data = convert_to_unicode(data, encoding_list)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 50, in convert_to_unicode
return e, six.text_type(s, e)
LookupError: unknown encoding: 

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