My colleague was adding a polygon to a Spatial Location node and after saving the 'Save' button appeared again (and the card remained 'Provisional'). Clicking either the Save or Delete button resulted in the following stack trace:
2018-11-19T15:31:22.061442644Z 172.26.0.3 - - [19/Nov/2018:09:31:22 -0600] "POST /user/get_user_names HTTP/1.0" 200 13 "https://demo.globaldigitalheritage.org/resource/730ee6a8-ebff-11e8-a89b-0242ac1a0002" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36" 2018-11-19T15:31:26.430489839Z [2018-11-19 09:31:26,406] [django.request] [ERROR ] Internal Server Error: /tile 2018-11-19T15:31:26.430523839Z Traceback (most recent call last): 2018-11-19T15:31:26.430528939Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/core/handlers/exception.py", line 41, in inner 2018-11-19T15:31:26.430532839Z response = get_response(request) 2018-11-19T15:31:26.430536239Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/core/handlers/base.py", line 187, in _get_response 2018-11-19T15:31:26.430540039Z response = self.process_exception_by_middleware(e, request) 2018-11-19T15:31:26.430543538Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/core/handlers/base.py", line 185, in _get_response 2018-11-19T15:31:26.430547238Z response = wrapped_callback(request, *callback_args, **callback_kwargs) 2018-11-19T15:31:26.430550638Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/views/generic/base.py", line 68, in view 2018-11-19T15:31:26.430553938Z return self.dispatch(request, *args, **kwargs) 2018-11-19T15:31:26.430557238Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/utils/decorators.py", line 67, in _wrapper 2018-11-19T15:31:26.430560538Z return bound_func(*args, **kwargs) 2018-11-19T15:31:26.430564338Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view 2018-11-19T15:31:26.430567738Z return view_func(request, *args, **kwargs) 2018-11-19T15:31:26.430570938Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/utils/decorators.py", line 63, in bound_func 2018-11-19T15:31:26.430574238Z return func.__get__(self, type(self))(*args2, **kwargs2) 2018-11-19T15:31:26.430577438Z File "/web_root/ENV/local/lib/python2.7/ site-packages/django/views/generic/base.py", line 88, in dispatch 2018-11-19T15:31:26.430580938Z return handler(request, *args, **kwargs) 2018-11-19T15:31:26.430584038Z File "/web_root/arches/arches/app/views/ tile.py", line 189, in delete 2018-11-19T15:31:26.430587338Z clean_resource_cache(tile) 2018-11-19T15:31:26.430590438Z File "/web_root/arches/arches/app/views/ tileserver.py", line 102, in clean_resource_cache 2018-11-19T15:31:26.430593738Z bounds = datatype.get_bounds(tile, node) 2018-11-19T15:31:26.430596938Z File "/web_root/arches/arches/app/datatypes /datatypes.py", line 402, in get_bounds 2018-11-19T15:31:26.430615038Z node_data = tile.data[str(node.pk)] 2018-11-19T15:31:26.430637638Z KeyError: '709e356a-b12e-11e8-81d7-0242ac140004' 2018-11-19T15:31:26.432544232Z 172.26.0.3 - - [19/Nov/2018:09:31:26 -0600] "DELETE /tile HTTP/1.0" 500 27 "https://demo.globaldigitalheritage.org/resource/730ee6a8-ebff-11e8-a89b-0242ac1a0002" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36" Deleting the whole card worked and allowed us to start again (now everything works normal as expected), but I am unsure what caused this. Could it have anything to do with permissions? Thanks! Vincent -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
