Yelp/mrjob — Issue #348: better errors when reading mrjob.conf without YAML
Author: davidmarin
Created: 2012-01-31 18:46:38+00:00
State: open
Labels: Feature

Right now if someone's `mrjob.conf` is in YAML but they don't have the `yaml` module installed, they get a rather cryptic `JSONDecodeError`.

We should probably re-raise a `JSONDecodeError`, but append to the original error message something like `If your mrjob.conf is in YAML, you need to install yaml; see http://pypi.python.org/pypi/PyYAML/`.