[DOCS-15392] Can't build the GitHub offline version Created: 03/Jun/22  Updated: 11/Oct/22  Resolved: 03/Jun/22

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: da the dev N/A Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 35 weeks, 5 days ago

 Description   

I'm trying to build [the offline version of MongoDB docs.|https://github.com/mongodb/docs|https://github.com/mongodb/docs].], but I can't use python2 because I'm on Arch Linux and there is no pip2 in pacman's repos. I've tried using python3, but I get a build error:

Traceback (most recent call last):
  File "/home/sv-cheats-1/.local/bin/giza", line 33, in <module>
    sys.exit(load_entry_point('giza==0.5.18', 'console_scripts', 'giza')())
  File "/home/sv-cheats-1/.local/bin/giza", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/cmdline.py", line 19, in <module>
    from giza.config.runtime import RuntimeStateConfig
  File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/config/runtime.py", line 25, in <module>
    from giza.config.sphinx_config import available_sphinx_builders
  File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/config/sphinx_config.py", line 20, in <module>
    import sphinx.make_mode
ModuleNotFoundError: No module named 'sphinx.make_mode'
make: *** [Makefile:62: html] Error 1

The reason why I need the offline version is because it's the only way to get the docs in Russia, because mongodb.com/docs returns 403 if connecting not from a VPN.



 Comments   
Comment by John Williams [ 03/Jun/22 ]

Giza is no longer maintained or supported.

Generated at Thu Feb 08 08:12:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.