I commented out a line in my prodigy.json file with a #
, and Prodigy really didn’t like that. I got the following error and it took me a while to figure out what the problem was. Is there a way of making problems with the prodigy.json more attributable? If not, hopefully this helps someone else.
Traceback (most recent call last):
File "/home/andy/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/andy/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "multiuser_db_quiz.py", line 147, in serve
port=port) # port
File "/home/andy/anaconda3/lib/python3.6/site-packages/prodigy/__init__.py", line 15, in serve
controller = loaded_recipe(*args)
File "cython_src/prodigy/core.pyx", line 161, in prodigy.core.recipe.recipe_decorator.recipe_proxy
File "cython_src/prodigy/util.pyx", line 52, in prodigy.util.get_config
File "cython_src/prodigy/util.pyx", line 375, in prodigy.util.read_json
File "cython_src/prodigy/util.pyx", line 376, in prodigy.util.read_json
ValueError: Expected object or value