[GeoNode-users] Help geonode on windows raster layer publish

Miguel-Angel Manso-Callejo (UPM) m.manso at upm.es
Wed Jun 17 04:36:49 PDT 2015


Dear all,

I have problems to publish raster layer on geonode 2.4(b25 and early) in 
windows platform.

The file is published on geoserver (datastores, layer, style) but in 
django geonode framework the process do not finish.

The log of apache web server is next.

Gdal is ok installed, and this not appear to be the problem.

Can any one help us to resolve this issue?

regards,
Miguel A. Manso

-----------

[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] 
Traceback (most recent call last):
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 604, in view
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
resp = _steps[step](req, upload_session)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 495, in 
final_step_view
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
saved_layer = upload.final_step(upload_session, req.user)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\upload\\upload.py", line 567, in final_step
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
defaults=defaults
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\manager.py", 
line 154, in get_or_create
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
return self.get_queryset().get_or_create(**kwargs)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\modeltranslation\\manager.py", 
line 341, in get_or_create
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
return super(MultilingualQuerySet, self).get_or_create(**kwargs)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\query.py", 
line 383, in get_or_create
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
obj.save(force_insert=True, using=self.db)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\polymorphic\\polymorphic_model.py", 
line 90, in save
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
return super(PolymorphicModel, self).save(*args, **kwargs)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\base.py", 
line 545, in save
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
force_update=force_update, update_fields=update_fields)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\django\\db\\models\\base.py", 
line 582, in save_base
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
update_fields=update_fields, raw=raw, using=using)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\django\\dispatch\\dispatcher.py", line 
185, in send
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
response = receiver(signal=self, sender=sender, **named)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\geoserver\\signals.py", line 465, in 
geoserver_post_save
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
set_styles(instance, gs_catalog)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\geoserver\\helpers.py", line 755, in 
set_styles
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
layer.default_style = save_style(default_style)
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:/GeoNode/GeoNode\\geonode\\geoserver\\helpers.py", line 770, in 
save_style
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
style.sld_title = gs_style.sld_title
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] File 
"c:\\GeoNode\\venv\\Lib\\site-packages\\geoserver\\style.py", line 49, 
in sld_title
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232]     
title_node = user_style.find("{http://www.opengis.net/sld}Title")
[Wed Jun 17 13:31:06.065807 2015] [wsgi:error] [pid 1504:tid 1232] 
AttributeError: 'NoneType' object has no attribute 'find'


More information about the geonode-users mailing list