Traceback (most recent call last):


 "Crawl.py", line 52, in worker

self.init_request(url,details)


 "Crawl.py", line 141, in init_request

self.paginate(r,details)


 "Crawl.py", line 135, in paginate

self.parse(r,details)


 "Crawl.py", line 153, in parse

created_date = parse(ad['created'], settings={'PREFER_DATES_FROM': 'past'}) or datetime.datetime.now()


 "/usr/local/lib/python2.7/dist-packages/dateparser/conf.py", line 80, in wrapper

return f(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/dateparser/__init__.py", line 40, in parse

data = parser.get_date_data(date_string, date_formats)


 "/usr/local/lib/python2.7/dist-packages/dateparser/date.py", line 360, in get_date_data

language, date_string, date_formats, settings=self._settings)


 "/usr/local/lib/python2.7/dist-packages/dateparser/date.py", line 164, in parse

return instance._parse()


 "/usr/local/lib/python2.7/dist-packages/dateparser/date.py", line 174, in _parse

date_obj = parser()


 "/usr/local/lib/python2.7/dist-packages/dateparser/date.py", line 187, in _try_freshness_parser

return freshness_date_parser.get_date_data(self._get_translated_date(), self._settings)


 "/usr/local/lib/python2.7/dist-packages/dateparser/freshness_date_parser.py", line 117, in get_date_data

date, period = self.parse(date_string, settings)


 "/usr/local/lib/python2.7/dist-packages/dateparser/freshness_date_parser.py", line 70, in parse

date, period = self._parse_date(date_string)


 "/usr/local/lib/python2.7/dist-packages/dateparser/freshness_date_parser.py", line 102, in _parse_date

date = self.now - td
TypeError: unsupported operand type(s) for -: 'NoneType' and 'relativedelta'

Traceback (most recent call last):


 "/usr/local/python27/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/python27/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/python27/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/python27/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/python27/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/www/wwwroot/xxx/run.py", line 444, in show

name=GetName(fileid)


 "/www/wwwroot/xxx/function.py", line 58, in GetName

rd.set(key,item['name'])
TypeError: 'NoneType' object has no attribute '__getitem__'
