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

mkdocs ValueError Schema path or paths do not exist #1030

Closed
mateuszpawlik opened this issue Mar 18, 2022 · 7 comments · Fixed by #1032
Closed

mkdocs ValueError Schema path or paths do not exist #1030

mateuszpawlik opened this issue Mar 18, 2022 · 7 comments · Fixed by #1032

Comments

@mateuszpawlik
Copy link
Contributor

I want to build the specification with mkdocs but I get multiple ValueError: Schema path or paths do not exist:.

Steps to reproduce:

mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $  python3 -m venv mkdocs-env
mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ source mkdocs-env/bin/activate
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 install -r requirements.txt
...
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ mkdocs serve

Head of the output:

INFO     -  Building documentation...
INFO     -  [macros] - Macros arguments: {'module_name': 'tools/mkdocs_macros_bids/main', 'modules': [],
            'include_dir': '', 'include_yaml': [], 'j2_block_start_string': '', 'j2_block_end_string': '',
            'j2_variable_start_string': '', 'j2_variable_end_string': '', 'on_undefined': 'keep', 'verbose':
            False}
INFO     -  [macros] - Found local Python module 'tools/mkdocs_macros_bids/main' in:
            /home/mpawlik/Remote/anc/bids-specification
INFO     -  [macros] - Found external Python module 'tools/mkdocs_macros_bids/main' in:
            /home/mpawlik/Remote/anc/bids-specification
INFO     -  [macros] - Extra variables (config file): ['generator', 'social']
INFO     -  [macros] - Extra filters (module): ['pretty']
INFO     -  Cleaning site directory
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - index.md
              - pregh-changes.md
              - schema/README.md
INFO     -  [macros] - ERROR # _Macro Rendering Error_

            **ValueError**: Schema path or paths do not exist:
            /home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/data/schema/objects
            /home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/data/schema/rules


            ```
            Traceback (most recent call last):
              File
            "/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/mkdocs_macros/plugin.py",
            line 473, in render
                return md_template.render(**page_variables)
              File
            "/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/jinja2/environment.py",
            line 1291, in render
                self.environment.handle_exception()
              File
            "/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/jinja2/environment.py",
            line 925, in handle_exception
                raise rewrite_traceback_stack(source=source)
              File "<template>", line 462, in top-level template code
              File "/home/mpawlik/Remote/anc/bids-specification/tools/mkdocs_macros_bids/macros.py", line 129, in
            make_metadata_table
                schema_obj = schema.load_schema(schemapath)
              File
            "/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/schema.py",
            line 81, in load_schema
                raise ValueError(
            ValueError: Schema path or paths do not exist:
            /home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/data/schema/objects
            /home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/data/schema/rules

            ```

The documentation doesn't specify any additional steps.

@mateuszpawlik
Copy link
Contributor Author

If it helps I found this:

