<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello<br>
<br>
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.<br>
<br>
The problem is on geoserver importer plugin. When use it to
publish make a style with xml validations problems.<br>
<br>
Best regards<br>
Miguel A<br>
<br>
<br>
<br>
El 17/06/2015 a las 14:02, Simone Dalmasso escribió:<br>
</div>
<blockquote
cite="mid:CAAHAC+epheWmcf+2D=fza8d+nxqw3W4-eyqO8UPm-ZMBRA1WVQ@mail.gmail.com"
type="cite">
<div dir="ltr">It is assigned by geoserver. You can edit it
directly in geoserver -> styles tab.
<div><br>
</div>
<div>ps. please always write to the list instead of directly as
others may benefit from this thread.</div>
<div><br>
</div>
<div>Regards</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-06-17 13:59 GMT+02:00 Miguel-Angel
Manso-Callejo (UPM) <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:m.manso@upm.es"
target="_blank">m.manso@upm.es</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Simone<br>
<br>
It is true. The style generated has issues. <br>
<br>
These style is copyed or created on the fly?<br>
<br>
How to or where modify to solve it?<br>
<br>
Regards<br>
Miguel A<br>
<br>
<br>
El 17/06/2015 a las 13:47, Simone Dalmasso escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi seems to be an issue related to the
layer style. Maybe the default style has some issues.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-06-17 13:36 GMT+02:00
Miguel-Angel Manso-Callejo (UPM) <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:m.manso@upm.es" target="_blank">m.manso@upm.es</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Dear
all,<br>
<br>
I have problems to publish raster layer on geonode
2.4(b25 and early) in windows platform.<br>
<br>
The file is published on geoserver (datastores,
layer, style) but in django geonode framework the
process do not finish.<br>
<br>
The log of apache web server is next.<br>
<br>
Gdal is ok installed, and this not appear to be
the problem.<br>
<br>
Can any one help us to resolve this issue?<br>
<br>
regards,<br>
Miguel A. Manso<br>
<br>
-----------<br>
<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] Traceback (most recent call
last):<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] resp = _steps[step](req,
upload_session)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] saved_layer =
upload.final_step(upload_session, req.user)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] defaults=defaults<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] return
self.get_queryset().get_or_create(**kwargs)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] return
super(MultilingualQuerySet,
self).get_or_create(**kwargs)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232]
obj.save(force_insert=True, using=self.db)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] return
super(PolymorphicModel, self).save(*args,
**kwargs)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] force_update=force_update,
update_fields=update_fields)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232]
update_fields=update_fields, raw=raw,
using=using)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] response =
receiver(signal=self, sender=sender, **named)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] set_styles(instance,
gs_catalog)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] layer.default_style =
save_style(default_style)<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] style.sld_title =
gs_style.sld_title<br>
[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<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] title_node =
user_style.find("{<a moz-do-not-send="true"
href="http://www.opengis.net/sld%7DTitle"
rel="noreferrer" target="_blank">http://www.opengis.net/sld}Title</a>")<br>
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error]
[pid 1504:tid 1232] AttributeError: 'NoneType'
object has no attribute 'find'<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:geonode-users@lists.osgeo.org"
target="_blank">geonode-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div>Simone </div>
</font></span></div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Simone </div>
</div>
</blockquote>
<br>
</body>
</html>