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

Wrong YARP_PORT_PREFIX in yarpmanager #980

Closed
Tobias-Fischer opened this issue Nov 30, 2016 · 6 comments
Closed

Wrong YARP_PORT_PREFIX in yarpmanager #980

Tobias-Fischer opened this issue Nov 30, 2016 · 6 comments
Assignees
Labels
Affects: YARP v2.3.68 This is a known issue affecting YARP v2.3.68 Component: GUI - yarpmanager Fixed in: YARP v2.3.68.1 Issue Type: Bug Involves some intervention from a system administrator Resolution: Fixed

Comments

@Tobias-Fischer
Copy link
Member

Hi, currently the YARP_PORT_PREFIX=;, which breaks some applications (e.g. our robot didn't start using yarprobotinterface - not sure whether this is related or some other issue with our robot).
This is due to https://github.com/robotology/yarp/blob/master/src/libYARP_manager/src/manager.cpp#L292 which was introduced in 238bf63

@Tobias-Fischer Tobias-Fischer added Affects: YARP v2.3.68 This is a known issue affecting YARP v2.3.68 Component: GUI - yarpmanager Issue Type: Bug Involves some intervention from a system administrator labels Nov 30, 2016
@apaikan
Copy link
Collaborator

apaikan commented Dec 1, 2016

YARP_PORT_PREFIX=; is the same as the previous (i.e., YARP_PORT_PREFIX=) in the yarpmanager (theoretically should be the same).

@Tobias-Fischer would you provide more information on "it breaks some applications"?

  • Dose the manager run your modules?
  • What is the output of yarp name list after launching the application/modules?
  • With which particular module you faced this problem?

@maxime-petit
Copy link

maxime-petit commented Dec 1, 2016

Hi,

  • Yes the manager does run modules
  • With the ; symbol, for instance when running yarprobotinterface, the port for the analogServer is wrong: yarp: Port ;/icub/left_hand/analog:o/rpc:i active at tcp://10.0.2.2:10065 which is then leading to ERROR AnalogServer Error initializing YARP ports and yarpdev: ***ERROR*** driver <analogServer> was found but could not open
  • When removing the ; yarprobotinterface is starting nicely

./Max and @Tobias-Fischer

@apaikan
Copy link
Collaborator

apaikan commented Dec 1, 2016

I guess your YARP is not updated on the machine (e.g. PC104) where you are running yarprobotinterface. The 238bf63 also modified yarprun.!!!

Anyway, I just changed the yarp manager library to double check the port prefix and environment variables to avoid unnecessary ";".
See pull request #982

@maxime-petit would you please update your YARP on PC104 and let me know?

@Tobias-Fischer
Copy link
Member Author

Hi @apaikan,
We got rid of this error on all of our Linux machines after updating, however our Windows machine still suffers from the ";" in front of the port names. We use the Windows machine mainly for speechRecognizer, but I guess the problem is independent of that. Could you please have a look whether it's working on your Windows machines?

Thanks,
Tobias

@apaikan
Copy link
Collaborator

apaikan commented Jan 16, 2017

Hi
@Tobias-Fischer Do you still getting ';' in front of the ports prefix in Windows?
I have just checked it on my windows machine (devel branch) and everything look good.
Would you check it again (e.g. with EyesViewer-Localhost from yarpmanager) and let me know ?

@Tobias-Fischer
Copy link
Member Author

Hi @apaikan,
I completely re-installed yarp on the Windows machine, and I think it's all good now. Thanks and sorry for the confusion.

Best, Tobi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: YARP v2.3.68 This is a known issue affecting YARP v2.3.68 Component: GUI - yarpmanager Fixed in: YARP v2.3.68.1 Issue Type: Bug Involves some intervention from a system administrator Resolution: Fixed
Projects
None yet
Development

No branches or pull requests

4 participants