Discussion:
[Agilo for Trac] Genshi Unicode Error error while rendering sprint backlog
Claudio Di Cosmo
2014-06-03 09:52:27 UTC
Permalink
Hi Tero,

On 26 May 2014 at 13:12:17, Tero Isoaho (tero.isoaho-***@public.gmane.org) wrote:

2014-05-23 13:15:04,517 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "c:\docume~1\a1010053\locals~1\temp\1\easy_install-7f6_yv\Trac-1.0-py2.5-win32.egg.tmp\trac\web\main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\docume~1\a1010053\locals~1\temp\1\easy_install-7f6_yv\Trac-1.0-py2.5-win32.egg.tmp\trac\web\main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "d:\python25\lib\site-packages\binary_agilo-1.3.13_PRO-py2.5.egg\agilo\api\view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "d:\python25\lib\site-packages\binary_agilo-1.3.13_PRO-py2.5.egg\agilo\api\view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "d:\python25\lib\site-packages\binary_agilo-1.3.13_PRO-py2.5.egg\agilo\scrum\backlog\web_ui.py", line 334, in do_get
    sprint_end_date=backlog.sprint().end.strftime("%a %B %d").decode('utf8')
  File "D:\python25\Lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 6-8: invalid data


Thanks for the feedback.
I think that the problem is related to the fact that the lacale used is ISO-8859-1 instead of UTF-8.
Can you check it on the machine that gives the problem? 
Just go on a python shell import locale and use the command locale.getdefaultlocale()

We will work on make both encoding supported.

Thanks and have a nice day,

Claudio Di Cosmo
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany

claudio.dicosmo-CKHYNj9aYvRx67MzidHQgQC/***@public.gmane.org
http://www.agilosoftware.com

Follow us on twitter: http://twitter.com/agiloforscrum, http://twitter.com/agilofortrac

Amtsgericht Charlottenburg: HRB 127146
CEO Marion Eickmann, Andrea Tomasini
--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Loading...