<div dir="ltr">Hi devs,<div><br></div><div>I have an issue in GeoNode 2.6.3 when I run importlayers.</div><div><br></div><div><font face="monospace, monospace">python manage.py importlayers -u paolo path/to/my/folder/</font></div><div><br></div><div>The layers are imported and GeoNode assigns the same GeoServer default style to every imported layer. This is not the expected behaviour so I checked GeoServer styles section.</div><div><br></div><div>GeoServer created a new style for each layer but these styles were not assigned to the corresponding layer. So I have the polygon default style assigned to all polygon layers and so on. No other available style is listed in each layer page.</div><div><br></div><div>Checking the GeoNode admin I see the same situation. In the layer page only the default styles are listed. The new styles listed in GeoServer (but not assigned to the corresponding layers) are not present.</div><div><br></div><div>When importing the layers I get several errors:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">java.net.ConnectException: Connection refused (Connection refused)</font></span></p></div><div><br></div><div>And</div><div><br></div><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">java.lang.UnsatisfiedLinkError: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib: dlopen(/private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib, 1): Library not loaded: /Users/opengeo/tmp/local//lib/libproj.0.dylib</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">  Reason: image not found</font></span></p></div><div><br></div><div>This is happening in a couple of my installations (Mac and Ubuntu).<br></div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Ciao</div><div><br></div><div>Paolo</div></div>