[GeoNode-users] 'NoneType' object has no attribute 'name'

Simone Dalmasso simone.dalmasso at gmail.com
Tue Jun 2 23:10:10 PDT 2015


Seems that the Geoserver style is missing for some reasons. Check the layer
publishing status in geoserver, whether it correctly has a style assigned.

2015-06-02 22:13 GMT+02:00 Israel López <asralf at gmail.com>:

> Hello
>
> I'm having the same issue and I don't understand the solution very well,
> could you tell wich files exactly??
>
> Or
>
> Are you talking about all the xml?? I have 200 shapes :S
>
> 2015-04-09 16:06 GMT-05:00 GC-54 <nepanode at gmail.com>:
>
>> I encountered this same issue... I solved it by replacing the XML
>> documents for layers in geoserver_data directory. I'm assuming there must
>> have been a change in the schema for the upgraded version geoserver geonode
>> now uses - I'd suggest investigating if you didn't try to migrate data
>> manually; but if you did move old files in the new geoserver_data dir those
>> are likely to be what are corrupting things.
>>
>> On Thu, Apr 9, 2015 at 9:55 AM, Paul Magdon <pmagdon at gwdg.de> wrote:
>>
>>>
>>> Dear all,
>>>
>>> I have trouble with uploading a shapefile on a fresh install of Geonode
>>> (2.4b24) on a Ubuntu 14.04 VM.
>>>
>>> Everything is running but when I try to upload a layer I get the
>>> follwoing error (from the apache2 log:
>>>
>>> [Thu Apr 09 07:46:31.547150 2015] [:error][style, created =
>>> Style.objects.get_or_create(name=gs_style.name)
>>>
>>> [Thu Apr 09 07:46:31.547154 2015] [:error] AttributeError: 'NoneType'
>>> object has no attribute 'name'
>>>
>>> I guess some think with the Geoserver configuration is missing but I have
>>> no clue where to start search for.
>>>
>>> Any ideas?
>>>
>>> Greetings Paul
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>>
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>
>>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>


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


More information about the geonode-users mailing list