Unicode error when source directory contains non-ascii character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When trying to back up a directory that contains a non-ascii character , duplicity fails with this message:
/snap/duplicity
if u'--pydevd' in sys.argv or os.getenv(
Traceback (innermost last):
File "/snap/
with_
File "/snap/
fn()
File "/snap/
action = commandline.
File "/snap/
args = parse_cmdline_
File "/snap/
if u'://' not in args[loc]:
UnicodeDecodeE
I use 0.8.08 (installed via snap)
Python 2.7.15+ (that comes bundled with that snap)
Ubuntu 19.10
Target filesystem doesn't seem to matter, happens with local directory as target as well as with S3
Logs:
duplicity -v9 testö file://target/
/snap/duplicity
if u'--pydevd' in sys.argv or os.getenv(
Temporäres Verzeichnis /tmp/duplicity-
Traceback (innermost last):
File "/snap/
with_
File "/snap/
fn()
File "/snap/
action = commandline.
File "/snap/
args = parse_cmdline_
File "/snap/
possible = [c for c in commands if c.startswith(cmd)]
UnicodeDecodeE
Changed in duplicity: | |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.8.09 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Thanks for the quick fix.
With the new version, I get this error message, though:
Traceback (most recent call last): duplicity/ 45/bin/ duplicity" , line 31, in <module> rror: No module named 'future'
File "/snap/
from future import standard_library
ModuleNotFoundE