Re: UnicodeDecodeError: 'utf8' codec can't decode bytes in position 12-13: unexpected end of data" while reading response header from upstream, client:
"R. Tyler Ballance" <[email protected]>
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 17, 2009 at 11:30:58AM -0700, [email protected] wrote: > File "/home/mark/work/common/flup/server/fcgi_base.py", line 558, in run > protocolStatus, appStatus = self.server.handler(self) > File "/home/mark/work/common/flup/server/fcgi_base.py", line 1116, in > handler > result = self.application(environ, start_response) > File > "/usr/lib/python2.5/site-packages/Beaker-1.2-py2.5.egg/beaker/middleware.py", > line 160, in __call__ > return self.wrap_app(environ, session_start_response) > File "/home/mark/work/common/web/application.py", line 272, in wsgi > self.load(env) > File "/home/mark/work/common/web/application.py", line 371, in load > ctx[k] = safeunicode(v) > File "/home/mark/work/common/web/utils.py", line 231, in safeunicode > return obj.decode(encoding) > File "/usr/lib64/python2.5/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 12-13: > unexpected end of data" while reading response header from upstream, > client: 216.129.113.186, server: .com, request: "GET > /s?q=kangaldo:ğu:ş HTTP/1.1", upstream: > "fastcgi://216.129.113.186:9008", > > Unicode errors in cheetah! Hate to break it to you, but this is Unicode errors in your application :/ Nothing in that stacktrace has anything to do with Cheetah ;) (not to say our Unicode support is perfect, see: v2.3 on the roadmap) -- -R. Tyler Ballance Slide, Inc. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Cheetahtemplate-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAknoy7YACgkQFCbH3D9R4W+R5wCdE3Wk/AKsvh+jQjr7tMjWbP+A SagAn3+wgWrOzQTfZ3etDb3S1G63Y2RR =LdIh -----END PGP SIGNATURE-----