[GeoNode-users] Internal server error when updating layer metadata

Paolo Corti pcorti at gmail.com
Tue Feb 13 08:31:28 PST 2018


I would still use importlayers. If you use PostGIS as a datastore you
won't be affected by the issue, otherwise remember to set correct
permissions on imported shapefiles.
For imported geotiffs you have no option, but set the permissions.
Paolo

On Tue, Feb 13, 2018 at 4:03 AM, Joshi, Jigeeshu
<Jigeeshu.Joshi at ils-forschung.de> wrote:
> Hi Paolo, Alessio,
>
> Thanks for your comments. It seems using importlayers is not the most convenient way to import data in Geonode. What is the best way to automate import of several layers in Geonode?
>
> Jigeeshu
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Paolo Corti [mailto:pcorti at gmail.com]
> Gesendet: Samstag, 10. Februar 2018 15:22
> An: Alessio Fabiani
> Cc: Joshi, Jigeeshu; geonode-users at lists.osgeo.org
> Betreff: Re: [GeoNode-users] Internal server error when updating layer metadata
>
> It looks very likely to be a permission issues. Importlayers creates the layer with permissions generally different from the ones needed by www-data. This is generally not a problem when using PostGIS Paolo
>
> On Fri, Feb 9, 2018 at 9:49 AM, Alessio Fabiani <alessio.fabiani at geo-solutions.it> wrote:
>> In the case the file is accessible, usually this error depends on
>> internal shapefile encoding (it contains ASCII letters non UTF-8
>> encoded, as an instance, and/or Django is not configured to support
>> that internal encoding).
>>
>> So, most probably, inside your shapefile there are some strange characters.
>>
>> 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.
>>
>>
>> 2018-02-09 15:21 GMT+01:00 Joshi, Jigeeshu
>> <Jigeeshu.Joshi at ils-forschung.de>:
>>>
>>> Hi,
>>>
>>> I have standard Geonode installation on Ubuntu 16.04.
>>>
>>> Today I successfully imported 4 layers using importlayers command to
>>> Geonode.  All layers have by default have  same name. So I am trying
>>> to edit the metadata from geonode GUI (web app) to give them more
>>> relevant name. But it causes Internal server error. Below is the
>>> excerpt from /apache2/error.log
>>>
>>>
>>>
>>> [Fri Feb 09 07:15:18.141159 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] GDAL_ERROR 4: Unable to open
>>> /var/www/geonode/uploaded/layers/newyork_4.shp or
>>> /var/www/geonode/uploaded/layers/newyork_4.SHP.
>>>
>>> [Fri Feb 09 07:15:18.141215 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] Could not open
>>> /var/www/geonode/uploaded/layers/newyork_4.shp
>>>
>>> [Fri Feb 09 07:15:18.142715 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] Internal Server Error:
>>> /layers/geonode:newyork_4/metadata
>>>
>>> [Fri Feb 09 07:15:18.142725 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] Traceback (most recent call last):
>>>
>>> [Fri Feb 09 07:15:18.142728 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line
>>> 132, in get_response
>>>
>>> [Fri Feb 09 07:15:18.142731 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     response = wrapped_callback(request, *callback_args,
>>> **callback_kwargs)
>>>
>>> [Fri Feb 09 07:15:18.142734 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py",
>>> line 22, in _wrapped_view
>>>
>>> [Fri Feb 09 07:15:18.142737 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     return view_func(request, *args, **kwargs)
>>>
>>> [Fri Feb 09 07:15:18.142740 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py",
>>> line 489, in layer_metadata
>>>
>>> [Fri Feb 09 07:15:18.142742 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     the_layer = layer_form.save()
>>>
>>> [Fri Feb 09 07:15:18.142745 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/forms/models.py", line 459,
>>> in save
>>>
>>> [Fri Feb 09 07:15:18.142748 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     construct=False)
>>>
>>> [Fri Feb 09 07:15:18.142750 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/forms/models.py", line 105,
>>> in save_instance
>>>
>>> [Fri Feb 09 07:15:18.142753 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     instance.save()
>>>
>>> [Fri Feb 09 07:15:18.142756 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/polymorphic/models.py", line 90, in
>>> save
>>>
>>> [Fri Feb 09 07:15:18.142758 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     return super(PolymorphicModel, self).save(*args,
>>> **kwargs)
>>>
>>> [Fri Feb 09 07:15:18.142761 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line
>>> 734, in save
>>>
>>> [Fri Feb 09 07:15:18.142764 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     force_update=force_update, update_fields=update_fields)
>>>
>>> [Fri Feb 09 07:15:18.142774 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line
>>> 758, in save_base
>>>
>>> [Fri Feb 09 07:15:18.142777 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     update_fields=update_fields)
>>>
>>> [Fri Feb 09 07:15:18.142779 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py",
>>> line 189, in send
>>>
>>> [Fri Feb 09 07:15:18.142782 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     response = receiver(signal=self, sender=sender,
>>> **named)
>>>
>>> [Fri Feb 09 07:15:18.142784 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/models.py",
>>> line 468, in pre_save_layer
>>>
>>> [Fri Feb 09 07:15:18.142787 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     base_file, info = instance.get_base_file()
>>>
>>> [Fri Feb 09 07:15:18.142789 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/models.py",
>>> line 222, in get_base_file
>>>
>>> [Fri Feb 09 07:15:18.142791 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928]     assert valid_shp, msg
>>>
>>> [Fri Feb 09 07:15:18.142794 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] AssertionError: File cannot be opened, maybe check
>>> the encoding
>>>
>>> [Fri Feb 09 07:15:18.151587 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918] mod_wsgi (pid=24327):
>>> Exception occurred processing WSGI script
>>> '/var/www/geonode/wsgi/geonode.ws$
>>>
>>> [Fri Feb 09 07:15:18.151601 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918] Traceback (most recent
>>> call
>>> last):
>>>
>>> [Fri Feb 09 07:15:18.151609 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line
>>> 189, in __call__
>>>
>>> [Fri Feb 09 07:15:18.151621 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     response =
>>> self.get_response(request)
>>>
>>> [Fri Feb 09 07:15:18.151625 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line
>>> 218, in get_response
>>>
>>> [Fri Feb 09 07:15:18.151632 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     response =
>>> self.handle_uncaught_exception(request, resolver, sys.exc_info())
>>>
>>> [Fri Feb 09 07:15:18.151635 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line
>>> 268, in handle_uncau$
>>>
>>> [Fri Feb 09 07:15:18.151641 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return callback(request,
>>> **param_dict)
>>>
>>> [Fri Feb 09 07:15:18.151644 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line
>>> 110, in _wrapped_view
>>>
>>> [Fri Feb 09 07:15:18.151679 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     response =
>>> view_func(request, *args, **kwargs)
>>>
>>> [Fri Feb 09 07:15:18.151684 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 45,
>>> in server_error
>>>
>>> [Fri Feb 09 07:15:18.151706 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> http.HttpResponseServerError(template.render())
>>>
>>> [Fri Feb 09 07:15:18.151713 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/backends/django.py"
>>> , line 74, in render
>>>
>>> [Fri Feb 09 07:15:18.151735 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.template.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151740 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 210,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.151909 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self._render(context)
>>>
>>> [Fri Feb 09 07:15:18.151914 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202,
>>> in _render
>>>
>>> [Fri Feb 09 07:15:18.151921 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151926 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.151931 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.151935 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/debug.py", line 79,
>>> in render_node
>>>
>>> [Fri Feb 09 07:15:18.151965 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> node.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151970 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>> line 56, in render
>>>
>>> [Fri Feb 09 07:15:18.152010 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     result =
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152014 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152021 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.152024 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/debug.py", line 79,
>>> in render_node
>>>
>>> [Fri Feb 09 07:15:18.152029 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> node.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152033 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>> line 159, in render
>>>
>>> [Fri Feb 09 07:15:18.152039 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> template.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152042 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 212,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152047 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self._render(context)
>>>
>>> [Fri Feb 09 07:15:18.152050 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202,
>>> in _render
>>>
>>> [Fri Feb 09 07:15:18.152055 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152058 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152063 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.151644 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line
>>> 110, in _wrapped_view
>>>
>>> [Fri Feb 09 07:15:18.151679 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     response =
>>> view_func(request, *args, **kwargs)
>>>
>>> [Fri Feb 09 07:15:18.151684 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 45,
>>> in server_error
>>>
>>> [Fri Feb 09 07:15:18.151706 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> http.HttpResponseServerError(template.render())
>>>
>>> [Fri Feb 09 07:15:18.151713 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/backends/django.py"
>>> , line 74, in render
>>>
>>> [Fri Feb 09 07:15:18.151735 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.template.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151740 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 210,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.151909 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self._render(context)
>>>
>>> [Fri Feb 09 07:15:18.151914 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202,
>>> in _render
>>>
>>> [Fri Feb 09 07:15:18.151921 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151926 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.151931 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.151935 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/debug.py", line 79,
>>> in render_node
>>>
>>> [Fri Feb 09 07:15:18.151965 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> node.render(context)
>>>
>>> [Fri Feb 09 07:15:18.151970 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>> line 56, in render
>>>
>>> [Fri Feb 09 07:15:18.152010 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     result =
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152014 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152021 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.152024 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/debug.py", line 79,
>>> in render_node
>>>
>>> [Fri Feb 09 07:15:18.152029 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> node.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152033 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>> line 159, in render
>>>
>>> [Fri Feb 09 07:15:18.152039 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> template.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152042 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 212,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152047 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self._render(context)
>>>
>>> [Fri Feb 09 07:15:18.152050 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202,
>>> in _render
>>>
>>> [Fri Feb 09 07:15:18.152055 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> self.nodelist.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152058 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905,
>>> in render
>>>
>>> [Fri Feb 09 07:15:18.152063 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     bit =
>>> self.render_node(node, context)
>>>
>>> [Fri Feb 09 07:15:18.152066 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/debug.py", line 79,
>>> in render_node
>>>
>>> [Fri Feb 09 07:15:18.152071 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     return
>>> node.render(context)
>>>
>>> [Fri Feb 09 07:15:18.152074 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/announcements/templatetags/announce
>>> ments_tags.py",
>>> line $
>>>
>>> [Fri Feb 09 07:15:18.152096 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     request =
>>> context["request"]
>>>
>>> [Fri Feb 09 07:15:18.152101 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]   File
>>> "/usr/lib/python2.7/dist-packages/django/template/context.py", line
>>> 71, in __getitem__
>>>
>>> [Fri Feb 09 07:15:18.152143 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918]     raise KeyError(key)
>>>
>>> [Fri Feb 09 07:15:18.152151 2018] [wsgi:error] [pid 24327:tid
>>> 140056182236928] [remote 217.86.228.104:34918] KeyError: 'request'
>>>
>>>
>>>
>>> It seems to  indicate that the folder:
>>> /var/www/geonode/uploaded/layers/ is not accessible .  Is this permission issue on the server side or what ?
>>>
>>> Kindly  give your input.
>>>
>>> Thanks
>>>
>>> Jio
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-users mailing list