TypeError in _show_location_error for unicode location (Windows)

Bug #151844 reported by falsetru
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Lukáš Lalinský

Bug Description

steps to reproduce.

- Downloaded bzr-setup-0.91.0.exe
- cd to my source tree
- bzr init
- bzr add
- bzr ci -m "initial"
- bzr info

Expected Result:
  working directory information

Actual Result:
C:\통합경영정보\Helper_Backup>bzr info
Standalone tree (format: dirstate-tags)
Location:
bzr: ERROR: exceptions.TypeError: writelines() argument must be a sequence of strings

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 800, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 758, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "bzrlib\commands.pyc", line 768, in ignore_pipe
  File "bzrlib\builtins.pyc", line 1075, in run
  File "bzrlib\info.pyc", line 330, in show_bzrdir_info
  File "bzrlib\info.pyc", line 345, in show_component_info
  File "bzrlib\info.pyc", line 137, in _show_location_info
TypeError: writelines() argument must be a sequence of strings

bzr 0.91.0 on python 2.5.1.final.0 (win32)
arguments: ['bzr', 'info']

** please send this report to <email address hidden>

Revision history for this message
falsetru (falsetru) wrote :

I copied source to c:\aaa\Helper_Backup, then redo same steps.
Then it works!

IMHO, This problems related to directory path (which include Korean).

Revision history for this message
Martin Pool (mbp) wrote :

Thanks for the report; you're probably right this is caused by the unicode path.

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Lukáš Lalinský (luks) wrote :

Fixed in bzr.dev@2973, released in 1.0rc1.

Changed in bzr:
assignee: nobody → luks
status: Confirmed → 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.