Closed BeckyBaltes closed 7 years ago
@benjwadams any update on this? The status page is the primary means by which I check dataset status and it would be great if it worked. I believe that @lukecampbell had this running on a cronjob and it had been updating regularly prior to July 27. So, something must have happened since then to prevent the updates.
EDIT: Looks like the get_dac_status function in glider_dac_status/tasks.py is not running properly.
--------------------------------------------------------------------------------
INFO in app [/home/glider/glider-dac-status/app.py:49]:
Application Process Started
--------------------------------------------------------------------------------
0x7fb5e59605d0
Traceback (most recent call last):
File "manage.py", line 39, in <module>
manager.run()
File "/home/glider/.virtualenvs/gliderdac/lib/python2.7/site-packages/flask_script/__init__.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/home/glider/.virtualenvs/gliderdac/lib/python2.7/site-packages/flask_script/__init__.py", line 383, in handle
res = handle(*args, **config)
File "/home/glider/.virtualenvs/gliderdac/lib/python2.7/site-packages/flask_script/commands.py", line 216, in __call__
return self.run(*args, **kwargs)
File "manage.py", line 12, in get_status
result.wait()
File "/home/glider/.virtualenvs/gliderdac/lib/python2.7/site-packages/celery/result.py", line 175, in get
raise meta['result']
AttributeError: 'NoneType' object has no attribute 'groups'
@kerfoot @BeckyBaltes , Applied a hotfix for now. If time_coverage_start or time_coverage_end aren't defined in the dataset, an unhandled exception was thrown, causing the status update to fail.
In this case, the first particular dataset to cause this to fail was
https://data.ioos.us/gliders/erddap/tabledap/Nemesis-20170512T0000.das
which was missing time_coverage_start
.
I set up a pull request at, https://github.com/ioos/glider-dac-status/pull/20 but haven't merged into master, as I don't know if you want to consider it an error that time coverage is not present. In any case, production is checked out on this branch for the time being so as to allow generation of the status page.
Status page is updating again. Closing.
@benjwadams @bobfrat @kerfoot, Please move to different repo if more appropriate. The status page, https://gliders.ioos.us/status/ has a most recent update of July 27 though the map clearly shows gliders reporting as of yesterday. Please investigate why it isn't updating.