Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbor: AttributeError: REDIS_STORAGE_IGNORE_ERRORS when using smart #200

Open
macrozone opened this issue Apr 15, 2019 · 0 comments
Open

Comments

@macrozone
Copy link

i tried the thumbor chart. While the it works good for resizing, i get an error when using /smart in the route. The thumbor pod then logs:

    focal_points = yield gen.maybe_future(self.context.modules.storage.get_detector_data(self.smart_storage_key))
  File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper
    yielded = next(result)
  File "/usr/local/lib/python2.7/site-packages/thumbor/storages/mixed_storage.py", line 74, in get_detector_data
    result = yield gen.maybe_future(self.detector_storage.get_detector_data(path))
  File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 483, in wrapper
    future.result()
  File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 471, in wrapper
    result = f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/tc_redis/storages/redis_storage.py", line 129, in get_detector_data
    callback(self._get_detector_data(path))
  File "/usr/local/lib/python2.7/site-packages/tc_redis/utils.py", line 23, in wrapper
    exc_value
  File "/usr/local/lib/python2.7/site-packages/tc_redis/storages/redis_storage.py", line 69, in on_redis_error
    if self.context.config.REDIS_STORAGE_IGNORE_ERRORS is True:
  File "/usr/local/lib/python2.7/site-packages/derpconf/config.py", line 211, in __getattr__
    raise AttributeError(name)
AttributeError: REDIS_STORAGE_IGNORE_ERRORS

it seems like REDIS_STORAGE_IGNORE_ERRORS is not defined (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant