All I can think of is re-indexing elasticsearch:
(after activating your virtualenv)

python manage.py es delete_indexes
python manage.py es setup_indexes
python manage.py es index_database

Not sure if this will help you, but give it a try! 

Vincent


On Friday, 14 September 2018 17:32:37 UTC+2, Dale Lloyd wrote:
>
> Hi,
>
> When in -
>
> Heritage Resource Phase Type Assignment
> Heritage Resource Type
> Widget Manager
>
> And when clicking the Default Value drop down, I get 'loading failed' and 
> the following error shows in the Apache log:
>
> [Fri Sep 14 16:09:17.188339 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896] Internal Server Error: /concepts/paged_dropdown
> [Fri Sep 14 16:09:17.188451 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896] Traceback (most recent call last):
> [Fri Sep 14 16:09:17.188461 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/exception.py",
>  
> line 41, in inner
> [Fri Sep 14 16:09:17.188467 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]     response = get_response(request)
> [Fri Sep 14 16:09:17.188472 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", 
> line 187, in _get_response
> [Fri Sep 14 16:09:17.188478 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]     response = self.process_exception_by_middleware(e, 
> request)
> [Fri Sep 14 16:09:17.188484 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", 
> line 185, in _get_response
> [Fri Sep 14 16:09:17.188490 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]     response = wrapped_callback(request, *callback_args, 
> **callback_kwargs)
> [Fri Sep 14 16:09:17.188495 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/arches/app/views/concept.py", 
> line 330, in paged_dropdown
> [Fri Sep 14 16:09:17.188501 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896]     data = [dict(zip(['conceptid', 'id', 'type', 'text', 
> 'language'], d['valueto'].values()), depth=d['depth']) for d in data]
> [Fri Sep 14 16:09:17.188507 2018] [wsgi:error] [pid 31290:tid 
> 139948209968896] AttributeError: 'NoneType' object has no attribute 'values'
> [Fri Sep 14 16:09:17.571416 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416] Internal Server Error: /concepts/paged_dropdown
> [Fri Sep 14 16:09:17.571461 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416] Traceback (most recent call last):
> [Fri Sep 14 16:09:17.571468 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/exception.py",
>  
> line 41, in inner
> [Fri Sep 14 16:09:17.571474 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]     response = get_response(request)
> [Fri Sep 14 16:09:17.571480 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", 
> line 187, in _get_response
> [Fri Sep 14 16:09:17.571503 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]     response = self.process_exception_by_middleware(e, 
> request)
> [Fri Sep 14 16:09:17.571509 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", 
> line 185, in _get_response
> [Fri Sep 14 16:09:17.571514 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]     response = wrapped_callback(request, *callback_args, 
> **callback_kwargs)
> [Fri Sep 14 16:09:17.571519 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]   File 
> "/opt/Projects/ENV/lib/python2.7/site-packages/arches/app/views/concept.py", 
> line 330, in paged_dropdown
> [Fri Sep 14 16:09:17.571524 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416]     data = [dict(zip(['conceptid', 'id', 'type', 'text', 
> 'language'], d['valueto'].values()), depth=d['depth']) for d in data]
> [Fri Sep 14 16:09:17.571529 2018] [wsgi:error] [pid 31290:tid 
> 139948167964416] AttributeError: 'NoneType' object has no attribute 'values'
>
> The concept collection is showing in the graph
>
> Any help greatly appreciated
>

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