[GeoNode-users] Errors creating map from layer

David Alda Fernandez de Lezea dalda at hazi.eus
Mon Feb 15 03:17:41 PST 2016


Hi,

In case it may help… I managed to solve the error by  adding. 

if config["srs"] == 'EPSG:3857':
          config["bbox"] = mercator_to_llbbox([float(coord) for coord in bbox])

Just after

config["bbox"] = bbox if config["srs"] != 'EPSG:900913' \
                    else llbbox_to_mercator([float(coord) for coord in bbox])

Not sure if it's the most elegant way to do it but it works.

Regards,

Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com] 
Enviado el: lunes, 15 de febrero de 2016 9:21
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Errors creating map from layer

I see
then you might have to patch this line https://github.com/GeoNode/geonode/blob/master/geonode/maps/views.py#L509 adding 3857.

I'll open two tickets, one for full support of the 3857 and one for the probably broken support of 4326

thanks for reporting

2016-02-15 9:12 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
Hi Simone,

Yes, I changed the default SRS to EPSG:3857

I had to do it that way as I found the way to solve the projection problems that I had previously.

Thanks.

Regards,

Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
Enviado el: lunes, 15 de febrero de 2016 9:03
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Errors creating map from layer

Hi, did you change the default map SRS to something different than 900913? I geonode doesn't find the 900913 then thinks that the projection is 4326 which should be supported but apparently there may be a bug with the 4326 support.

We need to explore more. I'll open a ticket in case you confirm that you changed the default projection.

2016-02-15 8:31 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
Hi,

I've began to receive an error 500 when creating a Map from layers link "create a map". I get the following:

[Fri Feb 12 06:51:36.716735 2016] [:error] [pid 20620:tid 140326078498560] Internal Server Error: /maps/new
[Fri Feb 12 06:51:36.716762 2016] [:error] [pid 20620:tid 140326078498560] Traceback (most recent call last):
[Fri Feb 12 06:51:36.716767 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Fri Feb 12 06:51:36.716772 2016] [:error] [pid 20620:tid 140326078498560]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri Feb 12 06:51:36.716776 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/local/lib/python2.7/dist-packages/geonode/maps/views.py", line 388, in new_map
[Fri Feb 12 06:51:36.716779 2016] [:error] [pid 20620:tid 140326078498560]     config = new_map_config(request)
[Fri Feb 12 06:51:36.716783 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/local/lib/python2.7/dist-packages/geonode/maps/views.py", line 529, in new_map_config
[Fri Feb 12 06:51:36.716796 2016] [:error] [pid 20620:tid 140326078498560]     layer_params=json.dumps(config),
[Fri Feb 12 06:51:36.716800 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/lib/python2.7/json/__init__.py", line 243, in dumps
[Fri Feb 12 06:51:36.716803 2016] [:error] [pid 20620:tid 140326078498560]     return _default_encoder.encode(obj)
[Fri Feb 12 06:51:36.716806 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
[Fri Feb 12 06:51:36.716809 2016] [:error] [pid 20620:tid 140326078498560]     chunks = self.iterencode(o, _one_shot=True)
[Fri Feb 12 06:51:36.716812 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
[Fri Feb 12 06:51:36.716815 2016] [:error] [pid 20620:tid 140326078498560]     return _iterencode(o, 0)
[Fri Feb 12 06:51:36.716818 2016] [:error] [pid 20620:tid 140326078498560]   File "/usr/lib/python2.7/json/encoder.py", line 184, in default
[Fri Feb 12 06:51:36.716821 2016] [:error] [pid 20620:tid 140326078498560]     raise TypeError(repr(o) + " is not JSON serializable")
[Fri Feb 12 06:51:36.716824 2016] [:error] [pid 20620:tid 140326078498560] TypeError: Decimal('-3.4519594771') is not JSON serializable
[Fri Feb 12 06:51:36.732762 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858] mod_wsgi (pid=20620): Exception occurred processing WSGI script '/var/www/geonode/wsgi/geonode.wsgi'.
[Fri Feb 12 06:51:36.732793 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858] Traceback (most recent call last):
[Fri Feb 12 06:51:36.732813 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
[Fri Feb 12 06:51:36.732949 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     response = self.get_response(request)
[Fri Feb 12 06:51:36.732969 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 194, in get_response
[Fri Feb 12 06:51:36.732992 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Fri Feb 12 06:51:36.733004 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 236, in handle_uncaught_exception
[Fri Feb 12 06:51:36.733021 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return callback(request, **param_dict)
[Fri Feb 12 06:51:36.733036 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in _wrapped_view
[Fri Feb 12 06:51:36.733104 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     response = view_func(request, *args, **kwargs)
[Fri Feb 12 06:51:36.733120 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 46, in server_error
[Fri Feb 12 06:51:36.733178 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return http.HttpResponseServerError(template.render(Context({})))
[Fri Feb 12 06:51:36.733193 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Fri Feb 12 06:51:36.733483 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return self._render(context)
[Fri Feb 12 06:51:36.733501 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Fri Feb 12 06:51:36.733520 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return self.nodelist.render(context)
[Fri Feb 12 06:51:36.733542 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:36.733560 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:36.733571 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:36.733586 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:36.733600 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 53, in render
[Fri Feb 12 06:51:36.733692 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     result = self.nodelist.render(context)
[Fri Feb 12 06:51:36.733707 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:36.733725 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:36.733736 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:36.733751 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:36.733762 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render
[Fri Feb 12 06:51:36.733777 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return self.render_template(self.template, context)
[Fri Feb 12 06:51:36.733788 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template
[Fri Feb 12 06:51:36.733803 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     output = template.render(context)
[Fri Feb 12 06:51:36.733814 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Fri Feb 12 06:51:36.733828 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return self._render(context)
[Fri Feb 12 06:51:36.733839 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Fri Feb 12 06:51:36.733853 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return self.nodelist.render(context)
[Fri Feb 12 06:51:36.733864 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:36.733878 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:36.733889 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:36.733903 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:36.733914 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/announcements/templatetags/announcements_tags.py", line 24, in render
[Fri Feb 12 06:51:36.733962 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     request = context["request"]
[Fri Feb 12 06:51:36.733979 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 56, in __getitem__
[Fri Feb 12 06:51:36.734058 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858]     raise KeyError(key)
[Fri Feb 12 06:51:36.734080 2016] [:error] [pid 20620:tid 140326078498560] [remote 192.168.1.65:1858] KeyError: 'request'
[Fri Feb 12 06:51:54.321429 2016] [:error] [pid 20620:tid 140326061713152] Internal Server Error: /maps/new
[Fri Feb 12 06:51:54.321461 2016] [:error] [pid 20620:tid 140326061713152] Traceback (most recent call last):
[Fri Feb 12 06:51:54.321465 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Fri Feb 12 06:51:54.321468 2016] [:error] [pid 20620:tid 140326061713152]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri Feb 12 06:51:54.321472 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/local/lib/python2.7/dist-packages/geonode/maps/views.py", line 388, in new_map
[Fri Feb 12 06:51:54.321475 2016] [:error] [pid 20620:tid 140326061713152]     config = new_map_config(request)
[Fri Feb 12 06:51:54.321478 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/local/lib/python2.7/dist-packages/geonode/maps/views.py", line 529, in new_map_config
[Fri Feb 12 06:51:54.321481 2016] [:error] [pid 20620:tid 140326061713152]     layer_params=json.dumps(config),
[Fri Feb 12 06:51:54.321484 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/lib/python2.7/json/__init__.py", line 243, in dumps
[Fri Feb 12 06:51:54.321487 2016] [:error] [pid 20620:tid 140326061713152]     return _default_encoder.encode(obj)
[Fri Feb 12 06:51:54.321491 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
[Fri Feb 12 06:51:54.321494 2016] [:error] [pid 20620:tid 140326061713152]     chunks = self.iterencode(o, _one_shot=True)
[Fri Feb 12 06:51:54.321497 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
[Fri Feb 12 06:51:54.321500 2016] [:error] [pid 20620:tid 140326061713152]     return _iterencode(o, 0)
[Fri Feb 12 06:51:54.321503 2016] [:error] [pid 20620:tid 140326061713152]   File "/usr/lib/python2.7/json/encoder.py", line 184, in default
[Fri Feb 12 06:51:54.321506 2016] [:error] [pid 20620:tid 140326061713152]     raise TypeError(repr(o) + " is not JSON serializable")
[Fri Feb 12 06:51:54.321509 2016] [:error] [pid 20620:tid 140326061713152] TypeError: Decimal('-3.4519594766') is not JSON serializable
[Fri Feb 12 06:51:54.336518 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858] mod_wsgi (pid=20620): Exception occurred processing WSGI script '/var/www/geonode/wsgi/geonode.wsgi'.
[Fri Feb 12 06:51:54.336549 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858] Traceback (most recent call last):
[Fri Feb 12 06:51:54.336569 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
[Fri Feb 12 06:51:54.336596 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     response = self.get_response(request)
[Fri Feb 12 06:51:54.336610 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 194, in get_response
[Fri Feb 12 06:51:54.336627 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Fri Feb 12 06:51:54.336639 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 236, in handle_uncaught_exception
[Fri Feb 12 06:51:54.336655 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return callback(request, **param_dict)
[Fri Feb 12 06:51:54.336678 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in _wrapped_view
[Fri Feb 12 06:51:54.336697 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     response = view_func(request, *args, **kwargs)
[Fri Feb 12 06:51:54.336708 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 46, in server_error
[Fri Feb 12 06:51:54.336724 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return http.HttpResponseServerError(template.render(Context({})))
[Fri Feb 12 06:51:54.336736 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Fri Feb 12 06:51:54.336752 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return self._render(context)
[Fri Feb 12 06:51:54.336762 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Fri Feb 12 06:51:54.336777 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return self.nodelist.render(context)
[Fri Feb 12 06:51:54.336788 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:54.336802 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:54.336813 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:54.336842 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:54.336857 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 53, in render
[Fri Feb 12 06:51:54.336875 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     result = self.nodelist.render(context)
[Fri Feb 12 06:51:54.336886 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:54.336900 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:54.336911 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:54.336925 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:54.336936 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render
[Fri Feb 12 06:51:54.336951 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return self.render_template(self.template, context)
[Fri Feb 12 06:51:54.336962 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template
[Fri Feb 12 06:51:54.336977 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     output = template.render(context)
[Fri Feb 12 06:51:54.336988 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Fri Feb 12 06:51:54.337002 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return self._render(context)
[Fri Feb 12 06:51:54.337019 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Fri Feb 12 06:51:54.337035 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return self.nodelist.render(context)
[Fri Feb 12 06:51:54.337046 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Fri Feb 12 06:51:54.337060 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     bit = self.render_node(node, context)
[Fri Feb 12 06:51:54.337070 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in render_node
[Fri Feb 12 06:51:54.337085 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     return node.render(context)
[Fri Feb 12 06:51:54.337095 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/announcements/templatetags/announcements_tags.py", line 24, in render
[Fri Feb 12 06:51:54.337111 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     request = context["request"]
[Fri Feb 12 06:51:54.337122 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]   File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 56, in __getitem__
[Fri Feb 12 06:51:54.337137 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858]     raise KeyError(key)
[Fri Feb 12 06:51:54.337155 2016] [:error] [pid 20620:tid 140326061713152] [remote 192.168.1.65:1858] KeyError: 'request'

It occurs in any layer type..

Any ideas?

Thanks.


Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone 




-- 
Simone 


More information about the geonode-users mailing list