VCityTeam / UD-Reproducibility

An Ubuntu based scafolding tool for deployment
2 stars 2 forks source link

Check and udpate demo bron/limonest and temporal #33

Open clementcolin opened 3 years ago

clementcolin commented 3 years ago

There is a need to check, fix if needed and update those demos with the new ud-viz architecture and with docker

webanck commented 3 years ago

Two weeks ago, the Bron demo was still working online at http://rict2.liris.cnrs.fr/UD-Viz/UD-Viz-Core/examples/DemoBron/Demo.html. As this demo isn't listed on the official VCity demos webpage, is it discontinued or unsupported?

According to the presence of the demo in this UD-Reproducibility repo (see Readme), I think the answer to the former question is probably no, at least not for the local demo. So I followed the instructions for local execution (./build.sh instead of ./install.sh which doesn't exist) and got this error:

./build.sh 
unable to prepare context: unable to 'git clone' to temporary context directory: stat /tmp/docker-build-git924575317/ExternalComponents/3DTilesSamples: no such file or directory
Building 3d-tiles-samples-server
Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM cesium-gs/3d-tiles-samples
pull access denied for cesium-gs/3d-tiles-samples, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
ERROR: Service '3d-tiles-samples-server' failed to build : Build failed
webanck commented 3 years ago

Starting to answer myself on the error part: I replaced ExternalComponents by Docker in the first line of the build.sh script but I now get an error during the build:

Building 3d-tiles-samples-server
Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM cesium-gs/3d-tiles-samples
 ---> 776750cc9760
Step 2/4 : RUN apt-get update
 ---> Running in 7cfebd201041
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists...
Removing intermediate container 7cfebd201041
 ---> 4f63038cb824
Step 3/4 : RUN apt-get install -y wget
 ---> Running in da9a410a5c0c
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 349 kB of archives.
After this operation, 1016 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 wget amd64 1.20.3-1ubuntu1 [349 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 349 kB in 0s (2981 kB/s)
Selecting previously unselected package wget.
(Reading database ... 25725 files and directories currently installed.)
Preparing to unpack .../wget_1.20.3-1ubuntu1_amd64.deb ...
Unpacking wget (1.20.3-1ubuntu1) ...
Setting up wget (1.20.3-1ubuntu1) ...
Removing intermediate container da9a410a5c0c
 ---> fdd0275e4466
Step 4/4 : RUN cd tilesets/ &&     wget --recursive --no-parent -nH --cut-dirs=1 --reject="index.html*"        http://rict2.liris.cnrs.fr/DataStore/bron_tiles/
 ---> Running in effb4c26e469
--2021-07-28 11:02:37--  http://rict2.liris.cnrs.fr/DataStore/bron_tiles/
Resolving rict2.liris.cnrs.fr (rict2.liris.cnrs.fr)... 134.214.142.251
Connecting to rict2.liris.cnrs.fr (rict2.liris.cnrs.fr)|134.214.142.251|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-07-28 11:02:37 ERROR 403: Forbidden.
webanck commented 2 years ago

@clementcolin Didn't you solve this issue as you recomputed up to date tilesets including Bron?