When attempting to compile FST-based resources, we see KeyError on attempted settings['__file__'] access. I think these can just be removed. It does not look like the config path is being used anywhere. Verify that first before removal:
old_1 | File "/usr/src/old/old/views/morphemelanguagemodels.py", line 51, in generate
old_1 | 'config_path': self.request.registry.settings['__file__'],
old_1 | KeyError: '__file__'
When attempting to compile FST-based resources, we see
KeyError
on attemptedsettings['__file__']
access. I think these can just be removed. It does not look like the config path is being used anywhere. Verify that first before removal:Relevant to DAILP because it breaks parsers.