The error is
Internal Server Error: /icebox/calculation/2
Traceback (most recent call last):
File "/home/openquake/oq-platform/platform-env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/openquake/oq-platform/platform-env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/openquake/oq-platform/platform-env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 86, in dispatch
return handler(request, *args, **kwargs)
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/icebox/views.py", line 169, in post
calculation.process_layers()
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/icebox/models.py", line 78, in process_layers
olayer.create_view())))
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/icebox/models.py", line 258, in geoserver_publish_view
self.update_layer(self.create_featuretype(view_name))
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/icebox/models.py", line 302, in create_featuretype
fe_dict=dict(ws=geoserver.WS_NAME, ds=DS_NAME))
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/geoserver_api.py", line 92, in load_features
substitutions=substitutions)
File "/home/openquake/oq-platform/openquakeplatform/openquakeplatform/geoserver_api.py", line 45, in geoserver_rest
content = file(file_path).read()
IOError: [Errno 2] No such file or directory: '/home/openquake/oq-platform/openquakeplatform/openquakeplatform/build-gs-tree/tmpl/icebox/featuretype.xml.tmpl'
[20/May/2014 10:02:49] "POST /icebox/calculation/2 HTTP/1.0" 500 152667
Probably it's related to the changes made for the production setup
Fixed in PR https:/ /github. com/gem/ oq-platform/ pull/162