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

AttributeError: 'TimeGate' object has no attribute 'cache' #21

Open
skbly7 opened this issue Jun 12, 2016 · 0 comments
Open

AttributeError: 'TimeGate' object has no attribute 'cache' #21

skbly7 opened this issue Jun 12, 2016 · 0 comments

Comments

@skbly7
Copy link

skbly7 commented Jun 12, 2016

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 224, in application
    return ClosingIterator(app(environ, start_response), self.cleanup)
  File "./timegate/application.py", line 290, in application
    return app(environ, start_response)
  File "./timegate/application.py", line 178, in __call__
    return self.wsgi_app(environ, start_response)
  File "./timegate/application.py", line 173, in wsgi_app
    response = self.dispatch_request(request)
  File "./timegate/application.py", line 165, in dispatch_request
    return getattr(self, endpoint)(**values)
  File "./timegate/application.py", line 230, in timegate
    mementos = self.get_all_mementos(uri_r)
  File "./timegate/application.py", line 201, in get_all_mementos
    if hasattr(self, 'cache') and request.cache_control != 'no-cache':
AttributeError: 'TimeGate' object has no attribute 'cache'

System:
Ubuntu 14.10
Python 2.7.6

Command used:
uwsgi --http :9999 -s /tmp/mysock.sock --module timegate.application --callable application --ini timegate/conf/config.ini

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