Giter Site home page Giter Site logo

Comments (10)

fictorial avatar fictorial commented on July 20, 2024

The latest client version is out of sync with the latest node version.

I'm swamped with Daddy Stuff and other things (PlayRelay.io, a startup) so this has unfortunately been ignored for a little bit.

from redis-node-client.

JakSprats avatar JakSprats commented on July 20, 2024

can you please advise which versions of redis, redis-node-client, and node are known to work.

I am happy to download old versions and then this issue will at least be documented

from redis-node-client.

dio avatar dio commented on July 20, 2024

A quick fix: http://cl.ly/2ayp not yet tested

from redis-node-client.

JakSprats avatar JakSprats commented on July 20, 2024

ALMOST ...

all tests in examples/ worked and ALL in test/ ... except:

still got this error, (because it is in test/test.js)

$ node test/test.js
........................................
node.js:50
throw e;
^
TypeError: Object # has no method 'utf8Write'
at bufferFromString (/Users/sammy/Downloads/GIT/redis-node-client/test/test.js:139:28)

from redis-node-client.

dio avatar dio commented on July 20, 2024

Well, I haven't touch the test.js :-) -- the bufferInstance.utf8Write(...) should be bufferInstance.write(..,offset,encoding='utf8') please refer to the latest node.js :-)

from redis-node-client.

JakSprats avatar JakSprats commented on July 20, 2024

I am a node.js newbie so I dont know much :)

I got rid of the utf8write problem.
then on line 165 of test.js, the error:
TypeError: Object # has no method 'utf8Slice'
at Buffer.toString (/Users/sammy/Downloads/GIT/redis-node-client/test/test.js:165:17)

so i changed it to slice(), which may be just wrong
http://gist.github.com/603485

the final error I got, stumped me
TypeError: Cannot convert object to primitive value
at parseInt (native)
at ReplyParser.feed (/Users/sammy/Downloads/GIT/redis-node-client/lib/redis-client.js:180:29)

At this point, it looks like the parsing state machine was not working properly.

Again I am a newbie to node.js, I have been programming forever, but node.js is kinda something different, so I am slow debugging stuff

from redis-node-client.

webquent avatar webquent commented on July 20, 2024

I'm having this same problem :/

from redis-node-client.

JakSprats avatar JakSprats commented on July 20, 2024

this node client for redis works w/ node 0.3
http://github.com/mranney/node_redis

from redis-node-client.

webquent avatar webquent commented on July 20, 2024

mranney's lib seems to be working great - switching to that at least for now :)

I hope fictorial's daddy responsibilities gets easier soon so he can dive back to improve this lib :)

from redis-node-client.

fictorial avatar fictorial commented on July 20, 2024

me too

from redis-node-client.

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.