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

Broken in Django 1.8 #7

Open
tomleo opened this issue Nov 19, 2015 · 1 comment
Open

Broken in Django 1.8 #7

tomleo opened this issue Nov 19, 2015 · 1 comment

Comments

@tomleo
Copy link

tomleo commented Nov 19, 2015

The following errors are triggered when doing any memcached operations while memcache-debug-panel is installed.

  File "/home/tom/program/env_new/local/lib/python2.7/site-packages/django/core/cache/backends/memcached.py", line 97, in delete
    self._cache.delete(key)
  File "/home/tom/program/env_new/local/lib/python2.7/site-packages/django/core/cache/backends/memcached.py", line 175, in _cache
    self._client = self._lib.Client(self._servers, pickleProtocol=pickle.HIGHEST_PROTOCOL)
  File "/home/tom/program/env_new/local/lib/python2.7/site-packages/memcache.py", line 218, in __init__
    super(Client, self).__init__()
TypeError: __init__() takes at least 2 arguments (1 given)
@ross
Copy link
Owner

ross commented Nov 22, 2015

Sorry. Haven't touched this in quite some time. Not surprised it's broken with the (much) newer Django releases. Depending on what you're looking for the built-in cache stuff might give you the info.

I'd be happy to accept a PR with fixes, but won't have a chance to look in to this myself anytime soon.

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

2 participants