Hello,
I have done upgrade from 0.95 to svn developer version.

One of my django apps using unicode characters does not start anymore,
I get the following:

------------------------------------------------------

Traceback (most recent call last):

  File "C:\Python24\lib\site-packages\django\core\servers
\basehttp.py", line 278, in run
    self.result = application(self.environ, self.start_response)

  File "C:\Python24\lib\site-packages\django\core\servers
\basehttp.py", line 620, in __call__
    return self.application(environ, start_response)

  File "C:\Python24\lib\site-packages\django\core\handlers\wsgi.py",
line 190, in __call__
    response = self.get_response(request)

  File "C:\Python24\lib\site-packages\django\core\handlers\base.py",
line 111, in get_response
    return debug.technical_500_response(request, *sys.exc_info())

  File "C:\Python24\lib\site-packages\django\views\debug.py", line
141, in technical_500_response
    return HttpResponseServerError(t.render(c), mimetype='text/html')

  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 181, in render
    return self.nodelist.render(context)

  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 736, in render
    bits.append(self.render_node(node, context))

  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 754, in render_node
    result = node.render(context)

  File "C:\Python24\lib\site-packages\django\template\defaulttags.py",
line 134, in render
    nodelist.append(node.render(context))

  File "C:\Python24\lib\site-packages\django\template\defaulttags.py",
line 228, in render
    return self.nodelist_true.render(context)

  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 736, in render
    bits.append(self.render_node(node, context))

  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 764, in render_node
    raise wrapped

TemplateSyntaxError: Caught an exception while rendering: 'utf8' codec
can't decode bytes in position 833-834: invalid data

Original Traceback (most recent call last):
  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 754, in render_node
    result = node.render(context)
  File "C:\Python24\lib\site-packages\django\template\defaulttags.py",
line 134, in render
    nodelist.append(node.render(context))
  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 790, in render
    return self.filter_expression.resolve(context)
  File "C:\Python24\lib\site-packages\django\template\__init__.py",
line 603, in resolve
    obj = func(obj, *arg_vals)
  File "C:\Python24\lib\site-packages\django\template
\defaultfilters.py", line 25, in _dec
    args[0] = force_unicode(args[0])
  File "C:\Python24\lib\site-packages\django\utils\encoding.py", line
42, in force_unicode
    s = unicode(s, encoding, errors)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position
833-834: invalid data

------------------------------------------------------

The admin site works, I can browse and update the data base without
any problems.

My development PC runs Windows.

Any idea what can be wrong?
Regards,
Piotr


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to