upstream_import.TestWithStuff.test_nonascii_paths breaks on non-utf8 systems

Bug #795325 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BzrTools
Fix Released
Low
Jelmer Vernooij

Bug Description

upstream_import.TestWithStuff.test_nonascii_paths breaks fails for me:

  File "/tmp/buildd/bzrtools-2.4.0~bzr769/upstream_import.py", line 189, in import_archive
    import_archive_to_transform(tree, archive_file, tt)
  File "/tmp/buildd/bzrtools-2.4.0~bzr769/upstream_import.py", line 234, in import_archive_to_transform
    trans_id)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 1280, in create_file
    self._set_mode(trans_id, mode_id, S_ISREG)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 1590, in _set_mode
    mode = os.stat(self._tree.abspath(old_path)).st_mode
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 113: ordinal not in range(128)
------------

Related branches

Jelmer Vernooij (jelmer)
Changed in bzrtools:
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Aaron Bentley (abentley) wrote :

Cool. It helps if you include the complete traceback to the function that failed, though.

Jelmer Vernooij (jelmer)
Changed in bzrtools:
status: New → Fix Committed
importance: Undecided → Low
Aaron Bentley (abentley)
Changed in bzrtools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.