<p dir="ltr">The layer info page doesn't caused errors on 2.4c1, but the "manage style" operation caused no result on "load styles".<br>
I don't know what value had sld_url.</p>
<p dir="ltr">I upgrade ubuntu, after having update ppa references. Then I've changed the geoserver data-dir, from default to my path. At this point I have 73 layers on geoserver and also on geonode, but the errors described above.<br>
Than I run updatelayers, but with no result. I run again updatelayers, adding some layers, and the new layers have the right value of sld_url and the layer info page is OK forma the news.<br>
</p>
<div class="gmail_quote">Il 18/feb/2016 03:28 PM, "Paolo Corti" <<a href="mailto:pcorti@gmail.com">pcorti@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Annalisa<br>
this is strange indeed, because accordingly to what you did the value<br>
for sld_url shouldn't have changed (unless you run updatelayers on the<br>
layer), and that value indicates that at<br>
some point the layer was saved and this generated the error (every<br>
time the layer is saved the style table is synced with GeoServer).<br>
Are you sure that this page was not causing error also on 2.4c1?<br>
cheers<br>
p<br>
<br>
On Thu, Feb 18, 2016 at 9:19 AM, Annalisa Schiavon<br>
<<a href="mailto:annalisa.schiavon@gmail.com">annalisa.schiavon@gmail.com</a>> wrote:<br>
> Maybe I found the error. In my layers_style table, the field "sld_url" is<br>
> like:<br>
> <bound method Style.body_href of <geoserver.style.Style object at<br>
> 0x7f9a0fda9610>><br>
> or<br>
> <a href="http://localhost:8080/geoserver/rest/styles/depuratoripubblici.xml" rel="noreferrer" target="_blank">http://localhost:8080/geoserver/rest/styles/depuratoripubblici.xml</a><br>
><br>
> If I change the field to<br>
> "<a href="http://localhost:8080/geoserver/rest/styles/acque_transizione.sld" rel="noreferrer" target="_blank">http://localhost:8080/geoserver/rest/styles/acque_transizione.sld</a>", for<br>
> example, there's no errors for that layer.<br>
><br>
> I've launched an updatelayers for all my layers, before found this, but it<br>
> doesn't correct the layer's styles. Is it linked to this issue:<br>
> <a href="https://github.com/GeoNode/geonode/issues/2329" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/issues/2329</a> ?<br>
><br>
> However the updatelayers has deleted some layers, I don't know why, and then<br>
> it has re-created them, correctly.<br>
> So, now, I have to change manually all "sld_url" values or you have other<br>
> suggestions?<br>
><br>
> Thanks<br>
> Annalisa<br>
><br>
> 2016-02-18 14:44 GMT+01:00 Muhammad <<a href="mailto:mnabiahmad@gmail.com">mnabiahmad@gmail.com</a>>:<br>
>><br>
>> Hi Alessio<br>
>><br>
>> See if data in field 'detail_url' from table base_resourcebase are<br>
>> correct. It should not be empty.<br>
>><br>
>><br>
>><br>
>> On 02/18/2016 04:11 PM, Alessio Fabiani wrote:<br>
>><br>
>> Did you specify the DB PORT on your local_settings.py?<br>
>><br>
>> If so, be sure the value is quoted:<br>
>><br>
>> "5432"<br>
>><br>
>> if you remove the quotes you'll get an error similar to the one on the<br>
>> logs.<br>
>><br>
>><br>
>> Best Regards,<br>
>> Alessio Fabiani.<br>
>><br>
>> ==<br>
>> GeoServer Professional Services from the experts!<br>
>> Visit <a href="http://goo.gl/it488V" rel="noreferrer" target="_blank">http://goo.gl/it488V</a> for more information.<br>
>> ==<br>
>><br>
>> Ing. Alessio Fabiani<br>
>> @alfa7691<br>
>> Founder/Technical Lead<br>
>><br>
>> GeoSolutions S.A.S.<br>
>> Via di Montramito 3/A<br>
>> 55054  Massarosa (LU)<br>
>> Italy<br>
>> phone: <a href="tel:%2B39%200584%20962313" value="+390584962313">+39 0584 962313</a><br>
>> fax:     <a href="tel:%2B39%200584%201660272" value="+3905841660272">+39 0584 1660272</a><br>
>> mob:   <a href="tel:%2B39%20333%208128928" value="+393338128928">+39 333 8128928</a><br>
>><br>
>> <a href="http://www.geo-solutions.it" rel="noreferrer" target="_blank">http://www.geo-solutions.it</a><br>
>> <a href="http://twitter.com/geosolutions_it" rel="noreferrer" target="_blank">http://twitter.com/geosolutions_it</a><br>
>><br>
>> -------------------------------------------------------<br>
>><br>
>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003<br>
>><br>
>> Le informazioni contenute in questo messaggio di posta elettronica e/o<br>
>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro<br>
>> utilizzo è consentito esclusivamente al destinatario del messaggio, per le<br>
>> finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio<br>
>> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia<br>
>> via e-mail e di procedere alla distruzione del messaggio stesso,<br>
>> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo<br>
>> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per<br>
>> finalità diverse, costituisce comportamento contrario ai principi dettati<br>
>> dal D.Lgs. 196/2003.<br>
>><br>
>><br>
>><br>
>> The information in this message and/or attachments, is intended solely for<br>
>> the attention and use of the named addressee(s) and may be confidential or<br>
>> proprietary in nature or covered by the provisions of privacy act<br>
>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection<br>
>> Code).Any use not in accord with its purpose, any disclosure, reproduction,<br>
>> copying, distribution, or either dissemination, either whole or partial, is<br>
>> strictly forbidden except previous formal approval of the named<br>
>> addressee(s). If you are not the intended recipient, please contact<br>
>> immediately the sender by telephone, fax or e-mail and delete the<br>
>> information in this message that has been received in error. The sender does<br>
>> not give any warranty or accept liability as the content, accuracy or<br>
>> completeness of sent messages and accepts no responsibility  for changes<br>
>> made after they were sent or for other risks which arise as a result of<br>
>> e-mail transmission, viruses, etc.<br>
>><br>
>> ---------------------------------------------------------------------<br>
>><br>
>><br>
>> On Thu, Feb 18, 2016 at 1:47 PM, Annalisa Schiavon<br>
>> <<a href="mailto:annalisa.schiavon@gmail.com">annalisa.schiavon@gmail.com</a>> wrote:<br>
>>><br>
>>> I have sld styles for all my layers. But on geoserver, the preview works<br>
>>> fine.<br>
>>> What field on DB I have to check?<br>
>>><br>
>>> It may be due to the fact that I don't have upload sessions associated to<br>
>>> my layers?<br>
>>> I usually load layers on postgis, then I create layers in geoserver and<br>
>>> then I throw  geonode updatelayers from console.<br>
>>><br>
>>><br>
>>><br>
>>> 2016-02-18 13:14 GMT+01:00 Amedeo Fadini <<a href="mailto:amefad@gmail.com">amefad@gmail.com</a>>:<br>
>>>><br>
>>>> 2016-02-18 12:54 GMT+01:00 Annalisa Schiavon<br>
>>>> <<a href="mailto:annalisa.schiavon@gmail.com">annalisa.schiavon@gmail.com</a>>:<br>
>>>> > Hi all,<br>
>>>> > I've just upgrade geonode from 2.4c1 to 2.4 stable. No errors during<br>
>>>> > installation, no problem to log in geonode and geoserver, but the<br>
>>>> > layer info<br>
>>>> > page  gives "Internal Server Error".<br>
>>>> > It's all ok in maps, on layers list's, but when I click on a layer, it<br>
>>>> > gives<br>
>>>> > internal error.<br>
>>>> Accoridng to lines 73-74 of erro.log it seems that the script<br>
>>>> geonode/layers/models.py is unable to make the right url for sld style<br>
>>>> (index out of range)<br>
>>>> Do you have custom sld style associated to  the tested layer<br>
>>>> (rete_balneazione_2015)?<br>
>>>><br>
>>>> Amedeo Fadini<br>
>>><br>
>>><br>
>>><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>
>>><br>
>><br>
>><br>
>><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>
>><br>
>><br>
>><br>
>> --<br>
>> best regards<br>
>><br>
>> Muhammad Nabi Ahmad<br>
>> Twitter : mnabiahmad<br>
>> Blog    : <a href="https://scriptndebug.wordpress.com/" rel="noreferrer" target="_blank">https://scriptndebug.wordpress.com/</a><br>
>><br>
>><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>
>><br>
><br>
><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>
><br>
<br>
<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" rel="noreferrer" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
</blockquote></div>