I tried building a new section today and got an error when I tried to generate <sageplot>.
The error is there even when I try to build previous stuff that used to be ok.
Here is the output from the terminal.
PreTeXt project found in `/home/user/ALIR`.
Since no target was specified with the -t flag, we will generate assets for the first target in the manifest (web).
Generating all assets in default formats for the target "web".
Note: No webwork elements found.
Note: No latex-image elements found.
Note: No asymptote elements found.
Now generating sageplot images
converting Sage diagrams from /home/user/ALIR/source/main.ptx to HTML graphics for placement in /home/user/ALIR/generated-assets/sageplot
extracting Sage diagrams from /home/user/ALIR/source/main.ptx
XSL conversion of /home/user/ALIR/source/main.ptx by /home/user/.ptx/xsl/extract-sageplot.xsl
comprehensive messages, warnings, and errors:
successful application of /home/user/.ptx/xsl/extract-sageplot.xsl
error: name 'ow' is not defined
##################
error: Failed to generate some sageplot elements. Check your source and partial output to diagnose the issue.
warning: Continuing...
Now generating preview images for interactives
using playwright package to create previews for interactives from /home/user/ALIR/source/main.ptx for placement in /home/user/ALIR/generated-assets/preview
XSL conversion of /home/user/ALIR/source/main.ptx by /home/user/.ptx/xsl/extract-interactive.xsl
comprehensive messages, warnings, and errors:
successful application of /home/user/.ptx/xsl/extract-interactive.xsl
discovering source file's directory name: /home/user/ALIR/source
verifying and expanding input directory: /home/user/ALIR/source/../generated-assets
input directory expanded to absolute path: /home/user/ALIR/generated-assets
verifying and expanding input directory: /home/user/ALIR/source/../assets
input directory expanded to absolute path: /home/user/ALIR/assets
Opening subprocess http.server with port=8888
automatic screenshot of interactive with identifier "geog-simplexe1" on page
http://localhost:8888/geog-simplexe1.html to file geog-simplexe1-preview.png
Closing http.server subprocess
Note: No video@youtube elements found.
Note: No program elements using codelens found.
Note: No elements needing datafile conversion found
Now generating QR codes for videos and/or interactives
manufacturing QR codes from /home/user/ALIR/source/main.ptx for placement in /home/user/ALIR/generated-assets/qrcode
XSL conversion of /home/user/ALIR/source/main.ptx by /home/user/.ptx/xsl/extract-qrcode.xsl
comprehensive messages, warnings, and errors:
successful application of /home/user/.ptx/xsl/extract-qrcode.xsl
creating URL with content "
https://alir-jsturcotte.profweb.ca/geog-simplexe1.html" as /home/user/ALIR/generated-assets/qrcode/geog-simplexe1.png...
QR code creation complete
----------------------------------------------------
While running pretext, the following errors occured:
error: name 'ow' is not defined
error: Failed to generate some sageplot elements. Check your source and partial output to diagnose the issue.
----------------------------------------------------