You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/django/django/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/home/django/django/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/django/django/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/django/django/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/django/django/bplan/management/commands/load_bplan.py", line 298, in handle
type = feature.get("spatial_type")
File "/home/django/django/lib/python3.6/site-packages/django/contrib/gis/gdal/feature.py", line 108, in get
return self[field_name].value
File "/home/django/django/lib/python3.6/site-packages/django/contrib/gis/gdal/feature.py", line 37, in __getitem__
i = self.index(index)
File "/home/django/django/lib/python3.6/site-packages/django/contrib/gis/gdal/feature.py", line 114, in index
raise IndexError('Invalid OFT field name given: %s.' % field_name)
IndexError: Invalid OFT field name given: spatial_type.
It happens from time to time that all bpland aren't loaded because there is one feature causing an error. This should be handeled, so that all other bplans are still loaded.
The text was updated successfully, but these errors were encountered:
It happens from time to time that all bpland aren't loaded because there is one feature causing an error. This should be handeled, so that all other bplans are still loaded.
The text was updated successfully, but these errors were encountered: