[GeoNode-users] Failure during installation
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Thu Sep 14 08:07:38 PDT 2017
Quite strange, however just add
GROUP_PRIVATE_RESOURCES = False
to your local_settings.py (or settings.py)
Regards,
Alessio Fabiani
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
On Thu, Sep 14, 2017 at 5:05 PM, Enrique Cerrillo Cuenca <cerrillo at uevora.pt
> wrote:
> 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'
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170914/60de2a9a/attachment-0001.html>
More information about the geonode-users
mailing list