Ask Your Question

How do I fix the error: __init__() got an unexpected keyword argument 'queue_size'?

asked 2014-04-25 08:00:40 -0500

peterpolidoro gravatar image

I am running Groovy on Ubuntu 12.04. I just apt-get upgraded my ros-groovy packages (to version 0.5.4-0precise-20140417-0429-+0000) and now code that used to work fine is suddenly broken. I am simply publishing an empty message on a topic from javascript using roslibjs (revision 6) and subscribing with a smach_ros.MonitorState. I get the error: "__init__() got an unexpected keyword argument 'queue_size'". I have tried several versions of roslibjs, so I assume the problem might lie with recent changes in rosbridge. I wish I had never run 'apt-get upgrade' as everything was working well before I did. Any suggestions on how to fix this error or how to revert back to previous versions of ros-groovy packages that were working before? Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-29 05:38:58 -0500

jalfonso gravatar image

You can overlay the package with an older but functional version.

See my answer in this post link text

edit flag offensive delete link more

answered 2014-04-25 08:37:46 -0500

ahendrix gravatar image

This looks like a bug in rosbdrige; you should probably open a ticket about it on their bug tracker.

edit flag offensive delete link more


Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-04-25 08:00:40 -0500

Seen: 1,423 times

Last updated: Apr 29 '14