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

Yakut broken on osx #86

Open
thirtytwobits opened this issue Jun 12, 2023 · 6 comments
Open

Yakut broken on osx #86

thirtytwobits opened this issue Jun 12, 2023 · 6 comments

Comments

@thirtytwobits
Copy link
Member

  1. installed yakut in virtualenv
  2. compiled dsdl types
  3. tried to subscribe.

expected: yakut subscribes
actually: Error: Run yakut compile <path>/uavcan to compile DSDL namespace 'uavcan'

$> yakut compile  public_regulated_data_types/uavcan 
$> y sub --with-metadata uavcan.node.heartbeat uavcan.diagnostic.record                                                                                                  Error: Run `yakut compile <path>/uavcan` to compile DSDL namespace 'uavcan'
@pavel-kirienko
Copy link
Member

pavel-kirienko commented Jun 19, 2023

compiled dsdl types

Are you sure you followed the setup instructions given in the README? It is no longer necessary to compile DSDL and the compile command is scheduled for removal soon as it is no longer useful. See #63

@ycherniavskyi
Copy link

Encountered the same error while following the PyCyphal Demo - Poking the node using Yakut instructions. It appears that this section of the demo documentation may need to be revised, or a specific version of Yakut should be specified to avoid this issue.

@pavel-kirienko
Copy link
Member

CYPHAL_PATH should point not at the namespaces themselves but one level higher. Please double-check this.

@ycherniavskyi
Copy link

And yes, following the instructions outlined in the Adding DSDL namespaces section of Yakut README.md resolved the issue (as partially indicated by @pavel-kirienko in #63).

@ycherniavskyi
Copy link

It appears that the primary issue with the existing PyCyphal Demo - Poking the node using Yakut section isn't the inclusion of the superfluous yakut compile ... command; rather, it's the omission of the essential step of setting the CYPHAL_PATH environment variable in newly opened terminal sessions for Yakut use. :)

@ycherniavskyi
Copy link

In any case, I can confirm that Yakut is functioning as expected on macOS. So the issue can be satisfactorily closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants