Problems with unicode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Critical
|
Unassigned |
Bug Description
[rainct, zeitgeist-0.3]$ rm /home/rainct/
INFO:zeitgeist.
DEBUG:root:Checking for another running instance...
DEBUG:root:No running instances found.
INFO:root:S'està iniciant el servei Zeitgeist...
DEBUG:root:S'està actualitzant la base de dades amb noves activitats: Recently Used Documents
ERROR:root:Error logging item from "Recently Used Documents": org.freedesktop
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
DBusException: org.freedesktop
File "/usr/lib/
retval = candidate_
File "/home/
return _engine.
File "/home/
return map (self.insert_event, events)
File "/home/
stext_id = _text.lookup_
File "/home/
ent = self.lookup(value)
File "/home/
row = self._cursor.
File "/home/
parameters = [self.fix_
File "/home/
obj = obj.decode("UTF-8")
File "/usr/lib/
return codecs.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 1: ordinal not in range(128)
Related branches
Changed in zeitgeist: | |
importance: | Undecided → Critical |
milestone: | none → 0.3.0 |
status: | New → Confirmed |
I am pretty sure that the reason for this bug is that we would at times try to decode an already decoded unicode string within our magical UnicodeCursor class. I fixed this in lp:zeitgeist r1164.