peej / to.uri.st

Google Appengine application to run the to.uri.st website
http://to.uri.st
5 stars 8 forks source link

Website runtime error: 6732b9c9 #463

Open peej opened 14 years ago

peej commented 14 years ago

Automatically reported error generated by the site at runtime:

Failed lookup for key [lat] in [{'block': <Block Node: content. Contents: [<Text Node: '

'>, <If node>, <Text Node: '

'>, <If node>, <Text Node: '

<form action="'>, <If node>, <Text Node: '" method="post">
    '>, <If node>, <Text Node: '>
        Attraction '>, <If node>, <Text Node: '
        '>, <If node>, <Text Node: '
        <input type='>, <Variable Node: attraction.name|escape>, <Text Node: '" maxlength="100">
  '>, <Variable Node: attraction.description|escape>, <Text Node: '</textarea>
    </lab'>, <If node>, <Text Node: '">
        Location:

'>, <Variable Node: attraction.location.lat|default:lat|escape>, <Text Node: ','>, <Variable Node: attraction.location.lon|default:lon|escape>, <Text Node: '&sensor=false&key'>, , <Text Node: '" alt="Location"> '>, <Variable Node: attraction.location.lat|default:lat|escape>, <Text Node: '"> <input typ'>, <Variable Node: attraction.location.lon|default:lon|escape>, <Text Node: '"> '>, , <Text Node: '> More inform'>, , <Text Node: ' <input type='>, <Variable Node: attraction.href|escape>, <Text Node: '"> '>, , <Text Node: '"> Picture: '>, , <Text Node: ' <input type='>, <Variable Node: attraction.picture|escape>, <Text Node: '"> '>, , <Text Node: '"> Tags: '>, , <Text Node: ' <input type='>, <For Node: for tag in attraction.tags, tail_len: 2>, <Text Node: '"> '>, , <Text Node: '

'>]>}, {'errors': {'location': True}, 'get': {u'picture': u'', u'description': u'Yw9Y9Q diyzjfsjnalw, [url=http://zynjamuufpdk.com/]zynjamuufpdk[/url], [link=http://urtflfebnshh.com/]urtflfebnshh[/link], http://abppzrxqsauz.com/', u'tags': u'sport', u'title': u"don't spam me bro!", u'lon': u'-87.6345', u'location.y': u'1', u'href': u'http://www.visitnsw.com.au/Operator.aspx?ProductId=9014627&type=PRODUCT_ATTRACTION&qlink=/default.aspx?PageID=20&qt=TYPE%3aART%2cTYPE%3aMUSEUM%2cTYPE%3aMARITIME+TYPE%3aHISTORIC%2cTYPE%3aBUILDING+TYPE%3aANIMAL+TYPE%3aPARKGARD+TYPE%3aNABIRD%2cTYPE%3aNACAVE%', u'lat': u'450', u'location.x': u'1', u'name': u'guhfjdmq'}, 'self': '/attractions/5581d2242f8ecc9c52d1a0ba8a0b4a15/edit.html', 'hostname': 'to.uri.st', 'signedout': {'signin': 'https://www.google.com/accounts/ServiceLogin?service=ah&continue=http://to.uri.st/_ah/login%3Fcontinue%3Dhttp://to.uri.st/attractions/5581d2242f8ecc9c52d1a0ba8a0b4a15/edit.html&ltmpl=gm&ahname=to.uri.st&sig=e586072b65cb78c5ba261241fdd326f9', 'ip': '94.229.22.6'}, 'attraction': {'picture': u'', 'description': u'Yw9Y9Q diyzjfsjnalw, [url=http://zynjamuufpdk.com/]zynjamuufpdk[/url], [link=http://urtflfebnshh.com/]urtflfebnshh[/link], http://abppzrxqsauz.com/', 'tags': [u'sport'], 'href': u'http://www.visitnsw.com.au/Operator.aspx?ProductId=9014627&type=PRODUCT_ATTRACTION&qlink=/default.aspx?PageID=20&qt=TYPE%3aART%2cTYPE%3aMUSEUM%2cTYPE%3aMARITIME+TYPE%3aHISTORIC%2cTYPE%3aBUILDING+TYPE%3aANIMAL+TYPE%3aPARKGARD+TYPE%3aNABIRD%2cTYPE%3aNACAVE%', 'location': {'lat': 450.00511111111109, 'lon': -87.646916666666669}, 'id': '5581d2242f8ecc9c52d1a0ba8a0b4a15', 'name': u'guhfjdmq'}, 'page': 'edit'}]

  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
handler.post(*groups)
  File "/base/data/home/apps/to-uri-st/1.341394767024822945/controllers/edit.py", line 102, in post
self.output('edit', 'html', template_values)
  File "/base/data/home/apps/to-uri-st/1.341394767024822945/controllers/controller.py", line 845, in output
self.response.out.write(template.render(path, values))
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/template.py", line 81, in render
return t.render(Context(template_dict))
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/template.py", line 121, in wrap_render
return orig_render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 718, in render_node
return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/loader_tags.py", line 82, in render
return compiled_parent.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 718, in render_node
return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/loader_tags.py", line 23, in render
result = self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 718, in render_node
return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 767, in render
output = self.filter_expression.resolve(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 578, in resolve
arg_vals.append(resolve_variable(arg, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 674, in resolve_variable
raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bits[0], current)) # missing attribute
peej commented 14 years ago

Automatically reported request data of erroring request:

POST /attractions/5581d2242f8ecc9c52d1a0ba8a0b4a15/edit.html
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Length: -1
Content-Length: -1
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
Host: to.uri.st
Referer: http://to.uri.st/attractions/5581d2242f8ecc9c52d1a0ba8a0b4a15/edit.html
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe)
X-Google-Apps-Metadata: domain=uri.st
X-Zoo: app-id=to-uri-st,domain=uri.st

name=guhfjdmq&title=don%27t+spam+me+bro%21&description=Yw9Y9Q++%3Ca+href%3D%22http%3A%2F%2Fdiyzjfsjnalw.com%2F%22%3Ediyzjfsjnalw%3C%2Fa%3E%2C+%5Burl%3Dhttp%3A%2F%2Fzynjamuufpdk.com%2F%5Dzynjamuufpdk%5B%2Furl%5D%2C+%5Blink%3Dhttp%3A%2F%2Furtflfebnshh.com%2F%5Durtflfebnshh%5B%2Flink%5D%2C+http%3A%2F%2Fabppzrxqsauz.com%2F&location.x=1&location.y=1&lat=450&lon=-87.6345&href=http%3A%2F%2Fwww.visitnsw.com.au%2FOperator.aspx%3FProductId%3D9014627%26type%3DPRODUCT_ATTRACTION%26qlink%3D%2Fdefault.aspx%3FPageID%3D20%26qt%3DTYPE%253aART%252cTYPE%253aMUSEUM%252cTYPE%253aMARITIME%2BTYPE%253aHISTORIC%252cTYPE%253aBUILDING%2BTYPE%253aANIMAL%2BTYPE%253aPARKGARD%2BTYPE%253aNABIRD%252cTYPE%253aNACAVE%25&picture=&tags=sport