robotology-legacy / qtyarp

QtYarp
1 stars 1 forks source link

[QtYARPScope] Crash if no yarpserver is available #4

Closed traversaro closed 10 years ago

traversaro commented 10 years ago

On Ubuntu 13.10, Yarp 2.3.62.1 and Qt 5.2.1 downloaded from qt website if I launch QtYARPSCope and no yarpserver is running the program crashes with this output:

pegua@sisto:~/src/qtyarp/build$ ./bin/QtYARPScope 
qrc:/YARPScope/YARPScopeAbout.qml:190:13: QML TabView: Cannot anchor to an item that isn't a parent or sibling.
||| configuring
||| no policy found
||| default config file specified as yarpscope.ini
||| checking [/home/pegua/src/qtyarp/build/yarpscope.ini] (pwd)
||| checking [/home/pegua/.config/yarp/robots/default] (robot YARP_CONFIG_HOME)
||| checking [/home/pegua/.local/share/yarp/robots/default] (robot YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-kde-plasma/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/usr/share/upstart/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/usr/share/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/share/kde-plasma/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/share/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/usr/share/kde-plasma/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| found /usr/local/share/yarp/config/path.d
||| checking [/usr/local/share/codyco/robots/default] (robot yarp.d)
||| checking [/usr/local/share/iCub/robots/default] (robot yarp.d)
||| checking [/home/pegua/.config/yarp/yarpscope.ini] (YARP_CONFIG_HOME)
||| checking [/home/pegua/.local/share/yarp/yarpscope.ini] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-kde-plasma/yarp/yarpscope.ini] (YARP_CONFIG_DIRS)
||| checking [/usr/share/upstart/xdg/yarp/yarpscope.ini] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/yarpscope.ini] (YARP_CONFIG_DIRS)
||| checking [/usr/share/yarp/yarpscope.ini] (YARP_DATA_DIRS)
||| checking [/usr/share/kde-plasma/yarp/yarpscope.ini] (YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/yarpscope.ini] (YARP_DATA_DIRS)
||| checking [/usr/local/share/codyco/yarpscope.ini] (yarp.d)
||| checking [/usr/local/share/iCub/yarpscope.ini] (yarp.d)
||| did not find yarpscope.ini
yarp: cannot read from yarpscope.ini
(from yarpscope.ini)
Cannot connect to yarp network
Aborted (core dumped)
aitek4iit commented 10 years ago

Fixed.