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

KEYS Error #2

Closed
woozyking opened this issue Mar 11, 2013 · 3 comments
Closed

KEYS Error #2

woozyking opened this issue Mar 11, 2013 · 3 comments

Comments

@woozyking
Copy link

When I try to run keys() method, I get the following error:

Traceback (most recent call last):
  File "...", line 371, in <module>
    print c.keys()
  File "/usr/local/lib/python2.7/dist-packages/rediscluster/cluster_client.py", line 234, in function
    result.append(res)
AttributeError: 'dict' object has no attribute 'append'

Where c is an instance of rediscluster.StrictRedisCluster

@salimane
Copy link
Owner

please could you specify your python version, redis version and rediscluster version. Are you using rediscluster 0.4.0 ?
Thanks

@salimane
Copy link
Owner

please do pip install --upgrade rediscluster
Thanks for reporting

@woozyking
Copy link
Author

Thank you @salimane. Just FYI, environment setup:
Ubuntu 12.10
Python 2.7.3
Redis 2.2.12
rediscluster 0.4.0

I'm going to try 0.5.0 now and see if the problem persists.

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