Looking at https://bugs.python.org/issue18171, it may be better to
replace:

    os.path.expanduser(u"~/.config/variety/")

with

    os.path.expanduser("~/.config/variety/")

However, I haven't tested this myself, so I can't confirm whether it
works.

** Bug watch added: Python Roundup #18171
   http://bugs.python.org/issue18171

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1642533

Title:
  Variety crashed if user's home directory path contains Unicode
  characters(variety crashed with UnicodeDecodeError in expanduser():
  'ascii' codec can't decode byte 0xe6 in position 6: ordinal not in
  range(128))

To manage notifications about this bug go to:
https://bugs.launchpad.net/variety/+bug/1642533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to