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

TypeError: Server.emit() got an unexpected keyword argument 'broadcast' #177

Closed
RDaneelOlivav opened this issue Apr 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@RDaneelOlivav
Copy link

RDaneelOlivav commented Apr 4, 2023

Bug report

TypeError: Server.emit() got an unexpected keyword argument 'broadcast'

Required information:

  • Operating system and version: Ubuntu 22
  • OpenRMF installation type:
    debians
  • OpenRMF version or commit hash
    debians
  • ROS distribution and version:
    humble
  • ROS installation type:
    by debians

Description of the bug

When launching the any example that launches the rmf comons, gives this error:

TypeError: Server.emit() got an unexpected keyword argument 'broadcast'

This makes the web interface not work.

I tracked the error until here:

simple_api_server.py

Is there a version that I'm not aware of?

How to reproduce

execute:

ros2 launch rmf_demos_gz_classic hotel.launch.xml | grep "Server.emit"

You should see that error.

Expected behavior

I would imagine that following this tutorial of installation, there shouldn't be any errors:
open-rmf/rmf#267

Screenshots

Screenshot from 2023-04-04 18-12-41

Additional information

I will try to do the same but installing rmf from source but I really don't understand why this could be happening. Hve I done something wrong in the installation?

UPDATE: Did the source installation with the exact same results
UPDATE2: Tried to update the Websockets, like so ISSUE, same result.

@RDaneelOlivav RDaneelOlivav added the bug Something isn't working label Apr 4, 2023
@RDaneelOlivav
Copy link
Author

Not solved, but seems at least not affects the assignments of tasks and so on.
Although it continues to not show the tasks in the web interface ( the old one ) . So I imagen I'll close the issue

@YYZ252
Copy link

YYZ252 commented May 30, 2023

I had the same problem and finally solved it by follow the guide of "#169".

sudo apt remove python3-websockets 
python3 -m pip install websockets==10.4
python3 -m pip install asyncio 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants