[GeoNode-users] Errors on Metadata category

Simone Dalmasso simone.dalmasso at gmail.com
Thu Oct 22 05:48:07 PDT 2015


You can save this to a file.patch
https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230.patch
the run something like:

$ sudo patch /usr/local/lib/python2.7/dist-packages/geonode/layers/views.py
< file.patch

then restart your server

2015-10-22 14:41 GMT+02:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>:

> How can I apply the patch? I've made apt-get upgrade this morning, because
> there were also some system upgrades ...
>
> Upload_session_id and service_id in layers_layer table are all null.
> Usually I load layers on postgis, then I create layers in geoserver then I
> throw  geonode updatelayers from console.
>
> Thanks
>
> 2015-10-22 14:25 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>
>> Annalisa seems that for some reasons you don't have upload sessions
>> associated to a layer. I have added a double check in master and you can
>> apply this patch to your geonode.
>>
>> https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230
>>
>> Hope it helps, let us know
>> Ciao
>>
>> 2015-10-22 14:12 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>
>>> Annalisa, this seems to be related to a commit that I have made, I'll
>>> take a look today. Thanks for reporting
>>>
>>> 2015-10-22 14:06 GMT+02:00 Annalisa Schiavon <
>>> annalisa.schiavon at gmail.com>:
>>>
>>>> The thumbnail directory has www-data:www-data as owner. It doesn't seem
>>>> a permission issue.
>>>> I attach apache log
>>>>
>>>> 2015-10-22 13:04 GMT+02:00 Paolo Corti <pcorti at gmail.com>:
>>>>
>>>>> On Thu, Oct 22, 2015 at 12:43 PM, Annalisa Schiavon
>>>>> <annalisa.schiavon at gmail.com> wrote:
>>>>> > Hi all,
>>>>> > I've just installed new geonode RC1 (congratulations) but there is
>>>>> an error
>>>>> > when I try to set any category to one of my layer, it gives Internal
>>>>> Server
>>>>> > Error.
>>>>> > I've experienced this error just before to update geonode, on ver
>>>>> 2.4b26,
>>>>> > but after having installed the geonode-project to make my template.
>>>>> > I've noticed that category in metadata page was misaligned.
>>>>> > Now it seems ok, it has get the only one category setted, but gives
>>>>> the same
>>>>> > error when I try to set a new category, on any layer.
>>>>> >
>>>>>
>>>>> This could be a permission issue (thumbnail can not be written in file
>>>>> system)
>>>>> check permissions on the thumbnail directory
>>>>> If not, check your web server error log for more specific information
>>>>> p
>>>>>
>>>>> --
>>>>> Paolo Corti
>>>>> Geospatial software developer
>>>>> web: http://www.paolocorti.net
>>>>> twitter: @capooti
>>>>> skype: capooti
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151022/2e1c8b80/attachment.html>


More information about the geonode-users mailing list