List Info

Thread: New - Diff: UnicodeDecodeError




New - Diff: UnicodeDecodeError
user name
2006-11-18 17:13:24
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=53
                 Issue #|53
                 Summary|Diff: UnicodeDecodeError
               Component|pysvn
                 Version|current
                Platform|Macintosh
              OS/Version|Mac OS X
                     URL|http:/
/code.djangoproject.com/svn/django/trunk
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|workbench
             Assigned to|barryscott
             Reported by|oefe






------- Additional comments from oefetigris.org Sat Nov 18
09:13:24 -0800 2006 -------
When trying to view a diff of a file containing non-ASCII
characters, I'm
getting a UnicodeDecodeError:

Traceback (most recent call last):
  File "../../Source/wb_subversion_history.py",
line 508, in OnDiffCommand
  File "../../Source/wb_subversion_diff.py", line
177, in subversionDiffFiles
  File "../../Source/wb_diff_frame.py", line 112,
in __init__
  File "../../Source/wb_diff_difflib.py", line
169, in filecompare
  File
"/System/Library/Frameworks/Python.framework/Versions/2
.3/lib/python2.3/difflib.py",
line 525, in get_opcodes
    for ai, bj, size in self.get_matching_blocks():
  File
"/System/Library/Frameworks/Python.framework/Versions/2
.3/lib/python2.3/difflib.py",
line 473, in get_matching_blocks
    self.__helper(0, la, 0, lb, self.matching_blocks)
  File
"/System/Library/Frameworks/Python.framework/Versions/2
.3/lib/python2.3/difflib.py",
line 481, in __helper
    i, j, k = x = self.find_longest_match(alo, ahi, blo,
bhi)
  File
"/System/Library/Frameworks/Python.framework/Versions/2
.3/lib/python2.3/difflib.py",
line 431, in find_longest_match
    while besti+bestsize < ahi and bestj+bestsize <
bhi and 
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in
position 14: ordinal
not in range(128)

Happens for example when trying my working copy (which is up
to date at rev
4035) of:
http://code.djangoproject.com/svn/django/trunk/AUTHORS

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )