<div dir="ltr">There should be a fix for SLDs on latest gsconfig versions.<div><br></div><div>Try to update the dependencies with</div><div><br></div><div>pip install -e .</div><div><br></div><div>from the GeoNode updated folder.</div><div><br></div><div>I'll check the issue though.</div><div><br></div><div>Regards,</div><div>Alessio.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: +39 0584 962313</div><div>fax:     +39 0584 1660272</div><div>mob:   +39  331 6233686</div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">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.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">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.</font></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Oct 29, 2015 at 4:00 PM, Jeffrey Johnson <span dir="ltr"><<a href="mailto:ortelius@gmail.com" target="_blank">ortelius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Lets keep this on the list. Ill update the ticket and see if the<br>
GeoSolutions guys have any ideas since they have been working on both<br>
gsconfig and the imagemosaic plugin.<br>
<br>
Jeff<br>
<br>
On Thu, Oct 29, 2015 at 5:00 AM, Florian Hoedt <<a href="mailto:florian.hoedt@hs-owl.de">florian.hoedt@hs-owl.de</a>> wrote:<br>
> Hello Jeffrey,<br>
> I tried to reopen the ticket but it seems like I am not allowed to do it (or I just do not know exactly what to click).<br>
> Nevertheless here is the stacktrace:<br>
> <a href="https://gist.github.com/gannebamm/1e1cd8442f90769d4c31" rel="noreferrer" target="_blank">https://gist.github.com/gannebamm/1e1cd8442f90769d4c31</a><br>
><br>
> The Layer is an imagemosaic datastore with the geoserver raster style as default style.<br>
><br>
> mit freundlichen Grüßen<br>
> Florian Hoedt<br>
><br>
> B.Sc. Florian Hoedt<br>
> Hochschule Ostwestfalen-Lippe / Campus Höxter<br>
> FB 9 Landschaftsarchitektur und Umweltplanung<br>
> An der Wilhelmshöhe 44<br>
> 37671 Höxter<br>
> Tel.: 05271-687-7478<br>
> E-Mail: <a href="mailto:florian.hoedt@hs-owl.de">florian.hoedt@hs-owl.de</a><br>
> <a href="http://www.hs-owl.de/fb9" rel="noreferrer" target="_blank">www.hs-owl.de/fb9</a><br>
><br>
> -----Ursprüngliche Nachricht-----<br>
> Von: Jeffrey Johnson [mailto:<a href="mailto:ortelius@gmail.com">ortelius@gmail.com</a>]<br>
> Gesendet: Montag, 26. Oktober 2015 17:34<br>
> An: Florian Hoedt<br>
> Cc: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>; <a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
> Betreff: Re: [GeoNode-users] updatelayers not working: NoneType object has no attribute find<br>
<div class="HOEnZb"><div class="h5">><br>
> Florian,<br>
><br>
> Can you add your stack trace to the ticket and re-open?<br>
><br>
> Jeff<br>
><br>
> On Mon, Oct 26, 2015 at 2:44 AM, Florian Hoedt <<a href="mailto:florian.hoedt@hs-owl.de">florian.hoedt@hs-owl.de</a>> wrote:<br>
>> Hello List,<br>
>> Seems like this error still is present:<br>
>> <a href="https://github.com/GeoNode/geonode/issues/869" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/issues/869</a><br>
>><br>
>> I have created and deleted a lot of datastores in GeoServer (still learning) and after beeing happy with my aerials tried to:<br>
>> sudo geonode updatelayers --skip-geonode-registered<br>
>><br>
>> which gave me:<br>
>> --<br>
>> Traceback (most recent call last):<br>
>>   File "/usr/bin/django-admin", line 5, in <module><br>
>>     management.execute_from_command_line()<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line<br>
>>     utility.execute()<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute<br>
>>     self.fetch_command(subcommand).run_from_argv(self.argv)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv<br>
>>     self.execute(*args, **options.__dict__)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute<br>
>>     output = self.handle(*args, **options)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/management/commands/updatelayers.py", line 108, in handle<br>
>>     remove_deleted=remove_deleted)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 458, in gs_slurp<br>
>>     "bbox_y1": Decimal(resource.latlon_bbox[3])<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 154, in get_or_create<br>
>>     return self.get_queryset().get_or_create(**kwargs)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py", line 341, in get_or_create<br>
>>     return super(MultilingualQuerySet, self).get_or_create(**kwargs)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 383, in get_or_create<br>
>>     obj.save(force_insert=True, using=self.db)<br>
>>   File "/usr/lib/python2.7/dist-packages/polymorphic/polymorphic_model.py", line 90, in save<br>
>>     return super(PolymorphicModel, self).save(*args, **kwargs)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 545, in save<br>
>>     force_update=force_update, update_fields=update_fields)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 582, in save_base<br>
>>     update_fields=update_fields, raw=raw, using=using)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send<br>
>>     response = receiver(signal=self, sender=sender, **named)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/signals.py", line 470, in geoserver_post_save<br>
>>     set_styles(instance, gs_catalog)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 777, in set_styles<br>
>>     layer.default_style = save_style(default_style)<br>
>>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 792, in save_style<br>
>>     style.sld_title = gs_style.sld_title<br>
>>   File "/usr/lib/python2.7/dist-packages/geoserver/style.py", line 49, in sld_title<br>
>>     title_node = user_style.find("{<a href="http://www.opengis.net/sld}Title" rel="noreferrer" target="_blank">http://www.opengis.net/sld}Title</a>")<br>
>> Exception: ('Failed to process DOP Hx 2014', AttributeError("'NoneType' object has no attribute 'find'",))<br>
>> --<br>
>><br>
>> I use the raster sld as default renderer. The layer DOP Hx 2014 is an RGB ImageMosaic Datastore.<br>
>> _______________________________________________<br>
>> geonode-users mailing list<br>
>> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</div></div></blockquote></div><br></div>