import from tarball fails with UnicodeDecodeError on non-ascii filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BzrTools |
In Progress
|
Undecided
|
Unassigned | ||
DEPRECATED Pantheon |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Full error:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
commands.
File "/usr/lib/
return self.run_
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
do_
File "/usr/lib/
import_
File "/usr/lib/
import_
File "/usr/lib/
trans_id = tt.trans_
File "/usr/lib/
path = self.canonical_
File "/usr/lib/
abs = self._tree.
File "/usr/lib/
return pathjoin(
File "/usr/lib/
path += '/' + b
I was able to do an import from the extracted contents. In #bzr it was suggested that: "the tarball import code assumes all filenames are ascii, but the import from filesystem directory can use the system locale to guess filesystem encoding."
Related branches
Changed in pantheon: | |
status: | New → Won't Fix |
Changed in bzrtools: | |
status: | New → In Progress |