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

Internal server error in /othersonbs/kml/ #2

Open
aptiko opened this issue Jan 22, 2016 · 1 comment
Open

Internal server error in /othersonbs/kml/ #2

aptiko opened this issue Jan 22, 2016 · 1 comment
Labels

Comments

@aptiko
Copy link
Member

aptiko commented Jan 22, 2016

Go to http://filotis.itia.ntua.gr/othersonbs/kml/. Result:

Traceback (most recent call last):                                                                                         
  File "/usr/local/naturebank-virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_
response                                                                                                                   
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/naturebank/naturebank/views.py", line 273, in kml
    arow.kml = '\n'.join([apoly.simplify(tolerance=simplify_fact*meansize, preserve_topology=True).kml for apoly in arow.gi
s_mpoly])
UnboundLocalError: local variable 'meansize' referenced before assignment
@aptiko
Copy link
Member Author

aptiko commented Oct 12, 2016

Same thing in http://filotis.itia.ntua.gr/natura/kml/

@aptiko aptiko added the bug label Apr 17, 2018
@aptiko aptiko added type/bug and removed bug labels Oct 14, 2021
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