autokey-gtk crashed with UnicodeEncodeError in compare(): 'ascii' codec can't encode character u'\xf1' in position 16: ordinal not in range(128)

Bug #1167080 reported by Federico Silva
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autokey (Ubuntu)
Fix Released
Medium
Thomas

Bug Description

--

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: autokey-gtk 0.90.1-1.1
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
CrashCounter: 1
Date: Tue Apr 9 21:18:22 2013
ExecutablePath: /usr/bin/autokey-gtk
InstallationDate: Installed on 2013-04-09 (0 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/autokey-gtk
PythonArgs: ['/usr/bin/autokey-gtk']
SourcePackage: autokey
Title: autokey-gtk crashed with UnicodeEncodeError in compare(): 'ascii' codec can't encode character u'\xf1' in position 16: ordinal not in range(128)
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/autokey/gtkui/configwindow.py", line 1663, in compare
     return cmp(str(item1), str(item2))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 16: ordinal not in range(128)
UpgradeStatus: Upgraded to raring on 2013-04-09 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Federico Silva (federicosilva09) wrote :
tags: removed: need-duplicate-check
Changed in autokey (Ubuntu):
importance: Undecided → Medium
Luke Faraone (lfaraone)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in autokey (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas (tux12345) wrote :

This issue is very likely fixed in 0.95.9, which is part of Ubuntu 20.04.

This is a text encoding issue, which is gone by the port of AutoKey to Python 3.
The Python 3 version handles non-ASCII characters better than the Python2-based version 0.90.4

If this still happens, please raise an issue at https://github.com/autokey/autokey/issues

Changed in autokey (Ubuntu):
assignee: nobody → Thomas (tux12345)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.