** No longer affects: dbus (Ubuntu)
--
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
** Branch linked: lp:~aptdaemon-developers/aptdaemon/ubuntu-quantal
--
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
** Changed in: python
Status: New = Invalid
--
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
** Changed in: python3.2 (Ubuntu)
Status: Confirmed = Invalid
--
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
This bug was fixed in the package aptdaemon - 0.45+bzr861-0ubuntu9
---
aptdaemon (0.45+bzr861-0ubuntu9) quantal; urgency=low
* Workaround that ensures that for sys.getfilesystemencoding()
utf8 is used when the daemon is dbus auto-activatied (LP: #1058038)
-- Michael Vogt
I can confirm this, when LANG/LANUAGE is unset and LC_CTYPE is set to posix/C
the sys.getfilesystemencoding() call
will return ascii.
--
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:
Looking at this a bit more it appears to be a bit of a can of worms. It appears
that the dbus activation sytem
is launching the daemon with a almost empty env:
environ(
{'DBUS_STARTER_BUS_TYPE': 'system',
'DBUS_STARTER_ADDRESS': 'unix:path=/var/run/dbus/system_bus_socket'})
which means that
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python3.2 (Ubuntu)
Status: New = Confirmed
--
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:
** Package changed: python-defaults (Ubuntu) = python3.2 (Ubuntu)
--
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
AFAICT the default fsencoding is read only at python startup and can not
be changed later. The dbus activation does run the aptd without a env
(well, just a minimal one).
cjwatson Or else there needs to be a way to break the caching when we change
Python's locale at run-time
cjwatson That might
pitti just saying that if all else fails, hardcoding utf-8 shoudl
avoid 99% of the problems with a really trivial/safe patch?
--
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
We should unset those variables in the test suite or even use dbus activation
for the daemon testing. But makes cleaning up in the tests a little bit tricky.
Someting to target for R.
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
--
You received this bug
We could also set lang to C.UTF8 in aptdaemon only.
Michael Vogt michael.v...@ubuntu.com schrieb:
pitti just saying that if all else fails, hardcoding utf-8 shoudl
avoid 99% of the problems with a really trivial/safe patch?
--
You received this bug notification because you are a member of
@Sebastian:
we would have to use a shell wrapper or fork/exit as the env is read on
interpreter statup.
--
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':
** Patch added: Proof of concept that allows chaning the
Py_FileSystemDefaultEncoding
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1058038/+attachment/3385784/+files/alllow-chaning-of-Py_FileSystemDefaultEncoding.diff
--
You received this bug notification because you are a
** Bug watch added: Python Roundup #16162
http://bugs.python.org/issue16162
** Also affects: python via
http://bugs.python.org/issue16162
Importance: Unknown
Status: Unknown
** Changed in: dbus (Ubuntu)
Status: New = Invalid
** Branch linked: lp:~mvo/aptdaemon/lp1058038
** Tags added: patch
--
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)
** Changed in: python
Status: Unknown = New
--
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python3.2 (Ubuntu)
Status: New = Confirmed
--
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:
The attached branch works around the problem by setting up a basic LANG
env and doing a a os.execv()
--
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'
trying to install chrome amd64 for ubuntu, download from official site.
crushes every time when double click to install.
--
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
** Visibility changed to: Public
--
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: aptdaemon (Ubuntu)
Status: New = Confirmed
--
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:
Trying to install something from /home/myuser/Hämt/fs-uae_1.3.29-0_amd64.deb
gives this bug with lates quantal updates (x64)
When skipping folder /Hämt/ in the path it works.Uniode prob?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
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
25 matches
Mail list logo