Error with uploading large object includes unicode path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Jude Augustine Job |
Bug Description
I have the following issue when I try to upload a big file includes unicode path with python-
$ swift --debug --info upload -S 200M test テスト/dummy.dat
<..omit..>
Traceback (most recent call last):
File "/usr/lib/
quote(
File "/usr/lib64/
res = map(safe_
KeyError: u'\u30c6'
u'\u30c6'
テスト/dummy.dat segment 2
テスト/dummy.dat segment 1
テスト/dummy.dat segment 0
I think the cause of this problem is the following code.
in 'python-
else:
It should be such as the following code.
else:
I have succeeded when I try to upload with the above edited code.
$ swift --debug --info upload -S 200M test テスト/dummy.dat
<..omit..>
テスト/dummy.dat segment 2
テスト/dummy.dat segment 0
テスト/dummy.dat segment 1
テスト/dummy.dat
My Enviroment:
$ cat /etc/redhat-release
CentOS release 6.7 (Final)
$ echo $LANG
ja_JP.UTF-8
$ python --version
Python 2.6.6
$ swift --version
python-swiftclient 2.7.0
Changed in python-swiftclient: | |
assignee: | nobody → Jude Augustine Job (judeaugustine-j) |
Fix proposed to branch: master /review. openstack. org/265544
Review: https:/