<div dir="ltr"><div>Hi,<br>I have installed geonode 2.4 on ubuntu 14.04.i seem not to be able to upload a shapefile. The error i receive is 'NoneType' object has no attribute 'name'<br><br></div>The full stacktrace is:<br><br>Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py", line 160, in layer_upload<br> title=form.cleaned_data["layer_title"],<br> File "/usr/local/lib/python2.7/dist-packages/geonode/layers/utils.py", line 470, in file_upload<br> defaults=defaults<br> File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 154, in get_or_create<br> return self.get_queryset().get_or_create(**kwargs)<br> File "/usr/lib/python2.7/dist-packages/modeltranslation/manager.py", line 341, in get_or_create<br>return super(MultilingualQuerySet, self).get_or_create(**kwargs)<br> File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 383, in get_or_create<br>obj.save(force_insert=True, using=self.db)<br> File "/usr/lib/python2.7/dist-packages/polymorphic/polymorphic_model.py", line 90, in save<br> return super(PolymorphicModel, self).save(*args, **kwargs)<br> File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 545, in save<br> force_update=force_update, update_fields=update_fields)<br> File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 582, in save_base<br> update_fields=update_fields, raw=raw, using=using)<br> File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send<br> response = receiver(signal=self, sender=sender, **named)<br>File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/signals.py", line 470, in geoserver_post_save<br> set_styles(instance, gs_catalog)<br> File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 777, in set_styles<br> layer.default_style = save_style(default_style)<br>File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 791, in save_style<br>style, created = Style.objects.get_or_create(name=<a href="http://gs_style.name">gs_style.name</a>)<br>AttributeError: 'NoneType' object has no attribute 'name'<br><br><div><br></div><div>Kindly help me with this.<br></div><div><div><br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font color="#440062"><br></font></div><div dir="ltr"><font color="#440062"><br></font></div></div></div></div></div>
</div></div></div>