-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
I ran into these errors running make html in the docs directory under hexrd.
(hexrd-dev) (MBP-2023: docs) 1166. make html
Running Sphinx v7.3.7
/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
from sphinx.util import SkipProgressMessage, progress_message
/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.
from sphinx.util import SkipProgressMessage, progress_message
/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.
from sphinx.util import progress_message
loading pickled environment... done
myst v3.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 12 changed, 0 removed
reading sources... [100%] hexrd.wppf.RietveldHEDM
WARNING: autodoc: failed to import module 'copyright' from module 'hexrd'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/copyright.py", line 38, in <module>
with open(os.path.join(os.path.dirname(__file__), COPYRIGHT_FILE), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/deboyce/Source/hexrd/pkg/hexrd/COPYING'
WARNING: autodoc: failed to import module 'calibration' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.calibrator' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.instrument' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.laue' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.lmfit_param_handling' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.multigrain' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.powder' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'calibration.structureless' from module 'hexrd.fitting'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/__init__.py", line 1, in <module>
from .instrument import InstrumentCalibrator
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/instrument.py", line 7, in <module>
from .lmfit_param_handling import (
File "/Users/deboyce/Source/hexrd/pkg/hexrd/fitting/calibration/lmfit_param_handling.py", line 323, in <module>
euler_convention: dict | tuple) -> np.ndarray:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
WARNING: autodoc: failed to import module 'eiger_stream_v1' from module 'hexrd.imageseries.load'; the following exception was raised:
No module named 'dectris'
WARNING: autodoc: failed to import module 'spherical' from module 'hexrd.projections'; the following exception was raised:
No module named 'hexrd.xrdutils'
WARNING: autodoc: failed to import module 'RietveldHEDM' from module 'hexrd.wppf'; the following exception was raised:
Traceback (most recent call last):
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
File "/Users/deboyce/miniconda3/envs/hexrd-dev/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 983, in get_code
File "<frozen importlib._bootstrap_external>", line 913, in source_to_code
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/deboyce/Source/hexrd/pkg/hexrd/wppf/RietveldHEDM.py", line 114
"""
^
IndentationError: expected an indented block
looking for now-outdated files... none found
pickling environment... done
checking consistency... /Users/deboyce/Source/hexrd/pkg/docs/source/users/GrainData.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
copying downloadable files... [100%] _static/transforms.pdf
copying static files... done
copying extra files... done
done
writing output... [100%] index
generating indices... genindex py-modindex done
highlighting module code... [ 31%] hexrd.fitting.calibration.relative_constraintWARNING:root:mpi4py failed to load on hostname='MacBook-Pro-2023.local'. MPI is disabled.
highlighting module code... [100%] hexrd.xrdutil.utils
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 13 warnings.
The HTML pages are in build/html.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation