[GeoNode-users] Edit Meta data Error

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Mar 19 01:53:55 PDT 2018


Seems to be related to thumbnail creation after saving.

This code is wrapped on a try catch on master branch, in order to avoid
errors.

In general, at least for now, it is mandatory in GeoNode to correctly set
the SITEURL on settings.py.
That information is used on many places. If not correctly set, you will
have unpredictable errors and malfunctioning.


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.

2018-03-18 8:53 GMT+01:00 Olivier Dalang <olivier.dalang at gmail.com>:

> Hi,
>
> I think it happens because you're not using a full url in SITEURL config.
> See my post here :
>
> https://lists.osgeo.org/pipermail/geonode-devel/2018-March/002113.html
>
> IMO this is a bug, but waiting for some more answers on the dev mailing
> list to open an issue and fixing the bug.
>
> Kind regards,
>
> Olivier
>
>
> On Fri, Mar 9, 2018 at 11:04 PM, Liyuneh Gebre <liyenew at gmail.com> wrote:
>
>> Dear All
>> I have got this error while editing Layer and i only edited the *category
>> and then during update it shows this error**:*
>>
>>
>>
>>
>>
>>
>>
>> *File "/opt/apps/geonode/geonode/geonode/base/models.py" in
>> resourcebase_post_save  940.             if
>> urlsplit(settings.SITEURL).hostname not in link.url:Exception Type:
>> TypeError at /layers/geonode:landuse/metadataException Value: coercing to
>> Unicode: need string or buffer, NoneType found*
>>
>>
>> --
>> *Liyuneh Gebre*
>> *Geospatial Database Administrator and Researcher *
>> *Ethiopian Institute of Agricultural Research *
>> *Climate and Geospatial Directorate *
>> *Office Phone: +251 -116-460380*
>> *Cell Phone:    +251-911- 858155*
>> *P.O.Box: 2003*
>> *Addis Ababa *
>> *Ethiopia*
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180319/01c7e62a/attachment-0001.html>


More information about the geonode-users mailing list