Pedagio

FREEMIUM
By territorial | Updated un mese fa | Tools
Health Check

N/A

Back to All Discussions

'NoneType' object has no attribute 'geom_type'

Rapid account: Jackiedelbem
jackiedelbem
5年前

{3 items
"error":{6 items
"executable":"/usr/bin/python"
“code”:500
"name":“OtherError”
“message”:“OtherError: ‘NoneType’ object has no attribute ‘geom_type’”
“data”:NULL
"stack":"Traceback (most recent call last): File “/usr/local/lib/python2.7/dist-packages/django_json_rpc-0.6.2-py2.7.egg/jsonrpc/site.py”, line 160, in response_dict R = apply_version[version](method, request, D[‘params’]) File “/usr/local/lib/python2.7/dist-packages/django_json_rpc-0.6.2-py2.7.egg/jsonrpc/site.py”, line 123, in <lambda> apply_version = {‘2.0’: lambda f, r, p: f(r, **encode_kw§) if type§ is dict else f(r, *p), File “/home/ubuntu/pedagio/router/views.py”, line 142, in route r = packroute(tv, route) File “/home/ubuntu/pedagio/router/views.py”, line 113, in packroute r = geoj.encode(list(djf.decode([route])) + list(dtot.decode([tarifaSomada]))) #tarifas = Tarifa.objects.filter(praca_id__in=ps, tarifaespecial__equals=False) # Tarifas em dias nao especiais (fds ou feriado) File “/usr/local/lib/python2.7/dist-packages/vectorformats/Formats/Django.py”, line 57, in decode geometry[‘type’] = geom.geom_type AttributeError: ‘NoneType’ object has no attribute ‘geom_type’ "
}
“jsonrpc”:"2.0"
“id”:“jsonrpc”
}

Join in the discussion - add comment below:

Login / Signup to post new comments