When trying to edit a Historic Resource, getting the following error. Any 
assistance would be greatly appreciated.



KeyError at 
/resources/HERITAGE_RESOURCE.E18/default/4f44c909-5aa4-4cab-80e5-69f511f162cc

'entitytypeid'

Request Method:POSTRequest URL:
http://arches.grenadanationaltrust.org:8000/resources/HERITAGE_RESOURCE.E18/default/4f44c909-5aa4-4cab-80e5-69f511f162ccDjango
 
Version:1.6.2Exception Type:KeyErrorException Value:

'entitytypeid'

Exception Location:C:\Arches\ENV\lib\site-packages\arches\app\models\forms.py 
in update_nodes, line 78Python 
Executable:C:\Arches\ENV\Scripts\python.exePython 
Version:2.7.5Python Path:

['C:\\Arches\\gnt_hip_app',
 'C:\\Arches\\ENV\\lib\\site-packages\\psycopg2-2.5.4-py2.7-win-amd64.egg',
 'C:\\Arches\\ENV\\Scripts\\python27.zip',
 'C:\\Arches\\ENV\\DLLs',
 'C:\\Arches\\ENV\\lib',
 'C:\\Arches\\ENV\\lib\\plat-win',
 'C:\\Arches\\ENV\\lib\\lib-tk',
 'C:\\Arches\\ENV\\Scripts',
 'C:\\Python27\\Lib',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\Lib\\lib-tk',
 'C:\\Arches\\ENV',
 'C:\\Arches\\ENV\\lib\\site-packages',
 'C:\\Arches\\ENV\\lib\\site-packages\\arches']

Server time:Thu, 5 Nov 2015 18:01:04 -0400


Environment:

Request Method: POST
Request URL: 
http://arches.grenadanationaltrust.org:8000/resources/HERITAGE_RESOURCE.E18/default/4f44c909-5aa4-4cab-80e5-69f511f162cc

Django Version: 1.6.2
Python Version: 2.7.5
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',
 'gnt_hip_app')
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')


Traceback:
File "C:\Arches\ENV\lib\site-packages\django\core\handlers\base.py" in 
get_response
  114.                     response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
File "C:\Arches\ENV\lib\site-packages\django\contrib\auth\decorators.py" in 
_wrapped_view
  22.                 return view_func(request, *args, **kwargs)
File "C:\Arches\ENV\lib\site-packages\django\views\decorators\csrf.py" in 
wrapped_view
  57.         return view_func(*args, **kwargs)
File "C:\Arches\ENV\lib\site-packages\arches\app\views\resources.py" in 
resource_manager
  67.         form.update(data, request.FILES)
File "C:\Arches\ENV\lib\site-packages\arches_hip\models\forms.py" in update
  57.             self.update_nodes('RESOURCE_TYPE_CLASSIFICATION.E55', 
data)
File "C:\Arches\ENV\lib\site-packages\arches\app\models\forms.py" in 
update_nodes
  78.                 if newentity['entitytypeid'] in self.schema:

Exception Type: KeyError at 
/resources/HERITAGE_RESOURCE.E18/default/4f44c909-5aa4-4cab-80e5-69f511f162cc
Exception Value: 'entitytypeid'

-- 
-- 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.

Reply via email to