Open
Description
With the following action:
- name: Setup Voici
run: |
python -m pip install -r requirements_voici.txt
mkdir -p ./dist/voici
- name: Build the Voici site
shell: bash -l {0}
run: voici build --contents content/72_stage_surfaces-dashboard.ipynb --output-dir dist/voici
I get some sort of path error when trying to run the voici
build step? In previous steps I successfully build a JupyterLite site to ./dist
and a Jupyer Book site to ./dist/book
. Original repo action is here.
(Also, I wonder, is --contents content/*-dashboard.ipynb
legitimate?)
run voici build --contents content/72_stage_surfaces-dashboard.ipynb --output-dir dist/voici
voici build --contents content/7[2](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:2)_stage_surfaces-dashboard.ipynb --output-dir dist/voici
shell: /usr/bin/bash -l {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:3).12.8/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.8/x6[4](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:4)/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.8/x64/lib
[VoiciBuildApp] No archive (yet): wrangling_dakar_202[5](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:5)-jupyterlite.tgz
[VoiciBuildApp] jupyter-lite.(json|ipynb): 14 files
/opt/hostedtoolcache/Python/3.12.8/x[6](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:6)4/lib/python3.12/site-packages/jupyterlite_core/addons/base.py:294: UserWarning: install libarchive-c for better performance when working with archives: No module named 'libarchive'
return has_optional_dependency(
[VoiciBuildApp] WARNING | [static] app 'voici' is not one of: {'notebooks', 'consoles', 'edit', 'lab', 'repl', 'tree'}
static:jupyter-lite.json
. pre_status:static:jupyter-lite.json
tarball: jupyterlite-app-0.4.5.tgz 13MB
output: /home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici
lite dir: /home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025
apps: voici
sourcemaps: True
unused packages: True
archive:archive
contents:contents
icons:icons
lite:jupyter-lite.json
mimetypes:jupyter-lite.json
serve:contents
settings:overrides
translation:translation
. status:archive:archive
. status:contents:contents
contents: 1 files
. status:icons:icons
favicon files: 0 files
. status:lite:jupyter-lite.json
. status:mimetypes:jupyter-lite.json
filetypes: 26
. status:serve:contents
url: http://12[7](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:7).0.0.1:8000/
server: tornado
headers:
. status:settings:overrides
overrides.json: 0
. status:translation:translation
translation files: 0 files
static:output_dir
. pre_init:static:output_dir
static:unpack
. init:static:unpack
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/consoles
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/notebooks
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/tree
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/edit
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/repl
static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/lab
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/consoles
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/notebooks
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/tree
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/edit
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/repl
. post_init:static:prune:/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/lab
federated_extensions:copy:ext:jupyterlab_pygments
federated_extensions:copy:ext:anywidget
federated_extensions:copy:ext:@voila-dashboards/jupyterlab-preview
federated_extensions:copy:ext:@jupyterlite/xeus-extension
federated_extensions:copy:ext:@jupyter-notebook/lab-extension
federated_extensions:copy:ext:@jupyter-widgets/jupyterlab-manager
. pre_build:federated_extensions:copy:ext:jupyterlab_pygments
. pre_build:federated_extensions:copy:ext:anywidget
. pre_build:federated_extensions:copy:ext:@voila-dashboards/jupyterlab-preview
. pre_build:federated_extensions:copy:ext:@jupyterlite/xeus-extension
. pre_build:federated_extensions:copy:ext:@jupyter-notebook/lab-extension
. pre_build:federated_extensions:copy:ext:@jupyter-widgets/jupyterlab-manager
contents:copy:72_stage_surfaces-dashboard.ipynb
icons:copy
lite:patch:dist/jupyter-lite.json
lite:patch:dist/consoles/jupyter-lite.json
lite:patch:dist/tree/jupyter-lite.json
lite:patch:dist/lab/jupyter-lite.json
lite:patch:dist/repl/jupyter-lite.json
lite:patch:dist/notebooks/jupyter-lite.json
lite:patch:dist/edit/jupyter-lite.json
lite:patch:dist/jupyter-lite.ipynb
lite:patch:dist/consoles/jupyter-lite.ipynb
lite:patch:dist/tree/jupyter-lite.ipynb
lite:patch:dist/lab/jupyter-lite.ipynb
lite:patch:dist/repl/jupyter-lite.ipynb
lite:patch:dist/notebooks/jupyter-lite.ipynb
lite:patch:dist/edit/jupyter-lite.ipynb
translation:copy
. build:contents:copy:72_stage_surfaces-dashboard.ipynb
. build:icons:copy
. build:lite:patch:dist/jupyter-lite.json
TaskError - taskid:build:lite:patch:dist/jupyter-lite.json
PythonAction Error
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.[8](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:8)/x64/lib/python3.12/site-packages/doit/action.py", line 461, in execute
returned_value = self.py_callable(*self.args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/jupyterlite_core/addons/base.py", line 234, in merge_one_jupyterlite
out_path.write_text(json.dumps(config, **JSON_FMT), **UTF8)
File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/pathlib.py", line [10](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:10)47, in write_text
with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.[12](https://github.com/RallyDataJunkie/wrangling_dakar_2025/actions/runs/12791175764/job/35658684874#step:8:13).8/x64/lib/python3.12/pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/wrangling_dakar_2025/wrangling_dakar_2025/dist/voici/dist/jupyter-lite.json'
Activity