Opened 2 years ago

Closed 20 months ago

#2397 closed defect (duplicate)

Sphinx docs build fails

Reported by: darkblueb Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive16.0
Component: Documentation Keywords: sphinx
Cc: osgeolive@…

Description

ol15 docs branch master

dbb@x10jam:/home/shared/OSGEO/OSGeoLive-doc/build$ make -j22
-- Checking for package 'Sphinx'
-- SPHINX_VERSION sphinx-build 4.3.2
-- SPHINX_VERSION 4.3.2
-- OSGeoLiveDoc_DOC_TARGETS = html;dirhtml;singlehtml;pickle;json;htmlhelp;latex;linkcheck
-- OSGeoLiveDoc_BUILD_LANGUAGES = en;de;es;fi;fr;hu;it;ja
-- SPHINXINTL_LANGUAGE = en
-- /home/shared/OSGEO/OSGeoLive-doc/doc/_themes/overview: OSGeoLiveDoc_BUILD_LANGUAGES = en;de;es;fi;fr;hu;it;ja
-- /home/shared/OSGEO/OSGeoLive-doc/doc/_themes/overview: OSGeoLiveDoc_LANGUAGES_BAR =   <a href="javascript:defaultRedirect('en')">English</a> |   <a href="javascript:defaultRedirect('de')">Deutsch</a> |   <a href="javascript:defaultRedirect('es')">Español</a> |   <a href="javascript:defaultRedirect('fi')">Suomen kieli</a> |   <a href="javascript:defaultRedirect('fr')">Français</a> |   <a href="javascript:defaultRedirect('hu')">Hungarian</a> |   <a href="javascript:defaultRedirect('it')">Italiano</a> |   <a href="javascript:defaultRedirect('ja')">日本語</a>
-- /home/shared/OSGEO/OSGeoLive-doc/doc/_themes/overview/static: OSGeoLiveDoc_INSTALLED_LANGUAGES =  en, de, es, fi, fr, hu, it, ja
-- SPHINX_OPTS=OFF
-- CMAKE_CURRENT_BINARY_DIR /home/shared/OSGEO/OSGeoLive-doc/build/presentation
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shared/OSGEO/OSGeoLive-doc/build
[  0%] Generating html/fr documentation ...


done
done
done
loading pickled environment... loading pickled environment... loading pickled environment... done
done
done
done
done
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/fr/LC_MESSAGES/quickstart/internationalisation_quickstart.mo
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/es/LC_MESSAGES/quickstart/R_quickstart.mo
building [mo]: targets for 137 po files that are out of date
writing output... [  0%] ../../locale/en/LC_MESSAGES/quickstart/gmt_quickstart.mo
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/es/LC_MESSAGES/quickstart/grass_quickstart.mo
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/es/LC_MESSAGES/quickstart/pywps_quickstart.mo
writing output... [  0%] ../../locale/fr/LC_MESSAGES/overview/geomoose_overview.mo
writing output... [  0%] ../../locale/fi/LC_MESSAGES/overview/osm_dataset_overview.mo
writing output... [  0%] ../../locale/ja/LC_MESSAGES/overview/geonode_overview.mo
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/de/LC_MESSAGES/overview/pycsw_overview.mo
writing output... [  0%] ../../locale/de/LC_MESSAGES/quickstart/geostyler_quickstart.mo
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/de/LC_MESSAGES/quickstart/ideditor_quickstart.mo
writing output... [  0%] ../../locale/fr/LC_MESSAGES/overview/pycsw_overview.mo
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 137 po files that are out of date
writing output... [  0%] ../../locale/fi/LC_MESSAGES/quickstart/zoo-project_quickstart.mo
writing output... [  0%] ../../locale/en/LC_MESSAGES/quickstart/hyperv_quickstart.mo
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/fi/LC_MESSAGES/quickstart/ncWMS_quickstart.mo
writing output... [  0%] ../../locale/ja/LC_MESSAGES/quickstart/mapnik_quickstart.mo
building [mo]: targets for 136 po files that are out of date
writing output... [  0%] ../../locale/it/LC_MESSAGES/quickstart/proj_quickstart.mo
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 136 po files that are out of date
building [mo]: targets for 137 po files that are out of date
writing output... [  0%] ../../locale/it/LC_MESSAGES/overview/geoserver_overview.mo
writing output... [  0%] ../../locale/ja/LC_MESSAGES/quickstart/pycsw_quickstart.mo
writing output... [  0%] ../../locale/en/LC_MESSAGES/quickstart/ETF_quickstart.mo
building [mo]: targets for 137 po files that are out of date
building [mo]: targets for 137 po files that are out of date
writing output... [  0%] ../../locale/hu/LC_MESSAGES/quickstart/proj_quickstart.mo
writing output... [  0%] ../../locale/hu/LC_MESSAGES/quickstart/hyperv_quickstart.mo
writing output... [  1%] ../../locale/en/LC_MESSAGES/overview/ideditor_overview.mo
writing output... [  1%] ../../locale/fi/LC_MESSAGES/quickstart/pywps_quickstart.mo
writing output... [  1%] ../../locale/de/LC_MESSAGES/quickstart/otb_quickstart.mo
writing output... [  1%] ../../locale/de/LC_MESSAGES/quickstart/re3gistry_quickstart.mo
writing output... [  1%] ../../locale/de/LC_MESSAGES/overview/cesium_overview.mo
writing output... [  2%] ../../
  ....
copying static files... done
copying extra files... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML page is in ../../../../../../home/shared/OSGEO/OSGeoLive-doc/build/_build/singlehtml/en.
[ 10%] Built target singlehtml-en
[ 11%] Generating pickle/ja documentation ...
Running Sphinx v4.3.2
loading translations [ja]... done

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 148, in preload_builder
    entry_point = next(entry_points)
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 276, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 234, in __init__
    self.preload_builder(buildername)
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 311, in preload_builder
    self.registry.preload_builder(self, name)
  File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 150, in preload_builder
    raise SphinxError(__('Builder name %s not registered or available'
sphinx.errors.SphinxError: Builder name pickle not registered or available through entry point

Sphinx error:
Builder name pickle not registered or available through entry point
make[2]: *** [doc/CMakeFiles/pickle-ja.dir/build.make:72: doc/CMakeFiles/pickle-ja] Error 2
make[1]: *** [CMakeFiles/Makefile2:1397: doc/CMakeFiles/pickle-ja.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
^C



Change History (5)

comment:1 by kalxas, 2 years ago

Cc: osgeolive@… added
Priority: blockermajor

comment:2 by darkblueb, 2 years ago

Priority: majornormal

error persists, but the build products appear complete

OSGeoLive-doc/build$ ls -lS $(find .. -name 'index.html' )

comment:3 by kalxas, 2 years ago

Milestone: OSGeoLive15.0OSGeoLive16.0

Ticket retargeted after milestone closed

comment:4 by cvvergara, 2 years ago

` OSGeoLiveDoc_DOC_TARGETS = html;dirhtml;singlehtml;pickle;json;htmlhelp;latex;linkcheck `

The targets where efforts have been taken are:

  • html,
  • linkcheck,
  • locale

Any other targets need work.

Questions to ask:

  • Besides the one we build, do we really need other target?
    • If so which one and why?
    • If not, then remove the targets that we will not work for from the build
Version 0, edited 2 years ago by cvvergara (next)

comment:5 by darkblueb, 20 months ago

Resolution: duplicate
Status: newclosed

auto-build of dot-deb

Note: See TracTickets for help on using tickets.