alacarte crashed with UnicodeEncodeError in save(): 'ascii' codec can't encode characters in position 307-315: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Alacarte Menu Editor |
Fix Released
|
Undecided
|
Unassigned | ||
alacarte (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Alacarte crashed on quantal, and killed gnome-panel also. A traceback is attached.
Something like this should fix the problem:
--- a/Alacarte/
+++ b/Alacarte/
@@ -49,7 +49,7 @@
def save(self):
fd = open(self.path, 'w')
- fd.write(
+ fd.write(
fd.close()
def restoreToSystem
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: alacarte 3.5.5-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-15-generic i686
ApportVersion: 2.5.2-0ubuntu4
Architecture: i386
Date: Thu Sep 27 19:45:49 2012
ExecutablePath: /usr/bin/alacarte
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python -OOt /usr/bin/alacarte
PythonArgs: ['/usr/
SourcePackage: alacarte
Title: alacarte crashed with UnicodeEncodeError in save(): 'ascii' codec can't encode characters in position 307-315: ordinal not in range(128)
UpgradeStatus: Upgraded to quantal on 2012-09-23 (4 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape video
tags: | removed: need-duplicate-check |
Changed in alacarte (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.