Skip to content

Install apt-install repositories by apt.txt file like mybinder #7365

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

Closed
tkoyama010 opened this issue Aug 6, 2020 · 1 comment
Closed

Install apt-install repositories by apt.txt file like mybinder #7365

tkoyama010 opened this issue Aug 6, 2020 · 1 comment

Comments

@tkoyama010
Copy link

Details

Expected Result

  • A description of what you wanted to happen*

I need to install libgl1-mesa-dev xvfb ffmpeg by apt command to compile sphinx document.
I think I am happy if I can install it by apt.txt file like mybinder.

Actual Result

A description of what actually happened
The following error happend. Because I cannot install packages of apt.
https://readthedocs.org/projects/pyvista-doc/builds/11602772/

Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
generating gallery...
generating gallery for examples/00-load... [  7%] create-geometric-objects.py
2020-08-05 17:46:58.219 (   5.024s) [        BF82F080]vtkXOpenGLRenderWindow.:449    ERR| vtkXOpenGLRenderWindow (0x55bd4870d440): bad X server connection. DISPLAY=
Fatal Python error: Aborted

Current thread 0x00007fd4bf82f080 (most recent call first):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/checkouts/latest/pyvista/pyvista/plotting/plotting.py", line 4060 in show
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/checkouts/latest/pyvista/examples/00-load/create-geometric-objects.py", line 53 in <module>
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 466 in __call__
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_gallery.py", line 159 in call_memory
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 548 in execute_code_block
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 717 in execute_script
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 797 in generate_file_rst
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 364 in generate_dir_rst
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx_gallery/gen_gallery.py", line 381 in generate_gallery_rst
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/events.py", line 80 in emit
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 510 in emit
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 325 in _init_builder
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 263 in __init__
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303 in build_main
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 319 in main
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyvista-doc/envs/latest/bin/sphinx-build", line 8 in <module>
Aborted (core dumped)
@tkoyama010 tkoyama010 changed the title I want to apt-install repositories by apt.txt file like mybinder Install apt-install repositories by apt.txt file like mybinder Aug 6, 2020
@stsewd
Copy link
Member

stsewd commented Aug 6, 2020

Duplicated of #6662

@stsewd stsewd closed this as completed Aug 6, 2020
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

2 participants