Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail at ./build.sh in packagemanager.py's URL #6

Open
DigitalGabriele opened this issue Dec 30, 2023 · 0 comments
Open

Fail at ./build.sh in packagemanager.py's URL #6

DigitalGabriele opened this issue Dec 30, 2023 · 0 comments

Comments

@DigitalGabriele
Copy link

Hi,

I have been following your instructions, and ran:

./build.sh

I got the following output:

[+] Building 588.4s (54/54) FINISHED                             docker:default
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 2.44kB                                     0.0s
 => [internal] load metadata for docker.io/library/ubuntu:jammy            1.9s
 => [internal] load build context                                          0.0s
 => => transferring context: 35B                                           0.0s
 => CACHED [ 1/49] FROM docker.io/library/ubuntu:jammy@sha256:6042500cf4b  0.0s
 => [ 2/49] RUN apt update --error-on=any && apt -y install sudo wget gn  26.3s
 => [ 3/49] RUN useradd -m -u 1000 -o -s /bin/bash holoocean               0.3s
 => [ 4/49] RUN usermod -aG sudo holoocean                                 0.2s 
 => [ 5/49] RUN echo 'holoocean ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a'  0.2s 
 => [ 6/49] RUN export DEBIAN_FRONTEND=noninteractive                      0.2s 
 => [ 7/49] RUN ln -fs /usr/share/zoneinfo/Europe/Budapest /etc/localtime  0.3s 
 => [ 8/49] RUN apt install -y tzdata                                      4.3s 
 => [ 9/49] RUN dpkg-reconfigure --frontend noninteractive tzdata          1.4s
 => [10/49] RUN apt install build-essential -y                            23.4s 
 => [11/49] RUN apt install devscripts -y                                 61.2s 
 => [12/49] RUN apt install equivs -y                                      7.0s 
 => [13/49] RUN apt install build-essential -y                             1.4s 
 => [14/49] RUN apt install -y --no-install-recommends openssh-client gi  34.4s 
 => [15/49] RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys   1.3s 
 => [16/49] RUN apt install -y software-properties-common                 29.1s
 => [17/49] RUN add-apt-repository universe                                3.5s
 => [18/49] RUN apt update && apt install -y curl gnupg lsb-release        6.1s
 => [19/49] RUN sh -c 'curl -sSL https://raw.githubusercontent.com/ros/ro  1.0s
 => [20/49] RUN sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyring  0.8s
 => [21/49] RUN apt update --error-on=any                                 31.5s
 => [22/49] RUN apt dist-upgrade -y                                        1.5s
 => [23/49] RUN apt install -y ros-iron-ros-base                          89.8s
 => [24/49] RUN apt install -y ros-dev-tools                              47.0s
 => [25/49] RUN rosdep init                                                1.5s
 => [26/49] RUN rosdep update --rosdistro=iron                             8.6s
 => [27/49] RUN apt install -y iproute2                                    5.1s
 => [28/49] RUN apt install -y apt-utils debconf-utils dialog              3.5s
 => [29/49] RUN echo 'debconf debconf/frontend select Noninteractive' | d  0.5s
 => [30/49] RUN echo "resolvconf resolvconf/linkify-resolvconf boolean fa  0.4s
 => [31/49] RUN apt install -y wireguard resolvconf                       20.8s
 => [32/49] RUN apt install -y python3-pip                                 7.3s
 => [33/49] RUN apt install -y gdbserver                                   4.4s
 => [34/49] RUN apt install -y gdb                                         6.8s
 => [35/49] RUN apt install -y ros-iron-rmw-cyclonedds-cpp                 6.6s
 => [36/49] RUN apt install -y ros-iron-rclpy                              1.5s
 => [37/49] RUN apt install -y ros-iron-geometry-msgs                      1.5s
 => [38/49] RUN apt install -y ros-iron-joint-state-publisher-gui         36.0s
 => [39/49] RUN pip install setuptools==58.2.0                             3.5s
 => [40/49] RUN apt install -y python3.10-venv                             6.4s
 => [41/49] RUN apt install -y vulkan-tools                                5.4s
 => [42/49] RUN apt install -y python3-tk                                  5.2s
 => [43/49] RUN apt install -y ros-iron-rviz2                             20.7s
 => [44/49] RUN apt install -y libglm-dev                                  4.6s
 => [45/49] RUN apt install -y vim                                         7.5s
 => [46/49] RUN apt install -y ros-iron-tf2-tools                          1.6s
 => [47/49] RUN apt install -y ros-iron-tf-transformations                45.6s
 => [48/49] RUN apt install -y ros-iron-robot-state-publisher              1.5s
 => [49/49] COPY entrypoint.sh /                                           0.1s
 => exporting to image                                                     7.3s
 => => exporting layers                                                    7.3s
 => => writing image sha256:9348020f7f7b33a4628bcc9d5de0b0c9ece8d6134d298  0.0s
 => => naming to docker.io/library/holoocean_base_image_iron:latest        0.0s
UID changed to: 1000
User name changed to: gabriele
Requirement already satisfied: holoocean in ./holooceanvenv/lib/python3.10/site-packages (0.5.0)
Requirement already satisfied: posix-ipc>=1.0.0 in ./holooceanvenv/lib/python3.10/site-packages (from holoocean) (1.1.1)
Requirement already satisfied: numpy in ./holooceanvenv/lib/python3.10/site-packages (from holoocean) (1.26.2)
Requirement already satisfied: pynput in ./holooceanvenv/lib/python3.10/site-packages (1.7.6)
Requirement already satisfied: evdev>=1.3 in ./holooceanvenv/lib/python3.10/site-packages (from pynput) (1.6.1)
Requirement already satisfied: six in ./holooceanvenv/lib/python3.10/site-packages (from pynput) (1.16.0)
Requirement already satisfied: python-xlib>=0.17 in ./holooceanvenv/lib/python3.10/site-packages (from pynput) (0.33)
Requirement already satisfied: pyaml in ./holooceanvenv/lib/python3.10/site-packages (23.12.0)
Requirement already satisfied: PyYAML in ./holooceanvenv/lib/python3.10/site-packages (from pyaml) (6.0.1)
Unable to communicate with backend (0.5.0/available), [Errno 110] Connection timed out
Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 1448, in connect
    super().connect()
  File "/usr/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/holoocean/holooceanvenv/lib/python3.10/site-packages/holoocean/packagemanager.py", line 196, in install
    packages = available_packages()
  File "/holoocean/holooceanvenv/lib/python3.10/site-packages/holoocean/packagemanager.py", line 45, in available_packages
    index = _get_from_backend(url)
  File "/holoocean/holooceanvenv/lib/python3.10/site-packages/holoocean/packagemanager.py", line 31, in _get_from_backend
    req = urllib.request.urlopen(BACKEND_URL + rel_url)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>

I went into the packagemanager.py and checked for BACKENED_URL which is https://robots.et.byu.edu/holo/.
It does not open in a browser and nothing comes from trying to 'curl' it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant