MontrealCorpusTools / ISCAN

Development repository for Integrated Speech Corpus Analaysis (ISCAN)
MIT License
9 stars 0 forks source link

Can't reset dynamic formant tracks in ISCAN #242

Closed MichaelGoodale closed 5 years ago

MichaelGoodale commented 5 years ago

Resetting formants after encoding dynamic formant tracks causes an error in celery

ps-worker           | /site/env/lib/python3.6/site-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is
ps-worker           | absolutely not recommended!
ps-worker           | 
ps-worker           | Please specify a different user using the -u option.
ps-worker           | 
ps-worker           | User information: uid=0 euid=0 gid=0 egid=0
ps-worker           | 
ps-worker           |   uid=uid, euid=euid, gid=gid, egid=egid,
ps-worker           | [2019-07-16 19:10:20,259: WARNING/ForkPoolWorker-2] Traceback (most recent call last):
ps-worker           |   File "/site/proj/ISCAN/iscan/models.py", line 935, in reset_enrichment
ps-worker           |     c.reset_formants()
ps-worker           |   File "/site/proj/PolyglotDB/polyglotdb/corpus/base.py", line 214, in __getattr__
ps-worker           |     sorted(self.hierarchy.annotation_types)))))
ps-worker           | polyglotdb.exceptions.GraphQueryError: The graph does not have any annotations of type 'reset_formants'.  Possible types are: phone, word
ps-worker           | [2019-07-16 19:10:20,278: INFO/ForkPoolWorker-2] Task iscan.tasks.reset_enrichment_task[77ce8bad-e3bf-45ad-bdd0-44b2597f515d] succeeded in 0.213
52906800166238s: None