Skip to content
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

[documentation] Iroha 1 documentation build fails #3079

Open
6r1d opened this issue Jan 24, 2023 · 1 comment
Open

[documentation] Iroha 1 documentation build fails #3079

6r1d opened this issue Jan 24, 2023 · 1 comment
Assignees
Labels
1.5 Bug Something isn't working Documentation Documentation changes iroha1 The legacy version of Iroha.

Comments

@6r1d
Copy link
Contributor

6r1d commented Jan 24, 2023

Documentation URL(s)

https://iroha.readthedocs.io/

Description

Broken m2r2 dependency stops the documentation builds.

Log:

python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html
Running Sphinx v1.8.6
loading translations [en]... done
/home/docs/checkouts/readthedocs.org/user_builds/iroha/checkouts/main/docs/source/conf.py:125: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  common = yaml.load(stream)
/home/docs/checkouts/readthedocs.org/user_builds/iroha/checkouts/main/docs/source/conf.py:132: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  locale = yaml.load(stream)

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/iroha/envs/main/lib/python3.7/site-packages/sphinx/registry.py", line 472, in load_extension
    mod = __import__(extname, None, None, ['setup'])
ModuleNotFoundError: No module named 'm2r2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/iroha/envs/main/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/iroha/envs/main/lib/python3.7/site-packages/sphinx/application.py", line 228, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/iroha/envs/main/lib/python3.7/site-packages/sphinx/application.py", line 449, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/iroha/envs/main/lib/python3.7/site-packages/sphinx/registry.py", line 475, in load_extension
    raise ExtensionError(__('Could not import extension %s') % extname, err)
sphinx.errors.ExtensionError: Could not import extension m2r2 (exception: No module named 'm2r2')

Extension error:
Could not import extension m2r2 (exception: No module named 'm2r2')

Your suggestions

I'll have to select a proper package version and update the dependencies.

@6r1d 6r1d added Bug Something isn't working Documentation Documentation changes 1.5 labels Jan 24, 2023
@6r1d 6r1d self-assigned this Jan 24, 2023
6r1d added a commit to 6r1d/iroha that referenced this issue Jan 24, 2023
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
appetrosyan pushed a commit to 6r1d/iroha that referenced this issue Jan 25, 2023
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
appetrosyan pushed a commit that referenced this issue Jan 25, 2023
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
@6r1d
Copy link
Contributor Author

6r1d commented Jan 26, 2023

There were other issues I have detected on Read the Docs. I've refreshed all packages related to this issue now and will add another PR.

6r1d added a commit to 6r1d/iroha that referenced this issue Jan 26, 2023
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
baziorek pushed a commit that referenced this issue Mar 24, 2023
Signed-off-by: Grzegorz Bazior <g.bazior@yodiss.pl>
@nxsaken nxsaken added the iroha1 The legacy version of Iroha. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5 Bug Something isn't working Documentation Documentation changes iroha1 The legacy version of Iroha.
Projects
None yet
Development

No branches or pull requests

2 participants