<div dir="ltr">Davi, the thumbnail generation "should" be unrelated to the presence of bing in the layers list. The absence of the layer in the thumb let me suspect a geoserver issue, check the logs.<div class="gmail_extra"><br><div class="gmail_quote">2015-10-08 20:52 GMT+02:00 Davi Custodio <span dir="ltr"><<a href="mailto:davicustodio@gmail.com" target="_blank">davicustodio@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Davi Custodio</b> <span dir="ltr"><<a href="mailto:davicustodio@gmail.com" target="_blank">davicustodio@gmail.com</a>></span><br>Date: Thu, Oct 8, 2015 at 11:16 AM<br>Subject: Re: [GeoNode-users] [GeoNode-devel] bing api request denied<br>To: Paolo Corti <<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>><br><br><br><div dir="ltr"><div>Simone and Paolo,</div><div><br></div><div>started happening some strange things in all my GeoNode servers after the problem with Bing began to happen:</div><div><br></div><div>1 - When performing "geonode updatelayers" no thumb file is generated in the /var/www/geonode/uploaded/thumbs</div><div><br></div><div>2 - When you access a layer and force the thumb generation in the "set" button, the thumb is usually generated for some layers and your file too, but for most, the thumb generated shows only the background map (Mapquest OpenStreetMap) without showing the contents of the layer of geoserver.</div><div><br></div><div>Tested in both situations: taking and keeping bing in the local_settings.py.</div><div><br></div><div>Any idea what might be going on?</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div><div><div>On Thu, Oct 8, 2015 at 11:06 AM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br></div></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div><div dir="ltr">It works perfectly, thanks Simone!<div>For people not confident with the django shell, the same result can be accomplished running the following SQL (not tested but should work):</div><div>DELETE FROM maps_maplayer WHERE NAME = 'AerialWithLabels'<span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><br><div>p</div></font></span><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 2:34 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Here the two commands that you can type in a "geonode shell" (for a standard geonode installation) to remove bing from existing maps.<div><br></div><div>>>> from geonode.maps.models import MapLayer</div><div>>>> MapLayer.objects.filter(name=u'AerialWithLabels').delete()</div><div><br></div><div>Hope this helps</div>







</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-10-07 16:06 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Paolo that's right :(</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-10-07 15:57 GMT+02:00 Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks to both<div>for system in productions containing existing maps I think the only way is to follow Bart's suggestion or running a script able to remove the Bing map baselayer from any existing map.</div><div>cheers</div><div>p</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 3:51 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks Bart,<div><br></div><div>then is good to keep it disabled by default and add instructions on how to properly add it.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-10-07 15:50 GMT+02:00 Bart van den Eijnden <span dir="ltr"><<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Ideally you would have requested your own API key for your site on <a href="https://www.bingmapsportal.com" target="_blank">https://www.bingmapsportal.com</a><br><div>

<div><br></div><div>And then configure the gxp Bing source with the apiKey property / config.</div><div><br></div><div>Best regards,</div><div>Bart<br clear="all"><div><div dir="ltr"><div><br></div><span style="font-family:arial;font-size:small">Bart van den Eijnden</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">Front End Software Engineer | <a href="http://boundlessgeo.com/" target="_blank">Boundless</a></span><br style="font-family:arial;font-size:small">

<a href="mailto:bartvde@boundlessgeo.com" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">bartvde@boundlessgeo.com</a><br style="font-family:arial;font-size:small"><a href="tel:917-460-7207" value="+19174607207" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">1-877-673-6436</a><br style="font-family:arial;font-size:small">

<a href="http://twitter.com/boundlessgeo/" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">@boundlessgeo</a><div><br><div class="gmail_extra" style="font-family:arial;font-size:small"><a href="http://boundlessgeo.com" target="_blank"><img src="http://boundlessgeo.com/wp-content/uploads/files/boundless_sig.png"></a><br>

</div></div></div></div>
</div></div>


<br><div><blockquote type="cite"><div><div><div>On 07 Oct 2015, at 15:41, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr">Dears,<div><br></div><div>from yesterday the bing maps api that are used by default in every GeoNode map are not working anymore due to a request denied. The effect is that every map in GeoNode cannot be zoomed properly anymore.</div><div><br></div><div>While we try to figure out what is the cause of this we suggest a quick fix,</div><div>open your GeoNode settings  (/etc/geonode/local_settings.py for a standard apt-get installation) and comment the following lines like we already did on master</div><div><a href="https://github.com/GeoNode/geonode/commit/f2707e64e78931b31a06016a3e04f1ba76021b66" target="_blank">https://github.com/GeoNode/geonode/commit/f2707e64e78931b31a06016a3e04f1ba76021b66</a> then restart the web server.</div><div><br></div><div>We appreciate any comment and feedback.</div><div><div><div><br></div>-- <br><div>Simone </div>
</div></div></div></div></div>
_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br></div></blockquote></div><br></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
<br>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span><font color="#888888"><div>Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</div></div></div></div></div>
<br></div></div></div></div><span>_______________________________________________<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/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></span></blockquote></div><span><font color="#888888"><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Davi de O. Custódio</div>
</font></span></font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Davi de O. Custódio</div>
</font></span></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/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</div></div>