[GeoNode-users] Failure during installation
Enrique Cerrillo Cuenca
cerrillo at uevora.pt
Thu Sep 14 08:05:53 PDT 2017
Dear community,
I had to reinstall geonode these days and I'm struggling with an error. The
installation successes, but when I click on "Layers" I get the following
error (see below for a traceback):
In template /usr/src/app/geonode/templates/search/_type_filters.html, error
at line 6
'Settings' object has no attribute 'GROUP_PRIVATE_RESOURCES'
I have succeeded in completing all the stages of the installation.
Thanks in advance,
Enrique
Environment:Request Method: GETRequest URL: ------------Django
Version: 1.8.7Python Version: 2.7.9Installed
Applications:('modeltranslation', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.sessions',
'django.contrib.sites', 'django.contrib.admin',
'django.contrib.sitemaps', 'django.contrib.staticfiles',
'django.contrib.messages', 'django.contrib.humanize',
'django.contrib.gis', 'pagination', 'taggit', 'treebeard',
'friendlytagloader', 'geoexplorer', 'leaflet', 'django_extensions',
'autocomplete_light', 'mptt', 'djcelery', 'kombu.transport.django',
'storages', 'floppyforms', 'pinax_theme_bootstrap',
'django_forms_bootstrap', 'account', 'avatar', 'dialogos',
'agon_ratings', 'announcements', 'actstream', 'user_messages',
'tastypie', 'polymorphic', 'guardian', 'oauth2_provider',
'geonode.contrib.metadataxsl', 'geonode.people', 'geonode.base',
'geonode.layers', 'geonode.maps', 'geonode.proxy', 'geonode.security',
'geonode.social', 'geonode.catalogue', 'geonode.documents',
'geonode.api', 'geonode.groups', 'geonode.services',
'geonode.geoserver', 'geonode.upload', 'geonode.tasks')Installed
Middleware:('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'pagination.middleware.PaginationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'oauth2_provider.middleware.OAuth2TokenMiddleware')Template error:In
template /usr/src/app/geonode/templates/search/_type_filters.html,
error at line 6 'Settings' object has no attribute
'GROUP_PRIVATE_RESOURCES' 1 : {% load i18n %} 2 : {% load
base_tags %} 3 : <nav class="filter"> 4 : <h4><a href="#"
class="toggle toggle-nav"><i class="fa fa-chevron-down"></i>{% trans
header %}</a></h4> 5 : <ul class="nav" id="types"> 6 :
{% facets as facets %} 7 : 8 : {% for facet, count in
facets.items %} 9 : {% if count > 0 %} 10 : <li>
11 : <a id="{{ facet }}" data-value="{{ facet }}"
data-filter="{{ filter }}"
ng-click="multiple_choice_listener($event)">{{ facet|capfirst }} 12
: <span class="badge pull-right">{{ count }}</span> 13 :
</a> 14 : </li> 15 : {% endif %} 16
: {% endfor %}Traceback:File
"/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py"
in get_response 164. response = response.render()File
"/usr/local/lib/python2.7/site-packages/django/template/response.py"
in render 158. self.content = self.rendered_contentFile
"/usr/local/lib/python2.7/site-packages/django/template/response.py"
in rendered_content 135. content = template.render(context,
self._request)File
"/usr/local/lib/python2.7/site-packages/django/template/backends/django.py"
in render 74. return self.template.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 210. return self._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 135. return compiled_parent._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 135. return compiled_parent._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 135. return compiled_parent._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 65. result =
block.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 65. result =
block.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 65. result =
block.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py"
in render 576. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py"
in render 576. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py"
in render 576. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 159. return template.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 212. return self._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py"
in render 329. return nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py"
in render 159. return template.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 212. return self._render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
_render 202. return self.nodelist.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 905. bit = self.render_node(node, context)File
"/usr/local/lib/python2.7/site-packages/django/template/debug.py" in
render_node 79. return node.render(context)File
"/usr/local/lib/python2.7/site-packages/django/template/base.py" in
render 1229. context[self.target_var] =
func(*resolved_args, **resolved_kwargs)File
"/usr/src/app/geonode/base/templatetags/base_tags.py" in facets 169.
if settings.GROUP_PRIVATE_RESOURCES:File
"/usr/local/lib/python2.7/site-packages/django/conf/__init__.py" in
__getattr__ 49. return getattr(self._wrapped, name)Exception
Type: AttributeError at /layers/
Exception Value: 'Settings' object has no attribute
'GROUP_PRIVATE_RESOURCES'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170914/8930672b/attachment-0001.html>
More information about the geonode-users
mailing list