galerts
galerts copied to clipboard
GAlertsManager.create(..) fails with TypeError: 'NoneType' object has no attribute '__getitem__'
.../galerts/galerts.pyc in _scrape_sig(self, path)
356 )
357 soup = BeautifulSoup(body)
--> 358 sig = soup.findChild('input', attrs={'name': 'x'})['value']
359 return str(sig)
TypeError: 'NoneType' object has no attribute '__getitem__'
(Without looking into it further, this could just be the result of running against the latest version of BeautifulSoup, which may have introduced a breaking change to this API since the version it was coded against. Unfortunately galerts' setup.py does not peg to a specific BeautifulSoup version, and I don't have time at the moment for more archaeology / testing.)
Oh, seeing #13 now, this is probably a result of that.