(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ cd tools/mkdocs_macros_bids/
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification/tools/mkdocs_macros_bids (master) $ python3 
Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from schemacode import render, schema, utils
>>> utils.get_schema_path()
'/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/schemacode/data/schema'
>>>

@sappelhoff
Copy link
Member

Could you try to do (from the root of bids-specification/):

python3 -m venv mkdocs-env
pip install -U pip
pip install -r requirements.txt
pip install tools/schemacode/
mkdocs build --clean --strict --verbose

That should pass without errors. With these steps you should also be able to do mkdocs serve without problems.

Interestingly I could replicate your issue even when doing pip install tools/schemacode/ ... a pip install -U pip was needed for this to pass.

@Remi-Gau
Copy link
Collaborator

Reading through the Building the specification section I realize that it could be improved and we could thus ensure it works.

https://github.com/bids-standard/bids-specification/blob/master/CONTRIBUTING.md#building-the-specification-using-mkdocs

@mateuszpawlik
Copy link
Contributor Author

It worked now. Thank you. My commands were (pip3 because I'm on Debian):

python3 -m venv mkdocs-env
source mkdocs-env/bin/activate
pip3 install --upgrade pip
pip3 install --requirement requirements.txt
pip3 install tools/schemacode/
mkdocs build --clean --strict --verbose
mkdocs serve

I wasn't aware of tools/schemacode/. I found it late on Friday but couldn't comment.

pip3 install --upgrade pip upgraded my pip version.

Here's the entire output:
mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ python3 -m venv mkdocs-env
mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ source mkdocs-env/bin/activate
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 list
Package       Version
------------- -------
pip           20.3.4
pkg-resources 0.0.0
setuptools    44.1.1
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 install --upgrade pip
Requirement already satisfied: pip in ./mkdocs-env/lib/python3.9/site-packages (20.3.4)
Collecting pip
  Downloading pip-22.0.4-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 7.6 MB/s 
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.4
    Uninstalling pip-20.3.4:
      Successfully uninstalled pip-20.3.4
Successfully installed pip-22.0.4
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 list
Package       Version
------------- -------
pip           22.0.4
pkg_resources 0.0.0
setuptools    44.1.1
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 install --requirement requirements.txt
...
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 list
Package                           Version
--------------------------------- -----------------
click                             8.0.4
ghp-import                        2.0.2
gitdb                             4.0.9
GitPython                         3.1.27
importlib-metadata                4.11.3
Jinja2                            3.0.3
Markdown                          3.3.6
MarkupSafe                        2.1.1
mergedeep                         1.3.4
mkdocs                            1.2.3
mkdocs-branchcustomization-plugin 0.1.3
mkdocs-macros-plugin              0.6.4
mkdocs-material                   8.2.5
mkdocs-material-extensions        1.0.3
numpy                             1.22.3
packaging                         21.3
pandas                            1.4.1
pip                               22.0.4
pkg_resources                     0.0.0
Pygments                          2.11.2
pymdown-extensions                9.3
pyparsing                         3.0.7
python-dateutil                   2.8.2
pytz                              2022.1
PyYAML                            6.0
pyyaml_env_tag                    0.1
schemacode                        1.7.0+16.gba11771
setuptools                        44.1.1
six                               1.16.0
smmap                             5.0.0
tabulate                          0.8.9
termcolor                         1.1.0
watchdog                          2.1.6
zipp                              3.7.0
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ pip3 install tools/schemacode/
Processing ./tools/schemacode
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pandas in ./mkdocs-env/lib/python3.9/site-packages (from schemacode==1.7.0+16.gba11771) (1.4.1)
Requirement already satisfied: numpy in ./mkdocs-env/lib/python3.9/site-packages (from schemacode==1.7.0+16.gba11771) (1.22.3)
Requirement already satisfied: tabulate in ./mkdocs-env/lib/python3.9/site-packages (from schemacode==1.7.0+16.gba11771) (0.8.9)
Requirement already satisfied: pyyaml in ./mkdocs-env/lib/python3.9/site-packages (from schemacode==1.7.0+16.gba11771) (6.0)
Requirement already satisfied: python-dateutil>=2.8.1 in ./mkdocs-env/lib/python3.9/site-packages (from pandas->schemacode==1.7.0+16.gba11771) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in ./mkdocs-env/lib/python3.9/site-packages (from pandas->schemacode==1.7.0+16.gba11771) (2022.1)
Requirement already satisfied: six>=1.5 in ./mkdocs-env/lib/python3.9/site-packages (from python-dateutil>=2.8.1->pandas->schemacode==1.7.0+16.gba11771) (1.16.0)
Building wheels for collected packages: schemacode
  Building wheel for schemacode (pyproject.toml) ... done
  Created wheel for schemacode: filename=schemacode-1.7.0+16.gba11771-py3-none-any.whl size=67433 sha256=0e25582786de5b27a763a666bed8f43c3e04eece8b0d85e844158abf0d9d53a8
  Stored in directory: /tmp/pip-ephem-wheel-cache-z9f74c3w/wheels/13/5e/c7/4b88fda411d07fd6c408367e07fa82d7b36f35523acae3adc8
Successfully built schemacode
Installing collected packages: schemacode
  Attempting uninstall: schemacode
    Found existing installation: schemacode 1.7.0+16.gba11771
    Uninstalling schemacode-1.7.0+16.gba11771:
      Successfully uninstalled schemacode-1.7.0+16.gba11771
Successfully installed schemacode-1.7.0+16.gba11771
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ mkdocs build --clean --strict --verbose
DEBUG    -  Loading configuration file: /home/mpawlik/Remote/anc/bids-specification/mkdocs.yml
DEBUG    -  Loaded theme configuration for 'material' from '/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/material/mkdocs_theme.yml':
            {'language': 'en', 'direction': None, 'features': [], 'palette': {'primary': None, 'accent': None}, 'font': {'text': 'Roboto', 'code': 'Roboto Mono'}, 'icon':
            None, 'favicon': 'assets/images/favicon.png', 'include_search_page': False, 'search_index_only': True, 'static_templates': ['404.html']}
DEBUG    -  Config value: 'config_file_path' = '/home/mpawlik/Remote/anc/bids-specification/mkdocs.yml'
DEBUG    -  Config value: 'site_name' = 'Brain Imaging Data Structure v1.7.1-dev'
DEBUG    -  Config value: 'nav' = [{'The BIDS Specification': [{'Introduction': '01-introduction.md'}, {'Common principles': '02-common-principles.md'}, {'Modality
            agnostic files': '03-modality-agnostic-files.md'}, {'Modality specific files': [{'Magnetic Resonance Imaging':
            '04-modality-specific-files/01-magnetic-resonance-imaging-data.md'}, {'Magnetoencephalography': '04-modality-specific-files/02-magnetoencephalography.md'},
            {'Electroencephalography': '04-modality-specific-files/03-electroencephalography.md'}, {'Intracranial Electroencephalography':
            '04-modality-specific-files/04-intracranial-electroencephalography.md'}, {'Task events': '04-modality-specific-files/05-task-events.md'}, {'Physiological and
            other continuous recordings': '04-modality-specific-files/06-physiological-and-other-continuous-recordings.md'}, {'Behavioral experiments (with no neural
            recordings)': '04-modality-specific-files/07-behavioral-experiments.md'}, {'Genetic Descriptor': '04-modality-specific-files/08-genetic-descriptor.md'},
            {'Positron Emission Tomography': '04-modality-specific-files/09-positron-emission-tomography.md'}, {'Microscopy':
            '04-modality-specific-files/10-microscopy.md'}]}, {'Derivatives': [{'BIDS Derivatives': '05-derivatives/01-introduction.md'}, {'Common data types and
            metadata': '05-derivatives/02-common-data-types.md'}, {'Imaging data types': '05-derivatives/03-imaging.md'}]}, {'Longitudinal and multi-site studies':
            '06-longitudinal-and-multi-site-studies.md'}, {'BIDS Extension Proposals': '07-extensions.md'}, {'Appendix': [{'Contributors':
            '99-appendices/01-contributors.md'}, {'Licenses': '99-appendices/02-licenses.md'}, {'Hierarchical Event Descriptors': '99-appendices/03-hed.md'}, {'Entity
            table': '99-appendices/04-entity-table.md'}, {'Units': '99-appendices/05-units.md'}, {'MEG file formats': '99-appendices/06-meg-file-formats.md'}, {'MEG
            systems': '99-appendices/07-meg-systems.md'}, {'Coordinate systems': '99-appendices/08-coordinate-systems.md'}, {'Entities': '99-appendices/09-entities.md'},
            {'File collections': '99-appendices/10-file-collections.md'}, {'Quantitative MRI': '99-appendices/11-qmri.md'}, {'Arterial Spin Labeling':
            '99-appendices/12-arterial-spin-labeling.md'}, {'Cross modality correspondence': '99-appendices/13-cross-modality-correspondence.md'}, {'Glossary':
            '99-appendices/14-glossary.md'}]}, {'Changelog': 'CHANGES.md'}]}, {'The BIDS Starter Kit': [{'Website': 'https://bids-standard.github.io/bids-starter-kit'},
            {'Tutorials': 'https://bids-standard.github.io/bids-starter-kit/tutorials/tutorials.html'}, {'GitHub repository':
            'https://github.com/bids-standard/bids-starter-kit'}]}]
DEBUG    -  Config value: 'pages' = None
DEBUG    -  Config value: 'site_url' = 'https://bids-specification.readthedocs.io/en/stable/'
DEBUG    -  Config value: 'site_description' = None
DEBUG    -  Config value: 'site_author' = None
DEBUG    -  Config value: 'theme' = Theme(name='material', dirs=['/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/material',
            '/home/mpawlik/Remote/anc/bids-specification/mkdocs-env/lib/python3.9/site-packages/mkdocs/templates'], static_templates=['404.html', 'sitemap.xml'],
            locale=Locale(language='en', territory=''), language='en', direction=None, features=['navigation.sections'], palette={'primary': None, 'accent': None},
            font={'text': 'Roboto', 'code': 'Roboto Mono'}, icon=None, favicon='images/favicon.png', include_search_page=False, search_index_only=True,
            logo='images/logo.png')
DEBUG    -  Config value: 'docs_dir' = '/home/mpawlik/Remote/anc/bids-specification/src'
DEBUG    -  Config value: 'site_dir' = '/home/mpawlik/Remote/anc/bids-specification/site'
DEBUG    -  Config value: 'copyright' = 'Copyright &copy; 2018-2022, BIDS Contributors - <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>'
DEBUG    -  Config value: 'google_analytics' = None
DEBUG    -  Config value: 'dev_addr' = Address(host='127.0.0.1', port=8000)
DEBUG    -  Config value: 'use_directory_urls' = False
DEBUG    -  Config value: 'repo_url' = ''
DEBUG    -  Config value: 'repo_name' = ''
DEBUG    -  Config value: 'edit_uri' = ''
DEBUG    -  Config value: 'extra_css' = []
DEBUG    -  Config value: 'extra_javascript' = ['js/jquery-3.6.0.min.js']
DEBUG    -  Config value: 'extra_templates' = []
DEBUG    -  Config value: 'markdown_extensions' = ['toc', 'tables', 'fenced_code', 'pymdownx.superfences']
DEBUG    -  Config value: 'mdx_configs' = {'toc': {'anchorlink': True}}
DEBUG    -  Config value: 'strict' = True
DEBUG    -  Config value: 'remote_branch' = 'gh-pages'
DEBUG    -  Config value: 'remote_name' = 'origin'
DEBUG    -  Config value: 'extra' = {'generator': False, 'social': [{'icon': 'fontawesome/brands/twitter', 'link': 'https://twitter.com/BIDSstandard/'}, {'icon':
            'fontawesome/brands/github', 'link': 'https://github.com/bids-standard/bids-specification/'}, {'icon': 'fontawesome/brands/google', 'link':
            'https://groups.google.com/g/bids-discussion'}]}
DEBUG    -  Config value: 'plugins' = PluginCollection([('search', <material.plugins.search.plugin.SearchPlugin object at 0x7fb93601e9a0>), ('branchcustomization',
            <mkdocs_branchcustomization_plugin.plugin.BranchPlugin object at 0x7fb935fb3100>), ('macros', <mkdocs_macros.plugin.MacrosPlugin object at 0x7fb935fded30>)])
DEBUG    -  Detected HEAD name: master
INFO     -  [macros] - Macros arguments: {'module_name': 'tools/mkdocs_macros_bids/main', 'modules': [], 'include_dir': '', 'include_yaml': [],
            'j2_block_start_string': '', 'j2_block_end_string': '', 'j2_variable_start_string': '', 'j2_variable_end_string': '', 'on_undefined': 'keep', 'verbose': False}
DEBUG    -  [macros] - Project dir '/home/mpawlik/Remote/anc/bids-specification'
INFO     -  [macros] - Found local Python module 'tools/mkdocs_macros_bids/main' in: /home/mpawlik/Remote/anc/bids-specification
INFO     -  [macros] - Found external Python module 'tools/mkdocs_macros_bids/main' in: /home/mpawlik/Remote/anc/bids-specification
DEBUG    -  [macros] - Variables: ['extra', 'config', 'environment', 'plugin', 'git', 'generator', 'social']
INFO     -  [macros] - Extra variables (config file): ['generator', 'social']
DEBUG    -  [macros] - Content of extra variables (config file): {'generator': False, 'social': [{'icon': 'fontawesome/brands/twitter', 'link':
            'https://twitter.com/BIDSstandard/'}, {'icon': 'fontawesome/brands/github', 'link': 'https://github.com/bids-standard/bids-specification/'}, {'icon':
            'fontawesome/brands/google', 'link': 'https://groups.google.com/g/bids-discussion'}]}
INFO     -  [macros] - Extra filters (module): ['pretty']
DEBUG    -  [macros] - Docs directory: /home/mpawlik/Remote/anc/bids-specification/src
DEBUG    -  [macros] - Includes directory: /home/mpawlik/Remote/anc/bids-specification/src
DEBUG    -  [macros] - Undefined behavior: <class 'jinja2.runtime.DebugUndefined'>
INFO     -  Cleaning site directory
INFO     -  Building documentation to directory: /home/mpawlik/Remote/anc/bids-specification/site
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - index.md
              - pregh-changes.md
              - schema/README.md
DEBUG    -  An external link to 'https://bids-standard.github.io/bids-starter-kit' is included in the 'nav' configuration.
DEBUG    -  An external link to 'https://bids-standard.github.io/bids-starter-kit/tutorials/tutorials.html' is included in the 'nav' configuration.
DEBUG    -  An external link to 'https://github.com/bids-standard/bids-starter-kit' is included in the 'nav' configuration.
DEBUG    -  Reading markdown pages.
DEBUG    -  Reading: index.md
DEBUG    -  Reading: 01-introduction.md
DEBUG    -  Reading: 02-common-principles.md
DEBUG    -  Reading: 03-modality-agnostic-files.md
DEBUG    -  Reading: 06-longitudinal-and-multi-site-studies.md
DEBUG    -  Reading: 07-extensions.md
DEBUG    -  Reading: CHANGES.md
DEBUG    -  Reading: pregh-changes.md
DEBUG    -  Reading: 04-modality-specific-files/01-magnetic-resonance-imaging-data.md
DEBUG    -  Reading: 04-modality-specific-files/02-magnetoencephalography.md
DEBUG    -  Reading: 04-modality-specific-files/03-electroencephalography.md
DEBUG    -  Reading: 04-modality-specific-files/04-intracranial-electroencephalography.md
DEBUG    -  Reading: 04-modality-specific-files/05-task-events.md
DEBUG    -  Reading: 04-modality-specific-files/06-physiological-and-other-continuous-recordings.md
DEBUG    -  Reading: 04-modality-specific-files/07-behavioral-experiments.md
DEBUG    -  Reading: 04-modality-specific-files/08-genetic-descriptor.md
DEBUG    -  Reading: 04-modality-specific-files/09-positron-emission-tomography.md
DEBUG    -  Reading: 04-modality-specific-files/10-microscopy.md
DEBUG    -  Reading: 05-derivatives/01-introduction.md
DEBUG    -  Reading: 05-derivatives/02-common-data-types.md
DEBUG    -  Reading: 05-derivatives/03-imaging.md
DEBUG    -  Reading: 99-appendices/01-contributors.md
DEBUG    -  Reading: 99-appendices/02-licenses.md
DEBUG    -  Reading: 99-appendices/03-hed.md
DEBUG    -  Reading: 99-appendices/04-entity-table.md
DEBUG    -  Reading: 99-appendices/05-units.md
DEBUG    -  Reading: 99-appendices/06-meg-file-formats.md
DEBUG    -  Reading: 99-appendices/07-meg-systems.md
DEBUG    -  Reading: 99-appendices/08-coordinate-systems.md
DEBUG    -  Reading: 99-appendices/09-entities.md
DEBUG    -  Reading: 99-appendices/10-file-collections.md
DEBUG    -  Reading: 99-appendices/11-qmri.md
DEBUG    -  Reading: 99-appendices/12-arterial-spin-labeling.md
DEBUG    -  Reading: 99-appendices/13-cross-modality-correspondence.md
DEBUG    -  Reading: 99-appendices/14-glossary.md
DEBUG    -  Reading: schema/README.md
DEBUG    -  Copying static assets.
DEBUG    -  Copying media file: '04-modality-specific-files/images/PET_scan_overview.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/PET_scan_overview.svg'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_flowchart.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_pasl_boluscutoff_false.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_pasl_boluscutoff_true_q2tips.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_pasl_boluscutoff_true_quipssII.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_pcasl_labeling_pulses.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/asl_pcasl_sequence.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/ieeg_electrodes1.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/ieeg_electrodes2.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/microscopy_chunks1.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/microscopy_chunks2.png'
DEBUG    -  Copying media file: '04-modality-specific-files/images/microscopy_sem_overview.jpg'
DEBUG    -  Copying media file: '04-modality-specific-files/images/sub-0001_ses-001_acq-NAS_photo.jpg'
DEBUG    -  Copying media file: 'css/watermark.css'
DEBUG    -  Copying media file: 'images/draft_watermark.png'
DEBUG    -  Copying media file: 'images/favicon.png'
DEBUG    -  Copying media file: 'images/logo.png'
DEBUG    -  Copying media file: 'js/jquery-3.6.0.min.js'
DEBUG    -  Copying media file: 'schema/objects/associated_data.yaml'
DEBUG    -  Copying media file: 'schema/objects/columns.yaml'
DEBUG    -  Copying media file: 'schema/objects/datatypes.yaml'
DEBUG    -  Copying media file: 'schema/objects/entities.yaml'
DEBUG    -  Copying media file: 'schema/objects/metadata.yaml'
DEBUG    -  Copying media file: 'schema/objects/modalities.yaml'
DEBUG    -  Copying media file: 'schema/objects/suffixes.yaml'
DEBUG    -  Copying media file: 'schema/objects/top_level_files.yaml'
DEBUG    -  Copying media file: 'schema/rules/associated_data.yaml'
DEBUG    -  Copying media file: 'schema/rules/entities.yaml'
DEBUG    -  Copying media file: 'schema/rules/modalities.yaml'
DEBUG    -  Copying media file: 'schema/rules/tabular_metadata.yaml'
DEBUG    -  Copying media file: 'schema/rules/top_level_files.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/anat.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/beh.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/dwi.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/eeg.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/fmap.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/func.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/ieeg.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/meg.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/micr.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/perf.yaml'
DEBUG    -  Copying media file: 'schema/rules/datatypes/pet.yaml'
DEBUG    -  Copying media file: 'assets/images/favicon.png'
DEBUG    -  Copying media file: 'assets/javascripts/bundle.467223ff.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/bundle.467223ff.min.js.map'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.ar.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.da.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.de.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.du.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.es.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.fi.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.fr.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.hi.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.hu.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.it.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.ja.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.jp.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.multi.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.nl.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.no.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.pt.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.ro.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.ru.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.stemmer.support.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.sv.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.th.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.tr.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.vi.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/min/lunr.zh.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/tinyseg.js'
DEBUG    -  Copying media file: 'assets/javascripts/lunr/wordcut.js'
DEBUG    -  Copying media file: 'assets/javascripts/workers/search.bd0b6b67.min.js'
DEBUG    -  Copying media file: 'assets/javascripts/workers/search.bd0b6b67.min.js.map'
DEBUG    -  Copying media file: 'assets/stylesheets/main.2d9f7617.min.css'
DEBUG    -  Copying media file: 'assets/stylesheets/main.2d9f7617.min.css.map'
DEBUG    -  Copying media file: 'assets/stylesheets/palette.e6a45f82.min.css'
DEBUG    -  Copying media file: 'assets/stylesheets/palette.e6a45f82.min.css.map'
DEBUG    -  Building theme template: 404.html
DEBUG    -  Building theme template: sitemap.xml
DEBUG    -  Gzipping template: sitemap.xml
DEBUG    -  Building markdown pages.
DEBUG    -  Building page index.md
DEBUG    -  Building page 01-introduction.md
DEBUG    -  Building page 02-common-principles.md
DEBUG    -  Building page 03-modality-agnostic-files.md
DEBUG    -  Building page 06-longitudinal-and-multi-site-studies.md
DEBUG    -  Building page 07-extensions.md
DEBUG    -  Building page CHANGES.md
DEBUG    -  Building page pregh-changes.md
DEBUG    -  Building page 04-modality-specific-files/01-magnetic-resonance-imaging-data.md
DEBUG    -  Building page 04-modality-specific-files/02-magnetoencephalography.md
DEBUG    -  Building page 04-modality-specific-files/03-electroencephalography.md
DEBUG    -  Building page 04-modality-specific-files/04-intracranial-electroencephalography.md
DEBUG    -  Building page 04-modality-specific-files/05-task-events.md
DEBUG    -  Building page 04-modality-specific-files/06-physiological-and-other-continuous-recordings.md
DEBUG    -  Building page 04-modality-specific-files/07-behavioral-experiments.md
DEBUG    -  Building page 04-modality-specific-files/08-genetic-descriptor.md
DEBUG    -  Building page 04-modality-specific-files/09-positron-emission-tomography.md
DEBUG    -  Building page 04-modality-specific-files/10-microscopy.md
DEBUG    -  Building page 05-derivatives/01-introduction.md
DEBUG    -  Building page 05-derivatives/02-common-data-types.md
DEBUG    -  Building page 05-derivatives/03-imaging.md
DEBUG    -  Building page 99-appendices/01-contributors.md
DEBUG    -  Building page 99-appendices/02-licenses.md
DEBUG    -  Building page 99-appendices/03-hed.md
DEBUG    -  Building page 99-appendices/04-entity-table.md
DEBUG    -  Building page 99-appendices/05-units.md
DEBUG    -  Building page 99-appendices/06-meg-file-formats.md
DEBUG    -  Building page 99-appendices/07-meg-systems.md
DEBUG    -  Building page 99-appendices/08-coordinate-systems.md
DEBUG    -  Building page 99-appendices/09-entities.md
DEBUG    -  Building page 99-appendices/10-file-collections.md
DEBUG    -  Building page 99-appendices/11-qmri.md
DEBUG    -  Building page 99-appendices/12-arterial-spin-labeling.md
DEBUG    -  Building page 99-appendices/13-cross-modality-correspondence.md
DEBUG    -  Building page 99-appendices/14-glossary.md
DEBUG    -  Building page schema/README.md
INFO     -  Documentation built in 63.00 seconds
(mkdocs-env) mpawlik@erdwolf:~/Remote/anc/bids-specification (master) $ mkdocs serve
INFO     -  Building documentation...
INFO     -  [macros] - Macros arguments: {'module_name': 'tools/mkdocs_macros_bids/main', 'modules': [], 'include_dir': '', 'include_yaml': [],
            'j2_block_start_string': '', 'j2_block_end_string': '', 'j2_variable_start_string': '', 'j2_variable_end_string': '', 'on_undefined': 'keep', 'verbose': False}
INFO     -  [macros] - Found local Python module 'tools/mkdocs_macros_bids/main' in: /home/mpawlik/Remote/anc/bids-specification
INFO     -  [macros] - Found external Python module 'tools/mkdocs_macros_bids/main' in: /home/mpawlik/Remote/anc/bids-specification
INFO     -  [macros] - Extra variables (config file): ['generator', 'social']
INFO     -  [macros] - Extra filters (module): ['pretty']
INFO     -  Cleaning site directory
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - index.md
              - pregh-changes.md
              - schema/README.md
INFO     -  Documentation built in 68.75 seconds
INFO     -  [09:41:30] Serving on http://127.0.0.1:8000/en/stable/

@Remi-Gau
Copy link
Collaborator

@mateuszpawlik
maybe have a quick look at #1032 to make sure that the updated install instructions make sense to you.

@Remi-Gau
Copy link
Collaborator

@mateuszpawlik maybe have a quick look at #1032 to make sure that the updated install instructions make sense to you.

If you have time. :-)

@mateuszpawlik
Copy link
Contributor Author

pip3 install tools/schemacode/ can be dropped because it is redundant - it's part of requirements.txt.

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

Successfully merging a pull request may close this issue.

3 participants