Codrspace / codrspace

The blogging platform for coders.
http://codrspace.com
Other
35 stars 13 forks source link

UTF Bug on updating post #46

Closed glenbot closed 12 years ago

glenbot commented 12 years ago

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, _callback_args, *_callback_kwargs)

File "/var/www/codrspace_app/apps/codrspace/views.py", line 51, in post_detail 'user_settings': user_settings

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/shortcuts/init.py", line 44, in render return HttpResponse(loader.render_to_string(_args, *_kwargs),

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/loader.py", line 188, in render_to_string return t.render(context_instance)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 123, in render return self._render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 117, in _render return self.nodelist.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/loader_tags.py", line 127, in render return compiled_parent._render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 117, in _render return self.nodelist.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/loader_tags.py", line 64, in render result = block.nodelist.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/defaulttags.py", line 311, in render return self.nodelist_true.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/loader_tags.py", line 159, in render return self.render_template(self.template, context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/loader_tags.py", line 141, in render_template output = template.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 123, in render return self._render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 117, in _render return self.nodelist.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/defaulttags.py", line 313, in render return self.nodelist_false.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/templatetags/cache.py", line 31, in render value = self.nodelist.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 744, in render bits.append(self.render_node(node, context))

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node return node.render(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 792, in render output = self.filter_expression.resolve(context)

File "/home/ubuntu/.virtualenv/codrspace_app/lib/python2.6/site-packages/django/template/base.py", line 536, in resolve new_obj = func(obj, *arg_vals)

File "/var/www/codrspace_app/apps/codrspace/templatetags/short_codes.py", line 38, in explosivo replacements, value, match = var(value)

File "/var/www/codrspace_app/apps/codrspace/templatetags/short_codes.py", line 69, in filter_inline text_hash = md5(text).hexdigest()

UnicodeEncodeError: 'ascii' codec can't encode characters in position 543-551: ordinal not in range(128)