Skip to content

Error in WebGL Habitat-Sim while running the webserver#527

Description

@rutadesai

馃悰 Bug

I followed the instruction on https://github.com/facebookresearch/habitat-sim#webgl to run the webgl demo. However, in step 5., when I run: python -m http.server 8000 --bind 127.0.0.1 , I get the following error:

127.0.0.1 - - [14/Mar/2020 14:53:19] "GET /build_js/esp/bindings_js/bindings.html HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/WebApplication.css HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/WindowlessEmscriptenApplication.js HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/bundle.js?4c536547307b8acf0c58 HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] code 404, message File not found
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/hsim_bindings.js HTTP/1.1" 404 -
127.0.0.1 - - [14/Mar/2020 14:53:20] code 404, message File not found

Corresponding output in the browser:

image

Detailed view from the terminal:

python -m http.server 8000 --bind 127.0.0.1
Serving HTTP on 127.0.0.1 port 8000 (http://127.0.0.1:8000/) ...
127.0.0.1 - - [14/Mar/2020 14:53:19] "GET /build_js/esp/bindings_js/bindings.html HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/WebApplication.css HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/WindowlessEmscriptenApplication.js HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/bundle.js?4c536547307b8acf0c58 HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2020 14:53:20] code 404, message File not found
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/hsim_bindings.js HTTP/1.1" 404 -
127.0.0.1 - - [14/Mar/2020 14:53:20] code 404, message File not found
127.0.0.1 - - [14/Mar/2020 14:53:20] "GET /build_js/esp/bindings_js/hsim_bindings.js HTTP/1.1" 404 -

System Info

ENVIRONMENT INFO:
Platform: Darwin-18.7.0-x86_64-i386-64bit
Machine: x86_64
Processor: i386
Libc version:
Mac version: 10.14.6
Python version: 3.6.10
Architecture: 64bit
Win version:
System OS: Darwin
Release: 18.7.0
Version: Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Operational System: darwin
GCC version: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
CMAKE version: cmake version 3.14.0
NVIDIA-SMI:
Pip packages versions:

Conda packages versions:
attrs 19.3.0 py_0 19.1.0
numba 0.48.0 pypi_0 pypi
numpy 1.18.1 pypi_0 pypi
numpy-quaternion 2019.12.11.22.25.52 pypi_0 pypi
pillow 7.0.0 py36h4655f20_0
scipy 1.4.1 py36h9fa6033_0 1.3.0
tqdm 4.43.0 pypi_0 pypi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions