Loading ...
Sorry, an error occurred while loading the content.

4367Re: [Cheetahtemplate-discuss] [PATCH] Convert unicode compiled template to an utf8 char buffer when writing to a file

Expand Messages
  • mobiledreamers@gmail.com
    Apr 1, 2009
      i keep getting this a lot

      On Wed, Apr 1, 2009 at 11:44 AM, Jean-Baptiste Quenot <jbq@...> wrote:
      Oh yeah I should have included a stacktrace at least:

      Traceback (most recent call last):
       File "/usr/bin/cheetah", line 3, in <module>
         CheetahWrapper().main()
       File "/var/lib/python-support/python2.5/Cheetah/CheetahWrapper.py",
      line 186, in main
         meth()
       File "/var/lib/python-support/python2.5/Cheetah/CheetahWrapper.py",
      line 244, in compile
         self._compileOrFill()
       File "/var/lib/python-support/python2.5/Cheetah/CheetahWrapper.py",
      line 391, in _compileOrFill
         self._compileOrFillBundle(b)
       File "/var/lib/python-support/python2.5/Cheetah/CheetahWrapper.py",
      line 625, in _compileOrFillBundle
         f.write(output)
      UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
      position 10318: ordinal not in range(128)
      --
      Jean-Baptiste Quenot
      http://jbq.caraldi.com/

      ------------------------------------------------------------------------------
      _______________________________________________
      Cheetahtemplate-discuss mailing list
      Cheetahtemplate-discuss@...
      https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss



      --
      Bidegg worlds best auction site
      http://bidegg.com
    • Show all 16 messages in this topic