mapillary / mapillary/OpenSfM

Cannot use the reconstruction.html to open the .json file

Open
#576 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using python3 , so I use python -m http.server instead of python -m SimpleHTTPServer.

When I open the Viewer, and browse the .json file nothing happens. it seems that I cannot open the .json from the viewer.

I am running under Ubuntu 16.04, and I havn't created the documentation by cd doc
make livehtml
successfully.

**python3 -m sphinx -b html -d build/doctrees source build/html
Running Sphinx v2.4.0
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] api
WARNING: autodoc: failed to import module 'dataset' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
WARNING: autodoc: failed to import module 'types' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
WARNING: autodoc: failed to import module 'features' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
WARNING: autodoc: failed to import module 'matching' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
WARNING: autodoc: failed to import module 'reconstruction' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
WARNING: autodoc: failed to import module 'config' from module 'opensfm'; the following exception was raised:
No module named 'opensfm'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/objloc/OBJLOC/OpenSfM/doc/source/dense.rst: WARNING: document isn't included in any toctree
/home/objloc/OBJLOC/OpenSfM/doc/source/merging_notes.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
/home/objloc/OBJLOC/OpenSfM/doc/source/_templates/layout.html:16: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
border-color: transparent;
writing output... [100%] index
generating indices... genindexdone
writing additional pages... search/home/objloc/anaconda3/envs/py37/lib/python3.7/site-packages/sphinx_rtd_theme/search.html:21: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
{% endblock %}
done
copying static files... ... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 8 warnings.

The HTML pages are in build/html.

Build finished. The HTML pages are in build/html.
sphinx-autobuild -b html -p 8001 -d build/doctrees source build/html
make: sphinx-autobuild: Command not found
Makefile:57: recipe for target 'livehtml' failed
make: *** [livehtml] Error 127
**

Is there any suggestion or another available viewer to see the result?

Thank you very much!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with reconstruction.html, a JSON file, and python -m http.server. Review the viewer entry point and the related discussion, then verify the documented setup under doc and its Makefile. Done means the viewer either opens the JSON file successfully or clearly reports the supported workflow and limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.