18F / epa-notice

Web interface for viewing and commenting on proposed changes to federal regulations
Other
7 stars 17 forks source link

Track down explosion when CFR changes misparse #315

Open cmc333333 opened 8 years ago

cmc333333 commented 8 years ago

After parsing/loading it, @tadhg-ohiggins is getting an error when hitting `/preamble/2016-02749/I`` :

      File "/Users/tadhg/virtualenvs/ve-nc/src/regulations/regulations/views/preamble.py", line 202, in add_change
        part=self.current_part.part,
    AttributeError: 'NoneType' object has no attribute 'part'

It's very likely this notice isn't parsing correctly, but we shouldn't be crashing the world when this happens. Investigate and solve the explosion, not the parsing issue.