[Bugs] [Bug 1319717] glusterfind pre test projects_media2 /tmp/123 rh-storage2 - pre failed: Traceback ...
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 21 11:39:57 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1319717
Aravinda VK <avishwan at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ZStream |
Status|NEW |ASSIGNED
Group|redhat |
Assignee|bugs at gluster.org |avishwan at redhat.com
--- Comment #1 from Aravinda VK <avishwan at redhat.com> ---
Unicode filenames are not working with glusterfind, following tracebacks when
unicode file names are used.
: File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 391, in
<module>
: actual_end = changelog_crawl(args.brick, start, end, args)
: File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 342, in
changelog_crawl
: return get_changes(brick, working_dir, log_file, start, end, args)
: File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 309, in
get_changes
: gfid_to_path_using_pgfid(brick, changelog_data, args)
: File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 164, in
gfid_to_path_using_pgfid
: subdirs_crawl=False)
: File "/usr/libexec/glusterfs/glusterfind/utils.py", line 74, in find
: callback_func(full_path, filter_result)
: File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 148, in
output_callback
: path = output_path_prepare(path, args.output_prefix)
: File "/usr/libexec/glusterfs/glusterfind/utils.py", line 241, in
output_path_prepare
: return urllib.quote_plus(path)
: File "/usr/lib64/python2.6/urllib.py", line 1242, in quote_plus
: s = quote(s, safe + ' ')
: File "/usr/lib64/python2.6/urllib.py", line 1236, in quote
: res = map(safe_map.__getitem__, s)
:KeyError: u'\u0422'
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 391, in <module>
actual_end = changelog_crawl(args.brick, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 342, in
changelog_crawl
return get_changes(brick, working_dir, log_file, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 309, in
get_changes
gfid_to_path_using_pgfid(brick, changelog_data, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 164, in
gfid_to_path_using_pgfid
subdirs_crawl=False)
File "/usr/libexec/glusterfs/glusterfind/utils.py", line 74, in find
callback_func(full_path, filter_result)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 148, in
output_callback
path = output_path_prepare(path, args.output_prefix)
File "/usr/libexec/glusterfs/glusterfind/utils.py", line 241, in
output_path_prepare
return urllib.quote_plus(path)
File "/usr/lib64/python2.6/urllib.py", line 1242, in quote_plus
s = quote(s, safe + ' ')
File "/usr/lib64/python2.6/urllib.py", line 1236, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\u0422'
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 391, in <module>
actual_end = changelog_crawl(args.brick, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 342, in
changelog_crawl
return get_changes(brick, working_dir, log_file, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 309, in
get_changes
gfid_to_path_using_pgfid(brick, changelog_data, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 164, in
gfid_to_path_using_pgfid
subdirs_crawl=False)
File "/usr/libexec/glusterfs/glusterfind/utils.py", line 74, in find
callback_func(full_path, filter_result)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 148, in
output_callback
path = output_path_prepare(path, args.output_prefix)
File "/usr/libexec/glusterfs/glusterfind/utils.py", line 241, in
output_path_prepare
return urllib.quote_plus(path)
File "/usr/lib64/python2.6/urllib.py", line 1242, in quote_plus
s = quote(s, safe + ' ')
File "/usr/lib64/python2.6/urllib.py", line 1236, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\u0422'
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 400, in <module>
actual_end = changelog_crawl(args.brick, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 343, in
changelog_crawl
return get_changes(brick, working_dir, log_file, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 310, in
get_changes
gfid_to_path_using_pgfid(brick, changelog_data, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 121, in
gfid_to_path_using_pgfid
populate_pgfid_and_inodegfid(brick, changelog_data)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 103, in
populate_pgfid_and_inodegfid
changelog_data.inodegfid_add(os.stat(p).st_ino, gfid)
File "/usr/libexec/glusterfs/glusterfind/changelogdata.py", line 294, in
inodegfid_add
"converted": converted
File "/usr/libexec/glusterfs/glusterfind/changelogdata.py", line 195, in _add
params.append(unicode(value, "utf8"))
TypeError: decoding Unicode is not supported
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 400, in <module>
actual_end = changelog_crawl(args.brick, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 343, in
changelog_crawl
return get_changes(brick, working_dir, log_file, start, end, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 310, in
get_changes
gfid_to_path_using_pgfid(brick, changelog_data, args)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 121, in
gfid_to_path_using_pgfid
populate_pgfid_and_inodegfid(brick, changelog_data)
File "/usr/libexec/glusterfs/glusterfind/changelog.py", line 103, in
populate_pgfid_and_inodegfid
changelog_data.inodegfid_add(os.stat(p).st_ino, gfid)
File "/usr/libexec/glusterfs/glusterfind/changelogdata.py", line 294, in
inodegfid_add
"converted": converted
File "/usr/libexec/glusterfs/glusterfind/changelogdata.py", line 195, in _add
params.append(unicode(value, "utf8"))
TypeError: decoding Unicode is not supported
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list