Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[/api/v1/elevation/] NoneType object has no attribute split #267

Closed
nemesifier opened this issue Dec 2, 2015 · 0 comments
Closed

[/api/v1/elevation/] NoneType object has no attribute split #267

nemesifier opened this issue Dec 2, 2015 · 0 comments
Labels
Milestone

Comments

@nemesifier
Copy link
Member

Internal Server Error: /api/v1/elevation/
Traceback (most recent call last):
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/rest_framework/decorators.py", line 53, in handler
    return func(*args, **kwargs)
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/nodeshot/core/nodes/views.py", line 259, in elevation_profile
    sampling=ELEVATION_DEFAULT_SAMPLING))
  File "/usr/local/lib/virtualenvs/nodeshot/local/lib/python2.7/site-packages/geojson_elevation/backends/google.py", line 18, in elevation
    for latlng in path.split('|'):
AttributeError: 'NoneType' object has no attribute 'split'
@nemesifier nemesifier added the Fix label Dec 2, 2015
@nemesifier nemesifier added this to the Beta milestone Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant