Coder Social home page Coder Social logo

Comments (6)

Grokzen avatar Grokzen commented on May 23, 2024

I will have a look at this later tonight after work :]

from redis-py-cluster.

Grokzen avatar Grokzen commented on May 23, 2024

From a quick look at it, i would suggest that you wipe all data in your redis instance and try only with the key that you think breaks. It could be that you already have data on that key that breaks. You should also run TYPE <key> on one of the failing keys to see what datatype is there right now and what is expected.

I also think that you should run MONITOR command while running to see if there is something wrong with the command that it is building. It might give some clues.

from redis-py-cluster.

skreutzberger avatar skreutzberger commented on May 23, 2024

I did both and it still does not work, I flush the server (flushall) before I run the script. Can you reproduce the issue? Maybe it is caused by Python 2.7.9?

from redis-py-cluster.

Grokzen avatar Grokzen commented on May 23, 2024

So, i ran your code in python 2.7.6, 2.7.9, 3.4.1 and with both key types and it all works on my side. It can set and get your dict and print it to stdout just fine.

Did you try to run the TYPE command right after you ran your code to see what data is really there?

from redis-py-cluster.

Grokzen avatar Grokzen commented on May 23, 2024

@skreutzberger Any luck or update to this?

from redis-py-cluster.

Grokzen avatar Grokzen commented on May 23, 2024

@skreutzberger Any update to this? I can't reproduce the error on my side and i am going to close this issue for now. If you have any luck in helping me reproduce this then i you can open this issue again and we will continue from there. As far as i know this is expected behaviour from the client to return a error like the one you are getting but i can't figure out why it does this for you but not for me or any other.

from redis-py-cluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.