Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with PRIVATE DEM layers in simulation #65

Open
nickhorspool opened this issue Sep 23, 2011 · 1 comment
Open

Problem with PRIVATE DEM layers in simulation #65

nickhorspool opened this issue Sep 23, 2011 · 1 comment
Assignees

Comments

@nickhorspool
Copy link

There are some issues with PRIVATE DEM layers not being visible in the elevation upload section and also causing problems with starting the simulation as it hangs in INIT status. Jeff has looked and knows more details.

@jj0hns0n
Copy link
Contributor

Basically the code to extract the subset of the DEMs over the project area via WCS is doing it un-authenticated, and this leads to the layer not being found when it is marked private. The following error is thrown. Should be an easy fix.

[2011-09-23 12:54:33,293: ERROR/MainProcess] Task tsudat.tasks.run_tsudat_simulation[36bc7054-279f-410d-bc71-1596d4d28c37] raised exception: KeyError(u'geonode:nsw_ncastle_cdem_10m_extract_4326',)
Traceback (most recent call last):
File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/celery/execute/trace.py", line 34, in trace
return cls(states.SUCCESS, retval=fun(_args, *_kwargs))
File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/celery/task/base.py", line 241, in call
return self.run(_args, *_kwargs)
File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/celery/app/init.py", line 141, in run
return fun(_args, *_kwargs)
File "/data/httpd/default/tsudat2/tsudat/tasks.py", line 166, in run_tsudat_simulation
metadata = wcs.contents[layer.typename]
KeyError: u'geonode:nsw_ncastle_cdem_10m_extract_4326'
None
[2011-09-23 12:54:38,646: DEBUG/Beat] Scheduler: Sending due task tsudat.tasks.process_anuga_message
[2011-09-23 12:54:38,651: DEBUG/Beat] tsudat.tasks.process_anuga_message sent. id->acb8d0e5-6dca-4043-bf93-a4b2fab6a0a9
[2011-09-23 12:54:38,651: DEBUG/Beat] Scheduler: Sending due task tsudat2.tsudat.tasks.process_anuga_message
[2011-09-23 12:54:38,656: DEBUG/Beat] tsudat2.tsudat.tasks.process_anuga_message sent. id->10fb069a-5090-4203-b283-3703cbfb9a52

@ghost ghost assigned jj0hns0n Nov 4, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants