ScalABLE40 / scalable_system_setup

Contains rosinstall file and convinient bash commands to setup the Scalable4.0 workspace
1 stars 2 forks source link

issue with the initialization of the scalable ws #4

Open Fflor-Cea opened 6 years ago

Fflor-Cea commented 6 years ago

Hi @ipa-led ,

I followed what's written in the readme. I'm having an issue with this command : wstool init src https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release.rosinstall

When I run it, I have that kind of messages (see below for the whole message) : Permission denied (publickey). fatal: Could not read from remote repository.

So I don't think it worked as wished.

I ran the rest of the instructions, I had no problem with the rosdep install nor with the sourcing and building the workspace. However, I don't have any "scalable" bash command : the update doesn't work, and I don't have anything when I try to type scalable + tab

As it seems to be a problem of permission, I tried to start again with sudo just to be sure, but the result is the same. Is it a problem of permission about the access of the repositories on the github ?

Here is what I get when running the wstool init src :

user@msi-01:~/Documents/scalable_ws$ wstool init src https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release.rosinstall Using initial elements from: https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release.rosinstall Writing /home/user/Documents/scalable_ws/src/.rosinstall [libs/skiros2/skiros2] Fetching git@github.com:ScalABLE40/skiros2.git (version None) to /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2 Clonage dans '/home/user/Documents/scalable_ws/src/libs/skiros2/skiros2'... The authenticity of host 'github.com (192.30.253.113)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/skiros2/skiros2_std_lib] Fetching git@github.com:ScalABLE40/skiros2_std_lib.git (version None) to /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_std_lib Clonage dans '/home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_std_lib'... Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/skiros2/skiros2_template_lib] Fetching git@github.com:ScalABLE40/skiros2_template_lib.git (version None) to /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_template_lib Clonage dans '/home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_template_lib'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/skiros2/skiros2_test_lib] Fetching git@github.com:ScalABLE40/skiros2_test_lib.git (version None) to /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_test_lib Clonage dans '/home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_test_lib'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/vfk_msb_client] Fetching git@github.com:ScalABLE40/vfk_msb_client.git (version None) to /home/user/Documents/scalable_ws/src/libs/vfk_msb_client Clonage dans '/home/user/Documents/scalable_ws/src/libs/vfk_msb_client'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/scalable_msgs] Fetching git@github.com:ScalABLE40/scalable_msgs.git (version None) to /home/user/Documents/scalable_ws/src/libs/scalable_msgs Clonage dans '/home/user/Documents/scalable_ws/src/libs/scalable_msgs'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [libs/skill_hardware_remapper] Fetching git@github.com:ScalABLE40/skill_hardware_remapper.git (version None) to /home/user/Documents/scalable_ws/src/libs/skill_hardware_remapper Clonage dans '/home/user/Documents/scalable_ws/src/libs/skill_hardware_remapper'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [system_setup/scalable_system_setup] Fetching git@github.com:ScalABLE40/scalable_system_setup.git (version None) to /home/user/Documents/scalable_ws/src/system_setup/scalable_system_setup Clonage dans '/home/user/Documents/scalable_ws/src/system_setup/scalable_system_setup'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [start/scalable_launch] Fetching git@github.com:ScalABLE40/scalable_launch.git (version None) to /home/user/Documents/scalable_ws/src/start/scalable_launch Clonage dans '/home/user/Documents/scalable_ws/src/start/scalable_launch'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [robots/scalable_robot] Fetching git@github.com:ScalABLE40/scalable_robot.git (version None) to /home/user/Documents/scalable_ws/src/robots/scalable_robot Clonage dans '/home/user/Documents/scalable_ws/src/robots/scalable_robot'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [robots/iiwa_stack] Fetching git@github.com:ScalABLE40/iiwa_stack.git (version master) to /home/user/Documents/scalable_ws/src/robots/iiwa_stack Clonage dans '/home/user/Documents/scalable_ws/src/robots/iiwa_stack'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [skills/scalable_skills_common] Fetching git@github.com:ScalABLE40/scalable_skills_common.git (version None) to /home/user/Documents/scalable_ws/src/skills/scalable_skills_common Clonage dans '/home/user/Documents/scalable_ws/src/skills/scalable_skills_common'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [skills/scalable_skills_aau] Fetching git@github.com:ScalABLE40/scalable_skills_aau.git (version None) to /home/user/Documents/scalable_ws/src/skills/scalable_skills_aau Clonage dans '/home/user/Documents/scalable_ws/src/skills/scalable_skills_aau'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Exception caught during install: Error processing 'libs/skiros2/skiros2' : [libs/skiros2/skiros2] Checkout of git@github.com:ScalABLE40/skiros2.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2 failed. Error processing 'libs/skiros2/skiros2_std_lib' : [libs/skiros2/skiros2_std_lib] Checkout of git@github.com:ScalABLE40/skiros2_std_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_std_lib failed. Error processing 'libs/skiros2/skiros2_template_lib' : [libs/skiros2/skiros2_template_lib] Checkout of git@github.com:ScalABLE40/skiros2_template_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_template_lib failed. Error processing 'libs/skiros2/skiros2_test_lib' : [libs/skiros2/skiros2_test_lib] Checkout of git@github.com:ScalABLE40/skiros2_test_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_test_lib failed. Error processing 'libs/vfk_msb_client' : [libs/vfk_msb_client] Checkout of git@github.com:ScalABLE40/vfk_msb_client.git version None into /home/user/Documents/scalable_ws/src/libs/vfk_msb_client failed. Error processing 'libs/scalable_msgs' : [libs/scalable_msgs] Checkout of git@github.com:ScalABLE40/scalable_msgs.git version None into /home/user/Documents/scalable_ws/src/libs/scalable_msgs failed. Error processing 'libs/skill_hardware_remapper' : [libs/skill_hardware_remapper] Checkout of git@github.com:ScalABLE40/skill_hardware_remapper.git version None into /home/user/Documents/scalable_ws/src/libs/skill_hardware_remapper failed. Error processing 'system_setup/scalable_system_setup' : [system_setup/scalable_system_setup] Checkout of git@github.com:ScalABLE40/scalable_system_setup.git version None into /home/user/Documents/scalable_ws/src/system_setup/scalable_system_setup failed. Error processing 'start/scalable_launch' : [start/scalable_launch] Checkout of git@github.com:ScalABLE40/scalable_launch.git version None into /home/user/Documents/scalable_ws/src/start/scalable_launch failed. Error processing 'robots/scalable_robot' : [robots/scalable_robot] Checkout of git@github.com:ScalABLE40/scalable_robot.git version None into /home/user/Documents/scalable_ws/src/robots/scalable_robot failed. Error processing 'robots/iiwa_stack' : [robots/iiwa_stack] Checkout of git@github.com:ScalABLE40/iiwa_stack.git version master into /home/user/Documents/scalable_ws/src/robots/iiwa_stack failed. Error processing 'skills/scalable_skills_common' : [skills/scalable_skills_common] Checkout of git@github.com:ScalABLE40/scalable_skills_common.git version None into /home/user/Documents/scalable_ws/src/skills/scalable_skills_common failed. Error processing 'skills/scalable_skills_aau' : [skills/scalable_skills_aau] Checkout of git@github.com:ScalABLE40/scalable_skills_aau.git version None into /home/user/Documents/scalable_ws/src/skills/scalable_skills_aau failed.

ERROR in config: Error processing 'libs/skiros2/skiros2' : [libs/skiros2/skiros2] Checkout of git@github.com:ScalABLE40/skiros2.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2 failed. Error processing 'libs/skiros2/skiros2_std_lib' : [libs/skiros2/skiros2_std_lib] Checkout of git@github.com:ScalABLE40/skiros2_std_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_std_lib failed. Error processing 'libs/skiros2/skiros2_template_lib' : [libs/skiros2/skiros2_template_lib] Checkout of git@github.com:ScalABLE40/skiros2_template_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_template_lib failed. Error processing 'libs/skiros2/skiros2_test_lib' : [libs/skiros2/skiros2_test_lib] Checkout of git@github.com:ScalABLE40/skiros2_test_lib.git version None into /home/user/Documents/scalable_ws/src/libs/skiros2/skiros2_test_lib failed. Error processing 'libs/vfk_msb_client' : [libs/vfk_msb_client] Checkout of git@github.com:ScalABLE40/vfk_msb_client.git version None into /home/user/Documents/scalable_ws/src/libs/vfk_msb_client failed. Error processing 'libs/scalable_msgs' : [libs/scalable_msgs] Checkout of git@github.com:ScalABLE40/scalable_msgs.git version None into /home/user/Documents/scalable_ws/src/libs/scalable_msgs failed. Error processing 'libs/skill_hardware_remapper' : [libs/skill_hardware_remapper] Checkout of git@github.com:ScalABLE40/skill_hardware_remapper.git version None into /home/user/Documents/scalable_ws/src/libs/skill_hardware_remapper failed. Error processing 'system_setup/scalable_system_setup' : [system_setup/scalable_system_setup] Checkout of git@github.com:ScalABLE40/scalable_system_setup.git version None into /home/user/Documents/scalable_ws/src/system_setup/scalable_system_setup failed. Error processing 'start/scalable_launch' : [start/scalable_launch] Checkout of git@github.com:ScalABLE40/scalable_launch.git version None into /home/user/Documents/scalable_ws/src/start/scalable_launch failed. Error processing 'robots/scalable_robot' : [robots/scalable_robot] Checkout of git@github.com:ScalABLE40/scalable_robot.git version None into /home/user/Documents/scalable_ws/src/robots/scalable_robot failed. Error processing 'robots/iiwa_stack' : [robots/iiwa_stack] Checkout of git@github.com:ScalABLE40/iiwa_stack.git version master into /home/user/Documents/scalable_ws/src/robots/iiwa_stack failed. Error processing 'skills/scalable_skills_common' : [skills/scalable_skills_common] Checkout of git@github.com:ScalABLE40/scalable_skills_common.git version None into /home/user/Documents/scalable_ws/src/skills/scalable_skills_common failed. Error processing 'skills/scalable_skills_aau' : [skills/scalable_skills_aau] Checkout of git@github.com:ScalABLE40/scalable_skills_aau.git version None into /home/user/Documents/scalable_ws/src/skills/scalable_skills_aau failed.

dhled commented 6 years ago

Hello, I see the problem. Thanks for that.

Solution: You can either add a ssh-key to your github account: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

or I will put an https version, but you will have to enter your github account + github password for every package.

dhled commented 6 years ago

Should have been solved in https://github.com/ScalABLE40/scalable_system_setup/pull/5

Fflor-Cea commented 6 years ago

Hello,

Thank you for your quick answer.

I'm not sure about the safety of using a ssh-key... I tried the other way, and here is what I get :

user@msi-01:~/Documents/scalable_ws$ wstool init src https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release_https.rosinstall Using initial elements from: https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release_https.rosinstall ERROR in config: Invalid multiproject yaml format in [https://raw.githubusercontent.com/ScalABLE40/scalable_system_setup/master/config/release_https.rosinstall]: mapping values are not allowed here in "", line 2, column 6