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

gz msg -l and similar commands failing in binary build onMac OS Monterey (12.7.6) [amd64] #462

Open
sreekanthr opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sreekanthr
Copy link

sreekanthr commented Sep 13, 2024

Unable to run gz msg related commands on gz-msg 11 (ionic).
Getting error while running any msg command except listing the versions
[Related to gz tutorial test case: #1390 ]

Environment

  • OS Version: mac OS Monterey (12.7.6) (Intel Mac)
  • binary build: 11.0.0~pre1

Description

  • Expected behavior: gz msg help and gz msg -l should return valid results
  • Actual behavior: Getting an error

Steps to reproduce

  1. Install binaries from the instructions here.

    brew tap osrf/simulation;
    brew install gz-ionic
    
  2. Ensure the correct version is installed:

    $ gz msg --versions
    11.0.0~pre1

  3. Try to run the help or list commands

    $ gz msg help
    $ gz msg -l
    $ gz msg --list


Output

$ gz msg --versions

11.0.0~pre1

$ gz msg help

//usr/local/Cellar/gz-msgs11/11.0.0-pre1_2/lib/ruby/gz/cmdmsgs11.rb:33:in execute: uninitialized constant Cmd::LIBRARY_NAME (NameError) from /usr/local/bin/gz:309:in <main>

$ gz msg -l

/usr/local/Cellar/gz-msgs11/11.0.0-pre1_2/lib/ruby/gz/cmdmsgs11.rb:33:in execute: uninitialized constant Cmd::LIBRARY_NAME (NameError) from /usr/local/bin/gz:309:in <main>

$ gz msg --list

/usr/local/Cellar/gz-msgs11/11.0.0-pre1_2/lib/ruby/gz/cmdmsgs11.rb:33:in execute: uninitialized constant Cmd::LIBRARY_NAME (NameError) from /usr/local/bin/gz:309:in <main>

@scpeters
Copy link
Member

I can reproduce this. The executable installed to libexec is working, but the gz msg invocation isn't working via the ruby script. There was a test added in #357, but it invokes the executable directly rather than gz msg through ruby.

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
Status: Inbox
Development

No branches or pull requests

2 participants