Closed rlober closed 9 years ago
The search for ymanager.ini
is not printing the usual messages because the verbosity of the ResourceFinder is setted to false in https://github.com/robotology/yarp/blob/master/src/yarpmanager-qt/main.cpp#L52 .
Ok just made the change to that file and I get the following output:
ryan@ISIR2014057:~$ yarpmanager
||| clearing context
||| adding context [yarpmanager]
||| configuring
||| no policy found
||| default config file specified as ymanager.ini
||| checking [/home/ryan/ymanager.ini] (pwd)
||| checking [/home/ryan/.config/yarp/robots/icubSim] (robot YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/robots/icubSim] (robot YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/robots/icubSim] (robot YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/robots/icubSim] (robot YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/robots/icubSim] (robot YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/robots/icubSim] (robot YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/robots/icubSim] (robot YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/home/ryan/.config/yarp/contexts/yarpmanager] (context YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/contexts/yarpmanager] (context YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/contexts/yarpmanager] (context YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/contexts/yarpmanager] (context YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/contexts/yarpmanager] (context YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/contexts/yarpmanager] (context YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/contexts/yarpmanager] (context YARP_DATA_DIRS)
||| checking [/home/ryan/.config/yarp/ymanager.ini] (YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/ymanager.ini] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/ymanager.ini] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/ymanager.ini] (YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/ymanager.ini] (YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/ymanager.ini] (YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/ymanager.ini] (YARP_DATA_DIRS)
||| did not find ymanager.ini
yarp: cannot read from ymanager.ini
||| finding file [from]
||| did not find ymanager.ini
||| finding paths [applications]
||| checking [/home/ryan/applications] (pwd)
||| checking [/home/ryan/.config/yarp/applications] (YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/applications] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/applications] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/applications] (YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/applications] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/yarp/build/share/yarp/applications
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/applications] (YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/applications] (YARP_DATA_DIRS)
||| finding paths [scripts]
||| finding paths [modules]
||| checking [/home/ryan/modules] (pwd)
||| checking [/home/ryan/.config/yarp/modules] (YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/modules] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/modules] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/modules] (YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/modules] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/yarp/build/share/yarp/modules
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/modules] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/icub-main/build/share/iCub/modules
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/modules] (YARP_DATA_DIRS)
||| finding paths [resources]
||| checking [/home/ryan/resources] (pwd)
||| checking [/home/ryan/.config/yarp/resources] (YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/resources] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/resources] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/resources] (YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/resources] (YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/resources] (YARP_DATA_DIRS)
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/resources] (YARP_DATA_DIRS)
||| finding paths [templates/applications]
||| checking [/home/ryan/templates/applications] (pwd)
||| checking [/home/ryan/.config/yarp/templates/applications] (YARP_CONFIG_HOME)
||| checking [/home/ryan/.local/share/yarp/templates/applications] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/templates/applications] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/templates/applications] (YARP_CONFIG_DIRS)
||| checking [/home/ryan/Code/iCub_Software/yarp/build/share/yarp/templates/applications] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/yarp/build/share/yarp/templates/applications
||| checking [/home/ryan/Code/iCub_Software/icub-main/build/share/iCub/templates/applications] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/icub-main/build/share/iCub/templates/applications
||| checking [/home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/templates/applications] (YARP_DATA_DIRS)
||| found /home/ryan/Code/iCub_Software/codyco-superbuild/build/install/share/codyco/templates/applications
ryan@ISIR2014057:~$
@rlober ymanager.ini
is not strictly necessary for the functioning of the GUI. It happens also in my machine but I have no problem whatsoever during my general use.
@alecive
You are totally right, it doesn't stop it from opening, but none of the compiled modules show up as a result. They are all in my icub-main/build
dirs but they don't show up in yarpmanager
. It is really just a convenience thing.
This info might be of help:
Straight out of the repo we don't have any .xml
application in the icub-main/build
, but rather .xml.template
files the users need to customize to make them work for their specific architecture. The customized .xml
are then meant to be located in ~/.local/share/yarp/applications
, which should be in turn read at start-up by the yarpmanager
.
Ok that makes sense. I went ahead tested it out by customizing iCubGui
and everything worked fine. Thanks for the help everyone.
When I launch yarpmanager it doesn't find an .ini file:
and it doesn't seem to be looking in any of the usual locations ie: $YARP_DATA_DIRS. When I run a
locate ymanager.ini
I get the following results...Which means that nothing is getting copied to my build dir when I make. This is odd because all of the modules and whatnot build properly. I was wondering if maybe I am missing some CMake options or something like that. I put the CMakeCache at the end. Here is my
.bash_iCubrc
CmakeCache.txt