#79 — UnicodeDecodeError when booking with the tracker
| State | Resolved |
|---|---|
| Version: | 2.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Maurits van Rees |
| Submitted on | Sep 23, 2008 |
| Responsible | Reinout van Rees |
| Target release: | 2.0 |
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
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.
Issue state:
unconfirmed
→
resolved
Added byReinout van ReesonDec 09, 2008 01:57 PM
It has resurfaced, reopening it.
Issue state:
resolved
→
open
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
We (Reinout and me) cannot seem to reproduce it now...
Issue state:
Confirmed
→
Resolved
No responses can be added.
If you can, please log in before submitting a reaction.