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 does not build #507

Open
6 tasks done
manufactory opened this issue Nov 12, 2024 · 1 comment
Open
6 tasks done

Documentation does not build #507

manufactory opened this issue Nov 12, 2024 · 1 comment

Comments

@manufactory
Copy link

Prework

Description

Describe the bug clearly and concisely.

Reproducible example

  • Post a minimal reproducible example (MRE) so the maintainer can troubleshoot the problems you identify. A reproducible example is:

    • Runnable: post enough code and data so any onlooker can create the error on their own computer.
    • Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
    • Readable: format your code according to the Style Guide for Python Code.
  • make docs-build fails.

  • This worked just fine with 0.13.0

    python -m build --wheel --skip-dependency-check --no-isolation

    python -m installer --destdir=tmp_install dist/*.whl
    PYTHONPATH="${PWD}/tmp_install//usr/lib/python3.12/site-packages" make docs-build

gives

ERROR: NotFound: No such file or directory (os error 2): readfile '/home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log'
Path: /home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log

Stack trace:
Path: /home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log
    at readTextFileSync (ext:deno_fs/30_fs.js:859:10)
    at Object.Deno.readTextFileSync (file:///opt/quarto/bin/quarto.js:5047:25)
    at initialCompileLatex (file:///opt/quarto/bin/quarto.js:77172:18)
    at eventLoopTick (ext:core/01_core.js:153:7)
    at async generatePdf (file:///opt/quarto/bin/quarto.js:77118:22)
    at async Object.complete (file:///opt/quarto/bin/quarto.js:77398:27)
    at async file:///opt/quarto/bin/quarto.js:70765:31
    at async withTimingAsync (file:///opt/quarto/bin/quarto.js:19479:25)
    at async Object.complete (file:///opt/quarto/bin/quarto.js:70763:13)
    at async Object.onPostProcess (file:///opt/quarto/bin/quarto.js:78273:36)
make: *** [Makefile:45: docs-build] Error 1

Expected result

Docs build

Development environment

  • Operating System: Arch Linux
  • great_tables Version: 0.14.0

Additional context

  • Deleting docs/a-latex_examples fixes the issue and the docs build as expected
@machow
Copy link
Collaborator

machow commented Dec 12, 2024

I wonder if this could be related to quarto needing a latex install, or something similar? We regenerate the docs every CI run, and it seems to work okay, so I'm a bit puzzled by what might be causing this error :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants