jsk-ros-pkg / jsk_robot

jsk-ros-pkg/jsk_robot
https://github.com/jsk-ros-pkg/jsk_robot
73 stars 97 forks source link

failed wstool update in jsk_pepper_robot/setup environment #215

Closed kakehashi closed 8 years ago

kakehashi commented 9 years ago

Hi, @kochigami and I were doing the operations in https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_pepper_robot/README.md

mkdir -p catkin_ws/src
cd  catkin_ws/src

The operations above made ~/catkin_ws/src/src directory, so we've deleted it first by $ rm -r ~/catkin_ws/src/src and then by using GUI (which means throwing the src-folder into the trash). Then we continued

wstool init src
wstool merge -t src https://raw.githubusercontent.com/jsk-ros-pkg/jsk_robot/mas\
ter/jsk_pepper_robot/pepper.rosinstall
wstool update -t src

and got the error messages below

leus@mirai1:~/catkin_ws$ wstool update -t src
[naoqi_bridge] Updating /home/leus/catkin_ws/src/naoqi_bridge
[naoqi_bridge] Done.
[nao_interaction] Fetching /home/leus/catkin_ws/src/https/github.com/ros-naoqi/nao_interaction.git (version master) to /home/leus/catkin_ws/src/nao_interaction
fatal: repository '/home/leus/catkin_ws/src/https/github.com/ros-naoqi/nao_interaction.git' does not exist
[nao_robot] Updating /home/leus/catkin_ws/src/nao_robot
[nao_robot] Done.
[jsk_robot] Updating /home/leus/catkin_ws/src/jsk_robot
Submodule '.travis' () registered for path '.travis'

[jsk_robot] Done.
Exception caught during install: Error processing 'nao_interaction' : [nao_interaction] Checkout of /home/leus/catkin_ws/src/https/github.com/ros-naoqi/nao_interaction.git version master into /home/leus/catkin_ws/src/nao_interaction failed.

ERROR in config: Error processing 'nao_interaction' : [nao_interaction] Checkout of /home/leus/catkin_ws/src/https/github.com/ros-naoqi/nao_interaction.git version master into /home/leus/catkin_ws/src/nao_interaction failed.

The situation looks a bit like https://github.com/start-jsk/2014-semi/issues/21, but we've already set ssh keys.

Please help us!!!

kochigami commented 9 years ago

The result of cd ~/catkin_ws/src & ls is below: CMakeLists.txt jsk_robot nao_robot naoqi_bridge and nao_interaction is not found, so we git clone https://github.com/ros-naoqi/nao_interaction.git.

Can we catkin_make these without following the setup instruction https://github.com/jsk-ros-pkg/jsk_robot/tree/master/jsk_pepper_robot ?

garaemon commented 9 years ago

Please attach the result of wstool info

cd ~/catkin_ws/src
wstool info
kakehashi commented 9 years ago

Thank you for your advise,

leus@mirai1:~/catkin_ws$ cd ~/catkin_ws/src
leus@mirai1:~/catkin_ws/src$ wstool info
workspace: /home/leus/catkin_ws/src

 Localname       S SCM  Version-Spec UID  (Spec)  URI  (Spec) [http(s)://...]
 ---------       - ---- ------------ -----------  ---------------------------
 jsk_robot         git  master       2704edf5af57 github.com/jsk-ros-pkg/jsk_robot.git
 nao_robot         git  master       5cdff78fa61a github.com/ros-naoqi/nao_robot.git
 nao_interaction x git  master                    /home/leus/catkin_ws/src/https/github.com/ros-naoqi/nao_interaction.git
 naoqi_bridge      git  master       7c2769dd2b38 github.com/ros-naoqi/naoqi_bridge.git

Also detected these repositories in the workspace, add using 'wstool set':

 Localname                           SCM   URI [http(s)://...]
 ---------                           ----  -------------------
 nao_interaction_2014-12-19-20-21-20 --git github.com/ros-naoqi/nao_interaction.git
leus@mirai1:~/catkin_ws/src$
garaemon commented 9 years ago

I see

cd ~/catkin_ws/src
wstool set --git nao_interaction https://github.com/ros-naoqi/nao_interaction.git
wstool update nao_interaction
OTL commented 9 years ago

This patch will solve this problem!

https://github.com/jsk-ros-pkg/jsk_robot/pull/248

furushchev commented 8 years ago

@kakehashi Any update? If this problem was already solved, please close this issue.

kochigami commented 8 years ago

Hi, I know it's not my place to say this and I don't have the permission, but I think it's ok to close.

Current pepper.rosinstall is used to pick only jsk_robot .