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

yarpserver --read doesn't set the correct socket #3091

Open
dariosortino opened this issue Mar 11, 2024 · 0 comments
Open

yarpserver --read doesn't set the correct socket #3091

dariosortino opened this issue Mar 11, 2024 · 0 comments

Comments

@dariosortino
Copy link

Describe the bug
As per title, --read is not enough to set the correct socket specified in the conf file. I still need to set manually like yarpserver --read --socket 10001. Otherwise it doesn't even start.

To Reproduce
Set your .conf file with 127.0.0.1 10001 yarp and run yarpserver --read

Expected behavior
yarp where should return the correct socket

Screenshots

(robenv) C:\GitHubProj\robotology-superbuild\build>yarpserver --read

     ==========================
    | __  __ ___  ____   ____  |
    | \ \/ //   ||  _ \ |  _ \ |
    |  \  // /| || |/ / | |/ / |
    |  / // ___ ||  _ \ |  _/  |
    | /_//_/  |_||_| \_\|_|    |
    |                          |
     ==========================

Call with --help for information on available options
Using port database: :memory:
Using subscription database: :memory:
IP address: default
Port number: 10000
PROBLEM: need to change settings in C:\Users\dsortino\AppData\Roaming\yarp\config\_darios.conf
  Current settings: host 192.168.16.1 port 10001 family yarp
  Desired settings:  host 192.168.16.1 port 10000 family yarp
Please specify '--write' if it is ok to overwrite current settings, or
Please specify '--read' to use the current settings, or
delete C:\Users\dsortino\AppData\Roaming\yarp\config\_darios.conf
[ERROR] Aborting.

Configuration (please complete the following information):

  • OS: Windows 10
  • yarp version: 3.9.0+7-20240123.1+gitee0524166
  • compiler:

Additional context

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

No branches or pull requests

1 participant