This is indeed a unicode problem.
The strange thing is that it works when killing and launching aptd from the 
command line.

According to http://docs.python.org/py3k/howto/unicode.html#unicode-filenames , 
this is because the LANG environment variable is not set when aptd is spawned 
by the sotware-center. In this case, the default encoding for pathes is ASCII.
I hacked arround and was able to confirm this (by writing os.environ in a file).

So here is the bug.
Though, I'm not sure about the best way to fix it.

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

Title:
  <class 'UnicodeEncodeError'>: 'ascii' codec can't encode characters in
  position 18-25: ordinal not in range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1058038/+subscriptions

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

Reply via email to