A copy of the inmates page is loacted in tests/data and here is the stack trace
DEBUG: 2014-11-09 08:30:23.725727 - Inmate: Unknown exception for inmate '2014-1107234'
Exception is 'NoneType' object has no attribute 'month'
Traceback (most recent call last):
File "/home/ubuntu/.virtualenvs/cookcountyjail/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/home/ubuntu/apps/cookcountyjail/scraper/concurrent_base.py", line 50, in _process_commands
func(args)
File "/home/ubuntu/apps/cookcountyjail/scraper/inmates.py", line 25, in _create_update_inmate
self.__raw_inmate_data.add(args['inmate_details'])
File "/home/ubuntu/apps/cookcountyjail/scraper/raw_inmate_data.py", line 54, in add
getattr(inmate_details, method_name)() for method_name in RawInmateData.HEADER_METHOD_NAMES.itervalues()
File "/home/ubuntu/apps/cookcountyjail/scraper/inmate_details.py", line 28, in age_at_booking
if (birth_date.month <= booking_date.month and
AttributeError: 'NoneType' object has no attribute 'month'
<Greenlet at 0x19dfeb0: <bound method Inmates._process_commands of <scraper.inmates.Inmates object at 0x1ad5450>>> failed with AttributeError
A copy of the inmates page is loacted in tests/data and here is the stack trace
DEBUG: 2014-11-09 08:30:23.725727 - Inmate: Unknown exception for inmate '2014-1107234' Exception is 'NoneType' object has no attribute 'month' Traceback (most recent call last): File "/home/ubuntu/.virtualenvs/cookcountyjail/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run result = self._run(_self.args, *_self.kwargs) File "/home/ubuntu/apps/cookcountyjail/scraper/concurrent_base.py", line 50, in _process_commands func(args) File "/home/ubuntu/apps/cookcountyjail/scraper/inmates.py", line 25, in _create_update_inmate self.__raw_inmate_data.add(args['inmate_details']) File "/home/ubuntu/apps/cookcountyjail/scraper/raw_inmate_data.py", line 54, in add getattr(inmate_details, method_name)() for method_name in RawInmateData.HEADER_METHOD_NAMES.itervalues() File "/home/ubuntu/apps/cookcountyjail/scraper/inmate_details.py", line 28, in age_at_booking if (birth_date.month <= booking_date.month and AttributeError: 'NoneType' object has no attribute 'month' <Greenlet at 0x19dfeb0: <bound method Inmates._process_commands of <scraper.inmates.Inmates object at 0x1ad5450>>> failed with AttributeError