ClaudiaAlvarezAparicio / petra

GNU Lesser General Public License v3.0
22 stars 3 forks source link

catkin_make error #4

Open Sergio-Wong opened 2 years ago

Sergio-Wong commented 2 years ago

Hello! I'm currently reading your paper about Petra and trying to get it installed,but there seems to be some problem that I can not settle down. I have followed your getting stared instructions on Github,after these step: $ cd ~/catkin_ws/src/
&& git clone https://github.com/ethz-asl/tensorflow_catkin.git
&& cd tensorflow_catkin/
&& git checkout bcd27b06e65dd88c3f2f2875ff498b3c2bddcff3
&& cd ../
& git clone https://github.com/catkin/catkin_simple.git
&& cd catkin_simple/
&& git checkout 0e62848b12da76c8cc58a1add42b4f894d1ac21e

I faced the catkin_make problem like that: -- Downloading... dst='/home/wwz/petra_ws/build/tensorflow_catkin/tensorflow_build/downloads/e5e305a158a0.tar.gz' timeout='none' -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' -- Retrying... -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' -- Retry after 5 seconds (attempt #2) ... -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' -- Retry after 5 seconds (attempt #3) ... -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' -- Retry after 15 seconds (attempt #4) ... -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' -- Retry after 60 seconds (attempt #5) ... -- Using src='https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' CMake Error at eigen-stamp/download-eigen.cmake:157 (message): Each download failed!

error: downloading 'https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying 104.192.141.1...

It seems to be the communicating problem I guess,I can neither get into the website of the dst. It would be very kind of you if you can offer me some help about it, thank you very much!

ClaudiaAlvarezAparicio commented 2 years ago

Hello! You are absolutely right. I don't know when it stopped working... I have found a workaround to fix it temporarily, but I will have to look for a better alternative. Here are the steps: $ cd catkin_ws/build/tensorflow_catkin/tensorflow_build/downloads/ $ rm e5e305a158a0.tar.gz* $ wget http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz $ cd catkin_ws/ $ grep -r https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz For each match given by the grep command, we must substitute the following text

https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz --> mirror.bazel.build/bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz

A quick way would be: $ sed -i 's+https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz+mirror.bazel.build/bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz+g' <path to the file found by grep> Then $ catkin_make And continue with the steps in the repo.

Thank you so much for the notice