<div dir="ltr">Maybe I found the error. In my layers_style table, the field "sld_url" is like:<div><bound method Style.body_href of <geoserver.style.Style object at 0x7f9a0fda9610>><br></div><div>or </div><div><a href="http://localhost:8080/geoserver/rest/styles/depuratoripubblici.xml">http://localhost:8080/geoserver/rest/styles/depuratoripubblici.xml</a></div><div><br></div><div>If I change the field to "<a href="http://localhost:8080/geoserver/rest/styles/acque_transizione.sld">http://localhost:8080/geoserver/rest/styles/acque_transizione.sld</a>", for example, there's no errors for that layer.</div><div><br></div><div>I've launched an updatelayers for all my layers, before found this, but it doesn't correct the layer's styles. Is it linked to this issue: <a href="https://github.com/GeoNode/geonode/issues/2329">https://github.com/GeoNode/geonode/issues/2329</a> ?</div><div><br></div><div>However the updatelayers has deleted some layers, I don't know why, and then it has re-created them, correctly.</div><div>So, now, I have to change manually all "sld_url" values or you have other suggestions?<br></div><div><br></div><div>Thanks</div><div>Annalisa</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-18 14:44 GMT+01:00 Muhammad <span dir="ltr"><<a href="mailto:mnabiahmad@gmail.com" target="_blank">mnabiahmad@gmail.com</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 Alessio<br>
      <br>
      See if data in field 'detail_url' from table base_resourcebase are
      correct. It should not be empty.  <br><div><div class="h5">
      <br>
      <br>
      <br>
      On 02/18/2016 04:11 PM, Alessio Fabiani wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Did you specify the DB PORT on your
        local_settings.py?
        <div><br>
        </div>
        <div>If so, be sure the value is quoted:</div>
        <div><br>
        </div>
        <div>"5432"</div>
        <div><br>
        </div>
        <div>if you remove the quotes you'll get an error similar to the
          one on the logs.</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div>
                              <div style="font-size:12.8px">Best
                                Regards,</div>
                              <div style="font-size:12.8px">Alessio
                                Fabiani.</div>
                              <div style="font-size:12.8px"><br>
                              </div>
                              <div style="font-size:12.8px">
                                <div>==</div>
                                <div>GeoServer Professional Services
                                  from the experts!</div>
                                <div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a>
                                  for more information.</div>
                                <div>==</div>
                              </div>
                              <div style="font-size:12.8px"><br>
                              </div>
                              <div style="font-size:12.8px">Ing. Alessio
                                Fabiani</div>
                              <div style="font-size:12.8px">@alfa7691</div>
                              <div style="font-size:12.8px">Founder/Technical
                                Lead</div>
                              <div style="font-size:12.8px"><br>
                              </div>
                              <div style="font-size:12.8px">
                                <div>GeoSolutions S.A.S.</div>
                                <div>Via di Montramito 3/A</div>
                                <div>55054  Massarosa (LU)</div>
                                <div>Italy</div>
                                <div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div>
                                <div>fax:     <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div>
                                <div>mob:   <a href="tel:%2B39%20333%208128928" value="+393338128928" target="_blank">+39 333 8128928</a></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>
                              <div style="font-size:12.8px"><br>
                              </div>
                              <div style="font-size:12.8px">-------------------------------------------------------</div>
                              <div style="font-size:12.8px"><br>
                              </div>
                              <div style="font-size:12.8px">
                                <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>
                                <p><font size="1">---------------------------------------------------------------------</font></p>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Thu, Feb 18, 2016 at 1:47 PM,
          Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">I have sld styles for all my layers. But on
              geoserver, the preview works fine.
              <div>What field on DB I have to check?</div>
              <div><br>
              </div>
              <div>It may be due to the fact that I don't have upload
                sessions associated to my layers?</div>
              <div>I usually load <span style="font-size:12.8px">layers
                  on postgis, then I create layers in geoserver and then
                  I throw  geonode updatelayers from console.</span></div>
              <div><span style="font-size:12.8px"><br>
                </span>
                <div><br>
                </div>
              </div>
            </div>
            <div>
              <div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2016-02-18 13:14 GMT+01:00
                    Amedeo Fadini <span dir="ltr"><<a href="mailto:amefad@gmail.com" target="_blank">amefad@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>2016-02-18
                        12:54 GMT+01:00 Annalisa Schiavon <<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">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 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 gives<br>
                        > internal error.<br>
                      </span>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>
                      <span><font color="#888888"><br>
                          Amedeo Fadini<br>
                        </font></span></blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            geonode-users mailing list<br>
            <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">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>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
geonode-users mailing list
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
best regards 

Muhammad Nabi Ahmad
Twitter : mnabiahmad
Blog    : <a href="https://scriptndebug.wordpress.com/" target="_blank">https://scriptndebug.wordpress.com/</a></pre>
  </font></span></div>

<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></blockquote></div><br></div>