2017-04-18 14:02:05 tornado.application:ERROR Future exception was never retrieved: Traceback (most recent call last):


 "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/usr/local/lib/python2.7/site-packages/thumbor/transformer.py", line 152, in smart_detect

yield self.do_smart_detection()


 "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1069, in run

yielded = self.gen.send(value)


 "/usr/local/lib/python2.7/site-packages/thumbor/transformer.py", line 180, in do_smart_detection

detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect)


 "/usr/local/lib/python2.7/site-packages/thumbor/detectors/feature_detector/__init__.py", line 43, in detect

for x, y in points.squeeze():
TypeError: 'numpy.float32' object is not iterable

Traceback (most recent call last):


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/clidriver.py", line 217, in main

return command_table[parsed_args.command](remaining, parsed_args)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/commands.py", line 189, in __call__

return self.subcommand_table[parsed_args.subcommand](remaining,


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/commands.py", line 187, in __call__

return self._run_main(parsed_args, parsed_globals)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/s3/subcommands.py", line 478, in _run_main

self._list_all_buckets()


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/s3/subcommands.py", line 543, in _list_all_buckets

response_data = self.client.list_buckets()


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 316, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 612, in _make_api_call

http, parsed_response = self._make_request(


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 632, in _make_request

return self._endpoint.make_request(operation_model, request_dict)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 102, in make_request

return self._send_request(request_dict, operation_model)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 132, in _send_request

request = self.create_request(request_dict, operation_model)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 115, in create_request

self._event_emitter.emit(event_name, request=request,


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 356, in emit

return self._emitter.emit(aliased_event_name, **kwargs)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 228, in emit

return self._emit(event_name, kwargs)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 211, in _emit

response = handler(**kwargs)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 90, in handler

return self.sign(operation_name, request)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 152, in sign

auth = self.get_auth_instance(**kwargs)


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 232, in get_auth_instance

frozen_credentials = self._credentials.get_frozen_credentials()


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 591, in get_frozen_credentials

self._refresh()


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 473, in _refresh

if not self.refresh_needed(self._advisory_refresh_timeout):


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 459, in refresh_needed

if self._seconds_remaining() >= refresh_in:


 "/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 428, in _seconds_remaining

delta = self._expiry_time - self._time_fetcher()
TypeError: can't subtract offset-naive and offset-aware datetimes
