This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] Error (EXTERNAL IP): /

Asheesh Laroia asheesh at openhatch.org
Fri Jan 22 05:41:08 UTC 2010


same problem, new user; emailed him or her

Excerpts from mr_website's message of Thu Jan 21 20:58:03 UTC 2010:
> Traceback (most recent call last):
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py
> ", line 92, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
> 
>   File "/home/deploy/milestone-a.buildout/mysite/base/views.py", line 29, in
> homepage
>     return landing_page(request)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/decorato
> rs.py", line 78, in __call__
>     return self.view_func(request, *args, **kwargs)
> 
>   File "<string>", line 2, in landing_page
> 
>   File "/home/deploy/milestone-a.buildout/mysite/base/decorators.py", line 17,
> in view
>     return render_to_response(template, data)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/shortcuts/__init__.py
> ", line 20, in render_to_response
>     return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/loader.py",
> line 108, in render_to_string
>     return t.render(context_instance)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 178, in render
>     return self.nodelist.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 779, in render
>     bits.append(self.render_node(node, context))
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 792, in render_node
>     return node.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/loader_tags.
> py", line 97, in render
>     return compiled_parent.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 178, in render
>     return self.nodelist.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 779, in render
>     bits.append(self.render_node(node, context))
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 792, in render_node
>     return node.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/loader_tags.
> py", line 97, in render
>     return compiled_parent.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 178, in render
>     return self.nodelist.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 779, in render
>     bits.append(self.render_node(node, context))
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 792, in render_node
>     return node.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/loader_tags.
> py", line 24, in render
>     result = self.nodelist.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 779, in render
>     bits.append(self.render_node(node, context))
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 792, in render_node
>     return node.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/defaulttags.
> py", line 253, in render
>     return self.nodelist_true.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 779, in render
>     bits.append(self.render_node(node, context))
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 792, in render_node
>     return node.render(context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 831, in render
>     return _render_value_in_context(output, context)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py"
> , line 811, in _render_value_in_context
>     value = force_unicode(value)
> 
>   File
> "/home/deploy/milestone-a.buildout/parts/production/django/utils/encoding.py",
> line 92, in force_unicode
>     raise DjangoUnicodeDecodeError(s, *e.args)
> 
> DjangoUnicodeDecodeError: 'utf8' codec can't decode bytes in position 5-7:
> invalid data. You passed in 'Bogot\xe1, 33, Colombia' (<type 'str'>)
> 
> 
> <WSGIRequest
> GET:<QueryDict: {}>,
> POST:<QueryDict: {}>,
> COOKIES:{'openid_provider': 'google', 'sessionid':
> '1b248ca61bc23e12479d6146b3054d3a'},
> META:{'DOCUMENT_ROOT': '/var/www/',
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HTTPS': '1',
>  'HTTP_ACCEPT':
> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
>  'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
>  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
>  'HTTP_CONNECTION': 'keep-alive',
>  'HTTP_COOKIE': 'openid_provider=google;
> sessionid=1b248ca61bc23e12479d6146b3054d3a',
>  'HTTP_HOST': 'openhatch.org',
>  'HTTP_KEEP_ALIVE': '300',
>  'HTTP_REFERER': 'https://openhatch.org/account/login/',
>  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7)
> Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7',
>  'PATH': '/usr/local/bin:/usr/bin:/bin',
>  'PATH_INFO': u'/',
>  'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/',
>  'QUERY_STRING': '',
>  'REMOTE_ADDR': '186.80.160.117',
>  'REMOTE_PORT': '40030',
>  'REQUEST_METHOD': 'GET',
>  'REQUEST_URI': '/',
>  'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
>  'SCRIPT_NAME': u'',
>  'SERVER_ADDR': '74.207.229.254',
>  'SERVER_ADMIN': 'webmaster at localhost',
>  'SERVER_NAME': 'openhatch.org',
>  'SERVER_PORT': '443',
>  'SERVER_PROTOCOL': 'HTTP/1.1',
>  'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org
> Port 443</address>\n',
>  'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
>  'SSL_TLS_SNI': 'openhatch.org',
>  'mod_wsgi.application_group': 'openhatch.org|',
>  'mod_wsgi.callable_object': 'application',
>  'mod_wsgi.listener_host': '',
>  'mod_wsgi.listener_port': '443',
>  'mod_wsgi.process_group': 'live',
>  'mod_wsgi.reload_mechanism': '1',
>  'mod_wsgi.script_reloading': '1',
>  'mod_wsgi.version': (2, 5),
>  'wsgi.errors': <mod_wsgi.Log object at 0x9d470e0>,
>  'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object
> at 0x9d2f410>,
>  'wsgi.input': <mod_wsgi.Input object at 0x9d40ca0>,
>  'wsgi.multiprocess': True,
>  'wsgi.multithread': False,
>  'wsgi.run_once': False,
>  'wsgi.url_scheme': 'https',
>  'wsgi.version': (1, 0)}>


More information about the Devel mailing list