postwait / node-amqp

[UNMAINTAINED] node-amqp is an AMQP client for nodejs
MIT License
1.69k stars 357 forks source link

TypeError: Object #<Object> has no method 'throwError' #268

Open chanakyap opened 10 years ago

chanakyap commented 10 years ago

this.throwError("unsupported type in amqp table: " + typeof(value)); ^ TypeError: Object # has no method 'throwError' at serializeValue (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:663:12) at serializeTable (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:682:5) at serializeFields (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:784:9) at Connection._sendMethod (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:1221:3) at Queue._onMethod (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:1915:25) at Queue.Channel._onChannelMethod (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:1557:14) at Connection._onMethod (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:1088:28) at AMQPParser.parser.onMethod (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:897:12) at AMQPParser._parseMethodFrame (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:451:10) at frameEnd (/home/chanakya/Projects/RabbitMQ/node_modules/amqp/amqp.js:192:16)

thanigaiv commented 10 years ago

I'm seeing the same error. Any workaround for this?

chanakyap commented 10 years ago

i have updated my node-celery to https://github.com/nathan-muir/node-celery , and no error after this . Hope that helps .