{"action":"created","issue":{"url":"https://api.github.com/repos/robotology/icub-support/issues/235","repository_url":"https://api.github.com/repos/robotology/icub-support","labels_url":"https://api.github.com/repos/robotology/icub-support/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/robotology/icub-support/issues/235/comments","events_url":"https://api.github.com/repos/robotology/icub-support/issues/235/events","html_url":"https://github.com/robotology/icub-support/issues/235","id":151908797,"number":235,"title":"RobotInterface not running","user":{"login":"jypuigbo","id":3121184,"avatar_url":"https://avatars.githubusercontent.com/u/3121184?v=3","gravatar_id":"","url":"https://api.github.com/users/jypuigbo","html_url":"https://github.com/jypuigbo","followers_url":"https://api.github.com/users/jypuigbo/followers","following_url":"https://api.github.com/users/jypuigbo/following{/other_user}","gists_url":"https://api.github.com/users/jypuigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/jypuigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jypuigbo/subscriptions","organizations_url":"https://api.github.com/users/jypuigbo/orgs","repos_url":"https://api.github.com/users/jypuigbo/repos","events_url":"https://api.github.com/users/jypuigbo/events{/privacy}","received_events_url":"https://api.github.com/users/jypuigbo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotology/icub-support/labels/iCubBarcelona01","name":"iCubBarcelona01","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"randaz81","id":2869969,"avatar_url":"https://avatars.githubusercontent.com/u/2869969?v=3","gravatar_id":"","url":"https://api.github.com/users/randaz81","html_url":"https://github.com/randaz81","followers_url":"https://api.github.com/users/randaz81/followers","following_url":"https://api.github.com/users/randaz81/following{/other_user}","gists_url":"https://api.github.com/users/randaz81/gists{/gist_id}","starred_url":"https://api.github.com/users/randaz81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randaz81/subscriptions","organizations_url":"https://api.github.com/users/randaz81/orgs","repos_url":"https://api.github.com/users/randaz81/repos","events_url":"https://api.github.com/users/randaz81/events{/privacy}","received_events_url":"https://api.github.com/users/randaz81/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-29T16:14:55Z","updated_at":"2016-05-03T21:36:12Z","closed_at":null,"body":"##### Description of the failure\r\n\r\nAfter updating and compiling `pc104` (see details below), `robotInterface` fails with the errors attached in the [log.txt](https://github.com/robotology/icub-support/files/242793/log.txt) file. \r\nWe have followed all the steps in [here](https://github.com/robotology/yarp/issues/498) and we already requested the changes in [here](https://github.com/robotology/icub-main/issues/273) (although the last shouldn't impede running `robotInterface`, as far as we know). \r\n\r\nDetail of the error: \r\n```\r\n459\t\t2676,016369\t\tINFO\t\tcreated wrapper <controlboardwrapper2>. See C++ class yarp::dev::ControlBoardWrapper2 for documentation.\r\n460\t\t2676,046544\t\tERROR\t\tAxisName not found\r\n461\t\t2676,056646\t\tERROR\t\tAxisType not found\r\n462\t\t2676,056746\t\tINFO\t\tPosition Pids section found, new format\r\n463\t\t2676,056797\t\tERROR\t\tmaxOutput not found\r\n464\t\t2676,056852\t\tERROR\t\tPosition Pids section: error detected in parameters syntax \r\n465\t\t2676,056893\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n466\t\t2676,056933\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n467\t\t2676,056976\t\tWARNING\t\tCannot open device left_arm_mc \r\n468\t\t2676,057019\t\tWARNING\t\tCannot open device left_arm_mc \r\n469\t\t2676,057062\t\tERROR\t\tAxisName not found\r\n470\t\t2676,057103\t\tERROR\t\tAxisType not found\r\n471\t\t2676,057145\t\tINFO\t\tPosition Pids section found, new format\r\n472\t\t2676,057182\t\tERROR\t\tmaxOutput not found\r\n473\t\t2676,057220\t\tERROR\t\tPosition Pids section: error detected in parameters syntax \r\n474\t\t2676,057258\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n475\t\t2676,057296\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n476\t\t2676,057336\t\tWARNING\t\tCannot open device left_hand_mc \r\n477\t\t2676,066751\t\tWARNING\t\tCannot open device left_hand_mc \r\n478\t\t2676,066846\t\tERROR\t\tAxisName not found\r\n479\t\t2676,066894\t\tERROR\t\tAxisType not found\r\n480\t\t2676,066934\t\tINFO\t\tPosition Pids section found, new format\r\n481\t\t2676,066973\t\tERROR\t\tmaxOutput not found\r\n482\t\t2676,067011\t\tERROR\t\tPosition Pids section: error detected in parameters syntax \r\n483\t\t2676,067051\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n484\t\t2676,076865\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n485\t\t2676,076996\t\tWARNING\t\tCannot open device right_arm_mc \r\n486\t\t2676,077065\t\tWARNING\t\tCannot open device right_arm_mc \r\n487\t\t2676,077117\t\tERROR\t\tAxisName not found\r\n488\t\t2676,077169\t\tERROR\t\tAxisType not found\r\n489\t\t2676,077210\t\tINFO\t\tPosition Pids section found, new format\r\n490\t\t2676,077249\t\tERROR\t\tmaxOutput not found\r\n491\t\t2676,077294\t\tERROR\t\tPosition Pids section: error detected in parameters syntax \r\n492\t\t2676,077337\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n493\t\t2676,086959\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n494\t\t2676,087040\t\tWARNING\t\tCannot open device right_hand_mc \r\n495\t\t2676,087084\t\tWARNING\t\tCannot open device right_hand_mc \r\n496\t\t2676,087121\t\tERROR\t\tAxisName not found\r\n497\t\t2676,087154\t\tERROR\t\tAxisType not found\r\n498\t\t2676,087185\t\tINFO\t\tPosition Pids section found, new format\r\n499\t\t2676,087216\t\tINFO\t\tPosition Pids successfully loaded\r\n500\t\t2676,087249\t\tWARNING\t\tTorque control parameters not found for part HEAD, skipping...\r\n501\t\t2676,087285\t\tDEBUG\t\tDEBUG parameters section NOT found, skipping...\r\n502\t\t2676,087322\t\tDEBUG\t\tIMPEDANCE parameters section NOT found, skipping...\r\n503\t\t2676,087353\t\tERROR\t\tmotorOverloadCurrents not found\r\n504\t\t2676,087383\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n505\t\t2676,087417\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n506\t\t2676,087450\t\tWARNING\t\tCannot open device head_mc \r\n507\t\t2676,087480\t\tWARNING\t\tCannot open device head_mc \r\n508\t\t2676,097078\t\tERROR\t\tAxisName not found\r\n509\t\t2676,097184\t\tERROR\t\tAxisType not found\r\n510\t\t2676,097223\t\tINFO\t\tPosition Pids section found, new format\r\n511\t\t2676,097257\t\tERROR\t\tmaxOutput not found\r\n512\t\t2676,097288\t\tERROR\t\tPosition Pids section: error detected in parameters syntax \r\n513\t\t2676,097320\t\tERROR\t\tOne or more errors found while parsing device configuration \r\n514\t\t2676,097352\t\t\t\tyarpdev: ***ERROR*** driver <canmotioncontrol> was found but could not open\r\n\r\n```\r\n##### Detailed conditions when the failure occurred\r\n+ We freshly made a `git pull` the same day and time of: \r\n + `yarp`\r\n + `icub-main`\r\n + `icub-firmware-shared`\r\n + `icub-firmware-build`\r\n+ We removed all the build folders\r\n+ We ccmaked `yarp` with the options in [here](http://wiki.icub.org/wiki/Compilation_on_the_pc104) and compiled successfully. \r\n+ We run the script `updateRobot.sh` without errors\r\n+ We cmaked and compiled `icub-firmware-shared` without errors\r\n+ We cmaked and compiled `icub-main` as detailed [here](http://wiki.icub.org/wiki/Compilation_on_the_pc104), without errors, **but** the following options were not available in our installation, so they were not enabled: \r\n + `ENABLE_icubmod_logpolarclient`\r\n + `ENABLE_icubmod_logpolargrabber`\r\n + `ENABLE_icubmod_icubheadcalibratorV2`\r\n\r\nWe still tried to run robotInterface, but it failed with the log attached. \r\n\r\nWe also tried different icub-main cmake options that made sense, but they didn't work either\r\n\r\nLast time we had a similar problem, I remember @randaz81 solved it, but I'm not sure it was the same. \r\n\r\n@clement-moulin-frier  @sockchinglow @pattacini "},"comment":{"url":"https://api.github.com/repos/robotology/icub-support/issues/comments/216672130","html_url":"https://github.com/robotology/icub-support/issues/235#issuecomment-216672130","issue_url":"https://api.github.com/repos/robotology/icub-support/issues/235","id":216672130,"user":{"login":"pattacini","id":3738070,"avatar_url":"https://avatars.githubusercontent.com/u/3738070?v=3","gravatar_id":"","url":"https://api.github.com/users/pattacini","html_url":"https://github.com/pattacini","followers_url":"https://api.github.com/users/pattacini/followers","following_url":"https://api.github.com/users/pattacini/following{/other_user}","gists_url":"https://api.github.com/users/pattacini/gists{/gist_id}","starred_url":"https://api.github.com/users/pattacini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattacini/subscriptions","organizations_url":"https://api.github.com/users/pattacini/orgs","repos_url":"https://api.github.com/users/pattacini/repos","events_url":"https://api.github.com/users/pattacini/events{/privacy}","received_events_url":"https://api.github.com/users/pattacini/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T21:36:12Z","updated_at":"2016-05-03T21:36:12Z","body":"@clement-moulin-frier \r\n\r\nAs per this [question](https://github.com/robotology/QA/issues/42#issuecomment-148192928) and its relative [answer](https://github.com/robotology/QA/issues/42#issuecomment-148714718), you cannot launch **`yarprobotinterface`** with mixed robot context, where you have some files in `.local` and the rest in the location pointed by `$YARP_DATA_DIRS`.\r\n\r\nYou **must** copy the whole set of files in your `.local` and keep it up-to-date with latest changes in the repository. As of now, it's the only way to proceed, given that it's quite likely to tune even a small bit of the content of those robot files."}}