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

Scott Building #24

Open
Bartoncl opened this issue Feb 17, 2017 · 1 comment
Open

Scott Building #24

Bartoncl opened this issue Feb 17, 2017 · 1 comment

Comments

@Bartoncl
Copy link

Error appeared when revising date information; resource no longer in database
http://dpaste.com/04TAVQ3

@mradamcox
Copy link
Collaborator

Environment:

Request Method: POST
Request URL: http://www.afrh-iris.com/resources/INVENTORY_RESOURCE.E18/default/c9038675-1597-43f4-ae2a-6cdf20fdf175

Django Version: 1.6.2
Python Version: 2.7.6
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
'arches',
'arches.app.models',
'arches.management',
'arches_hip',
'afrh',
'afrh',
'storages')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'arches.app.utils.set_anonymous_user.SetAnonymousUser')

Traceback:
File "/srv/arches_env312104/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/arches_env312104/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
57. return view_func(*args, **kwargs)
File "/srv/afrh/afrh/views/resources.py" in resource_manager
639. resource.index()
File "/srv/afrh/afrh/models/resource.py" in index
225. search_documents = self.prepare_documents_for_search_index()
File "/srv/afrh/afrh/models/resource.py" in prepare_documents_for_search_index
253. 'value': nodes['START_DATE_OF_EXISTENCE_E49__value']

Exception Type: KeyError at /resources/INVENTORY_RESOURCE.E18/default/c9038675-1597-43f4-ae2a-6cdf20fdf175
Exception Value: 'START_DATE_OF_EXISTENCE_E49__value'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants