[GeoNode-users] Help geonode on windows raster layer publish

Miguel-Angel Manso-Callejo (UPM) m.manso at upm.es
Wed Jun 17 05:44:46 PDT 2015


Hello

I think that the style is not asigned by geoserver. In any where the 
style file is created on-the-fly because none of the file have the 
structure of the style generated for my raster layer in the publish process.

The problem is on geoserver importer plugin. When use it to publish make 
a style with xml validations problems.

Best regards
Miguel A



El 17/06/2015 a las 14:02, Simone Dalmasso escribió:
> It is assigned by geoserver. You can edit it directly in geoserver -> 
> styles tab.
>
> ps. please always write to the list instead of directly as others may 
> benefit from this thread.
>
> Regards
>
> 2015-06-17 13:59 GMT+02:00 Miguel-Angel Manso-Callejo (UPM) 
> <m.manso at upm.es <mailto:m.manso at upm.es>>:
>
>     Hi Simone
>
>     It is true. The style generated has issues.
>
>     These style is copyed or created on the fly?
>
>     How to or where modify to solve it?
>
>     Regards
>     Miguel A
>
>
>     El 17/06/2015 a las 13:47, Simone Dalmasso escribió:
>>     Hi seems to be an issue related to the layer style. Maybe the
>>     default style has some issues.
>>
>>     2015-06-17 13:36 GMT+02:00 Miguel-Angel Manso-Callejo (UPM)
>>     <m.manso at upm.es <mailto:m.manso at upm.es>>:
>>
>>         Dear all,
>>
>>         I have problems to publish raster layer on geonode 2.4(b25
>>         and early) in windows platform.
>>
>>         The file is published on geoserver (datastores, layer, style)
>>         but in django geonode framework the process do not finish.
>>
>>         The log of apache web server is next.
>>
>>         Gdal is ok installed, and this not appear to be the problem.
>>
>>         Can any one help us to resolve this issue?
>>
>>         regards,
>>         Miguel A. Manso
>>
>>         -----------
>>
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] Traceback (most recent call last):
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File "c:/GeoNode/GeoNode\\geonode\\upload\\views.py",
>>         line 604, in view
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     resp = _steps[step](req, upload_session)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File "c:/GeoNode/GeoNode\\geonode\\upload\\views.py",
>>         line 495, in final_step_view
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     saved_layer = upload.final_step(upload_session,
>>         req.user)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File "c:/GeoNode/GeoNode\\geonode\\upload\\upload.py",
>>         line 567, in final_step
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     defaults=defaults
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\manager.py",
>>         line 154, in get_or_create
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     return self.get_queryset().get_or_create(**kwargs)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\modeltranslation\\manager.py",
>>         line 341, in get_or_create
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     return super(MultilingualQuerySet,
>>         self).get_or_create(**kwargs)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\query.py",
>>         line 383, in get_or_create
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]  obj.save(force_insert=True, using=self.db)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\polymorphic\\polymorphic_model.py",
>>         line 90, in save
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     return super(PolymorphicModel, self).save(*args,
>>         **kwargs)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\base.py",
>>         line 545, in save
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     force_update=force_update, update_fields=update_fields)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\base.py",
>>         line 582, in save_base
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]  update_fields=update_fields, raw=raw, using=using)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\django\\dispatch\\dispatcher.py",
>>         line 185, in send
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     response = receiver(signal=self, sender=sender,
>>         **named)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:/GeoNode/GeoNode\\geonode\\geoserver\\signals.py", line
>>         465, in geoserver_post_save
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     set_styles(instance, gs_catalog)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:/GeoNode/GeoNode\\geonode\\geoserver\\helpers.py", line
>>         755, in set_styles
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     layer.default_style = save_style(default_style)
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:/GeoNode/GeoNode\\geonode\\geoserver\\helpers.py", line
>>         770, in save_style
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     style.sld_title = gs_style.sld_title
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] File
>>         "c:\\GeoNode\\venv\\Lib\\site-packages\\geoserver\\style.py",
>>         line 49, in sld_title
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232]     title_node =
>>         user_style.find("{http://www.opengis.net/sld}Title
>>         <http://www.opengis.net/sld%7DTitle>")
>>         [Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid
>>         1232] AttributeError: 'NoneType' object has no attribute 'find'
>>         _______________________________________________
>>         geonode-users mailing list
>>         geonode-users at lists.osgeo.org
>>         <mailto:geonode-users at lists.osgeo.org>
>>         http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>
>>
>>
>>
>>     -- 
>>     Simone
>
>
>
>
> -- 
> Simone

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150617/a8024a4b/attachment-0001.html>


More information about the geonode-users mailing list