#79 — UnicodeDecodeError when booking with the tracker

StateResolved
Version: 2.0
AreaFunctionality
Issue typeBug
SeverityMedium
Submitted byMaurits van Rees
Submitted onSep 23, 2008
Responsible Reinout van Rees
Target release: 2.0
Return to tracker
Last modified on Jan 23, 2009 by Mark van Lent
This is with the new xm.tracker package.
Steps to reproduce:
- Register an entry with a quoted character (e.g the Dutch 'geïnstalleerd')
- Now book it and you get a UnicodeDecodeError.
Added byReinout van ReesonSep 23, 2008 12:41 PM
Issue state: unconfirmedresolved
Fixed http://plone.org/products/extreme-management-tool/issues/79 by not doing an u'\n %s' but a '\n %s' as what gets put in can give a unicodedecodeerror.
Added byReinout van ReesonDec 09, 2008 01:57 PM
Issue state: resolvedopen
It has resurfaced, reopening it.

It probably occurs when you have one normal entry and an entry with an umlaut in it: the concatination is probably at fault.

  Module xm.tracker.browser.tracker, line 430, in __call__
  Module xm.tracker.browser.tracker, line 121, in book
  Module xm.tracker.browser.tracker, line 109, in split_entries
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)

Solution ought to be to encode everything as utf-8 first.
Added byMark van LentonJan 23, 2009 02:46 PM
Issue state: ConfirmedResolved
We (Reinout and me) cannot seem to reproduce it now...

No responses can be added.