Issue on importlayers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue on importlayers

Paolo Pasquali
Hi devs,

I have an issue in GeoNode 2.6.3 when I run importlayers.

python manage.py importlayers -u paolo path/to/my/folder/

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.

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.

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.

When importing the layers I get several errors:

java.net.ConnectException: Connection refused (Connection refused)


And

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

  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib

  Reason: image not found


This is happening in a couple of my installations (Mac and Ubuntu).

Thanks for your help.

Ciao

Paolo

_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel
Reply | Threaded
Open this post in threaded view
|

Re: Issue on importlayers

Alessio Fabiani-2
Should be already fixed on GeoNode 2.7+

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 12:29 PM, Paolo Pasquali <[hidden email]> wrote:
Hi devs,

I have an issue in GeoNode 2.6.3 when I run importlayers.

python manage.py importlayers -u paolo path/to/my/folder/

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.

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.

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.

When importing the layers I get several errors:

java.net.ConnectException: Connection refused (Connection refused)


And

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

  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib

  Reason: image not found


This is happening in a couple of my installations (Mac and Ubuntu).

Thanks for your help.

Ciao

Paolo

_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel



_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel
Reply | Threaded
Open this post in threaded view
|

Re: Issue on importlayers

Paolo Pasquali
Hi Alessio,

I need to fix it on 2.6.3 but I can't identify the PR. Can you help me finding it?
Do you think it is feasible to fix it on a GeoNode older version?

Thanks,

Ciao

P.


On Thu, Oct 12, 2017 at 2:59 PM, Alessio Fabiani <[hidden email]> wrote:
Should be already fixed on GeoNode 2.7+

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313
fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272
mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 12:29 PM, Paolo Pasquali <[hidden email]> wrote:
Hi devs,

I have an issue in GeoNode 2.6.3 when I run importlayers.

python manage.py importlayers -u paolo path/to/my/folder/

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.

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.

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.

When importing the layers I get several errors:

java.net.ConnectException: Connection refused (Connection refused)


And

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

  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib

  Reason: image not found


This is happening in a couple of my installations (Mac and Ubuntu).

Thanks for your help.

Ciao

Paolo

_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel




_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel
Reply | Threaded
Open this post in threaded view
|

Re: Issue on importlayers

Alessio Fabiani-2

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 4:45 PM, Paolo Pasquali <[hidden email]> wrote:
Hi Alessio,

I need to fix it on 2.6.3 but I can't identify the PR. Can you help me finding it?
Do you think it is feasible to fix it on a GeoNode older version?

Thanks,

Ciao

P.


On Thu, Oct 12, 2017 at 2:59 PM, Alessio Fabiani <[hidden email]> wrote:
Should be already fixed on GeoNode 2.7+

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313
fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272
mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 12:29 PM, Paolo Pasquali <[hidden email]> wrote:
Hi devs,

I have an issue in GeoNode 2.6.3 when I run importlayers.

python manage.py importlayers -u paolo path/to/my/folder/

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.

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.

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.

When importing the layers I get several errors:

java.net.ConnectException: Connection refused (Connection refused)


And

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

  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib

  Reason: image not found


This is happening in a couple of my installations (Mac and Ubuntu).

Thanks for your help.

Ciao

Paolo

_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel





_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel
Reply | Threaded
Open this post in threaded view
|

Re: Issue on importlayers

Paolo Pasquali
Thanks a lot, Alessio!

A presto,

P.


On Thu, Oct 12, 2017 at 5:54 PM, Alessio Fabiani <[hidden email]> wrote:

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313
fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272
mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 4:45 PM, Paolo Pasquali <[hidden email]> wrote:
Hi Alessio,

I need to fix it on 2.6.3 but I can't identify the PR. Can you help me finding it?
Do you think it is feasible to fix it on a GeoNode older version?

Thanks,

Ciao

P.


On Thu, Oct 12, 2017 at 2:59 PM, Alessio Fabiani <[hidden email]> wrote:
Should be already fixed on GeoNode 2.7+

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313
fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272
mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.


On Thu, Oct 12, 2017 at 12:29 PM, Paolo Pasquali <[hidden email]> wrote:
Hi devs,

I have an issue in GeoNode 2.6.3 when I run importlayers.

python manage.py importlayers -u paolo path/to/my/folder/

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.

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.

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.

When importing the layers I get several errors:

java.net.ConnectException: Connection refused (Connection refused)


And

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

  Referenced from: /private/var/folders/zj/r3_8d0rs4td_l8d8bfvw8vxc0000gn/T/spatialite-3.7.22.4-libspatialitejdbc.jnilib

  Reason: image not found


This is happening in a couple of my installations (Mac and Ubuntu).

Thanks for your help.

Ciao

Paolo

_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel






_______________________________________________
geonode-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-devel