[Bug 1058038] Re: <class 'UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 18-25: ordinal not in range(128)
Launchpad Bug Tracker
1058038 at bugs.launchpad.net
Tue Oct 9 13:49:11 UTC 2012
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 <michael.vogt at ubuntu.com> Tue, 09 Oct 2012 14:27:36 +0200
** Changed in: aptdaemon (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in 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)
Status in Python:
Invalid
Status in “aptdaemon” package in Ubuntu:
Fix Released
Status in “python3.2” package in Ubuntu:
Invalid
Bug description:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1181, in _simulate
trans.unauthenticated, trans.high_trust_packages = self.__simulate(trans)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1239, in __simulate
deb = self.install_file(trans, simulate=True, **trans.kwargs)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 740, in install_file
deb = self._check_deb_file(trans, path, force)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1326, in _check_deb_file
if not os.path.isfile(path):
File "/usr/lib/python3.2/genericpath.py", line 29, in isfile
st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-25: ordinal not in range(128)
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: aptdaemon 0.45+bzr861-0ubuntu5
ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
Uname: Linux 3.5.0-15-generic i686
Annotation: Installation of the package file failed
ApportVersion: 2.5.2-0ubuntu4
Architecture: i386
Date: Fri Sep 28 16:53:16 2012
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta i386 (20120926)
PackageArchitecture: all
SourcePackage: aptdaemon
Title: <class 'UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 18-25: ordinal not in range(128)
TransactionDepends: [[], [], [], [], [], [], []]
TransactionErrorCode: error-unknown
TransactionKwargs: {'path': dbus.String('/home/silentlight/Загрузки/google-chrome-stable_current_i386.deb'), 'force': dbus.Boolean(False)}
TransactionLocale: ru_RU.UTF-8
TransactionOutput:
TransactionPackages: [[], [], [], [], [], []]
TransactionRole: role-install-file
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/1058038/+subscriptions
More information about the foundations-bugs
mailing list