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

crazyflie-interfaces build issue and Empy 4.0.0 incompatible #553

Open
knmcguire opened this issue Aug 9, 2024 · 0 comments
Open

crazyflie-interfaces build issue and Empy 4.0.0 incompatible #553

knmcguire opened this issue Aug 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@knmcguire
Copy link
Collaborator

knmcguire commented Aug 9, 2024

I've just did a fresh install of crazyswarm2 on my 24.04 so I'll make an issue of those that are still current.

When installing, usually empy needs to be installed as well with pip3 install empy lark catkin-pkg which is currently missing from our documentation. This is necessary for building the crazyflie_interfaces (rosidl).

However, there is currently an incompatibility with Empy 4.0.0 which causes these two errors:

...
    File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/resource/__init__.py", line 51, in evaluate_template
      em.BUFFERED_OPT: True,
      ^^^^^^^^^^^^^^^

  AttributeError: module 'em' has no attribute 'BUFFERED_OPT'

...

    File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/resource/__init__.py", line 69, in evaluate_template
      _interpreter.shutdown()
      ^^^^^^^^^^^^^^^^^^^^^

  AttributeError: 'NoneType' object has no attribute 'shutdown'

solution

This is due to this error: ros2/rosidl#779

Downgrade empy to:

pip3 install empy==3.3.4
@knmcguire knmcguire added the bug Something isn't working label Aug 9, 2024
@knmcguire knmcguire changed the title Empy 4.0.0 incompatible crazyflie-interfaces build issue and Empy 4.0.0 incompatible Aug 9, 2024
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

1 participant