Dear all

I have been fiddling around with arches3 / HIP for a week or so and am 
still running into nasty problems :-(
I am new to arches (and Django and postgres and and and ... ) so  just for 
a quick "sanity check", before I spend even more time with fruitless 
debugging:  can you confirm that the following problems are  actually 
specific to my local installation?


=== 1) "TemplateDoesNotExist" 

Under the "Ressource Manager" I got a "TemplateDoesNotExist" error for the 
majority of Menu-Items. 
E.g. see the Error-message for "Location" below. 

The missing templates are obviously nowhere to be found in the file-system. 
(cf. APPENDIX 1)

So just the important question: is this a bug or a feature :-) ? 

Are  these template files are missing because 
a) my installation failed? 
b) they should be generated dynamically, and this generation-process is 
failing?
c) it is my responsibility to provide these templates? 
d) none of the above?

Note, that ARCHES is basically blank right now. I just added a few fake 
concepts in RDM but did not (was not able to) add any "Cultural Ressources" 
)  

=== 2) "UnboundLocalError concept_graph' referenced before assignment" when 
exporting Schemes
 
Whenever I try to RDM -> Tools -> Export Scheme  I get the following error 
(cf. APPENDIX 2)

Exception Type: UnboundLocalError
Exception Value: 
local variable 'concept_graph' referenced before assignment

Once again: can you confirm that this is a problem that is due to *my* 
installation / or my spoiled understanding on how Arches/HIP is supposed to 
work ? 

Thanks a lot & all the best

Hannes 



=== APPENDIX 1: Info about the "TemplateDoesNotExist" 

FYI: Other templates which the system is not able to find are e.g. 

views/forms/related-files.htm   -> for both "Related Resources" AND "Images and 
Files"

views/forms/designation.htm

views/forms/evaluation.htm

views/forms/activity-summary.htm

views/forms/historical-event-summary.htm

...


Complete list of all  /views/forms/*.htm  instllaed in my Arches / HIP:

./ENV/lib/python2.7/site-packages/arches/app/templates/views/forms/wizard-base.htm
./ENV/lib/python2.7/site-packages/arches/app/templates/views/forms/edit-history.htm
./ENV/lib/python2.7/site-packages/arches/app/templates/views/forms/delete-resource.htm
./ENV/lib/python2.7/site-packages/arches/app/templates/views/forms/base.htm
./ENV/lib/python2.7/site-packages/arches_hip/templates/views/forms/summary.htm
./ENV/lib/python2.7/site-packages/arches_hip/templates/views/forms/classification.htm
./ENV/lib/python2.7/site-packages/arches_hip/templates/views/forms/condition.htm
./ENV/lib/python2.7/site-packages/arches_hip/templates/views/forms/description.htm
./ENV/lib/python2.7/site-packages/arches_hip/templates/views/forms/measurement.htm


### Error Message in Areches when Accessing "Location" 
TemplateDoesNotExist at /resources/HERITAGE_RESOURCE.E18/location/
views/forms/location.htm
Request Method: GET
Request URL: http://127.0.0.1:8000/resources/HERITAGE_RESOURCE.E18/location/
Django Version: 1.6.2
Exception Type: TemplateDoesNotExist
Exception Value: 
views/forms/location.htm
Exception Location: 
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/django/template/loader.py
 
in find_template, line 131
Python Executable: /opt/arches3/Projects/ENV/bin/python
Python Version: 2.7.6
Python Path: 
['/opt/arches3/Projects/defc_site_1_224',
 '/opt/arches3/Projects/ENV/lib/python2.7',
 '/opt/arches3/Projects/ENV/lib/python2.7/plat-x86_64-linux-gnu',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-tk',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-old',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages',
 '/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches']
Server time: Thu, 7 May 2015 08:34:12 -0500
Template-loader postmortem

Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.Loader:
/opt/arches3/Projects/defc_site_1_224/defc_site_1_224/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/defc_site_1_224/defc_site_1_224/templatetags/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches_hip/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches_hip/templatetags/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches/app/templates/views/forms/location.htm
 
(File does not exist)
Using loader django.template.loaders.app_directories.Loader:
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/django/contrib/admin/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/django/contrib/auth/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/django/contrib/gis/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches_hip/templates/views/forms/location.htm
 
(File does not exist)
/opt/arches3/Projects/defc_site_1_224/defc_site_1_224/templates/views/forms/location.htm
 
(File does not exist)

==== APPENDIX 2 === Erorr when trying to Export a Concept in RMD 

UnboundLocalError at /concepts/3ef89ea1-8630-4f14-8127-43c7e3fcbd9b
local variable 'concept_graph' referenced before assignment
Request Method: GET
Request URL: 
http://127.0.0.1:8000/concepts/3ef89ea1-8630-4f14-8127-43c7e3fcbd9b?f=skos
Django Version: 1.6.2
Exception Type: UnboundLocalError
Exception Value: 
local variable 'concept_graph' referenced before assignment
Exception Location: 
/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches/app/views/concept.py
 
in concept, line 156
Python Executable: /opt/arches3/Projects/ENV/bin/python
Python Version: 2.7.6
Python Path: 
['/opt/arches3/Projects/defc_site_1_224',
 '/opt/arches3/Projects/ENV/lib/python2.7',
 '/opt/arches3/Projects/ENV/lib/python2.7/plat-x86_64-linux-gnu',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-tk',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-old',
 '/opt/arches3/Projects/ENV/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages',
 '/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches']
Server time: Thu, 7 May 2015 08:30:24 -0500









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