=== modified file 'aptdaemon/worker.py' --- aptdaemon/worker.py 2011-03-02 08:52:18 +0000 +++ aptdaemon/worker.py 2011-03-06 15:13:06 +0000 @@ -50,6 +50,7 @@ DaemonDpkgInstallProgress, \ DaemonDpkgReconfigureProgress, \ DaemonDpkgRecoverProgress +import locale log = logging.getLogger("AptDaemon.Worker") @@ -856,7 +857,8 @@ if error.process: #TRANSLATORS: %s is the name of a package manager msg = trans.gettext("Waiting for %s to exit") - trans.status_details = msg % error.process + enc = locale.getpreferredencoding() + trans.status_details = msg.decode(enc) % error.process lock_watch = gobject.timeout_add_seconds(3, self._watch_lock, trans) while trans.paused and not trans.cancelled: gobject.main_context_default().iteration()