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

sr3d command doesn't ignore include files #22

Open
andreleblanc11 opened this issue Dec 4, 2024 · 1 comment
Open

sr3d command doesn't ignore include files #22

andreleblanc11 opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@andreleblanc11
Copy link
Member

If I try running sr3 command component/*something* locally it works fine.

sr3 status sender/*translation*
status:
Component/Config                           Processes   Connection        Lag                              Rates
                                           State   Run Retry  msg data   Que   LagMax   LagAvg     Last  %rej     pubsub   messages     RxData     TxData
                                           -----   --- -----  --- ----   ---   ------   ------     ----  ----     ------   --------     ------     ------
sender/to_translation_dev                  stop    0/0     0   0%   0%     0    0.00s    0.00s        0  0.0%       0B/s       0m/s       0B/s       0B/s

If I try with sr3d remotely , it will register the include files in the logs and fail to run the command.

sr3d status sender/*translation*
node01: status:
node01: 2024-12-04 16:44:55,443 2286528 [ERROR] root status ['sender/regional_to_translation.inc', 'sender/translation.inc'] configuration not found

I also tried with start, stop, remove and restart with similar results.

@andreleblanc11 andreleblanc11 added the bug Something isn't working label Dec 4, 2024
@reidsunderland
Copy link
Member

A workaround is to use quotes sr3d status 'sender/*translation*', or cd into the sender directory first. Otherwise, bash expands the glob instead of passing it to sr3.

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