I'm having trouble debugging an error I'm getting using GitHub Actions to generate HTML output with TikZ generated <latex-images>. I'm using the PreTeXt-CLI on an Ubuntu 20.04 virtual machine.
And here's the error log:
```
Now generating latex-images
PTX: converting latex-image pictures from /home/runner/work/linear-algebra/linear-algebra/ptx/index.ptx to svg graphics for placement in /home/runner/work/linear-algebra/linear-algebra/generated-assets/latex-image
PTX: extracting latex-image pictures from /home/runner/work/linear-algebra/linear-algebra/ptx/index.ptx
PTX: string parameters passed to extraction stylesheet: {'publisher': '/home/runner/work/linear-algebra/linear-algebra/publication/publication.ptx'}
PTX: discovering source file's directory name: /home/runner/work/linear-algebra/linear-algebra/ptx
PTX: verifying and expanding input directory: /home/runner/work/linear-algebra/linear-algebra/ptx/../generated-assets
PTX: input directory expanded to absolute path: /home/runner/work/linear-algebra/linear-algebra/generated-assets
PTX: verifying and expanding input directory: /home/runner/work/linear-algebra/linear-algebra/ptx/../assets
PTX: input directory expanded to absolute path: /home/runner/work/linear-algebra/linear-algebra/assets
PTX: XSL conversion of /home/runner/work/linear-algebra/linear-algebra/ptx/index.ptx by /home/runner/.local/lib/python3.8/site-packages/pretext/static/xsl/extract-latex-image.xsl
PTX: converting im_matrix_mult.tex to im_matrix_mult.pdf
PTX: cropping im_matrix_mult.pdf to cropped-im_matrix_mult.pdf
PTX:ERROR: There was a problem cropping im_matrix_mult.pdf and cropped-im_matrix_mult.pdf was not created
Traceback (most recent call last):
File "/usr/lib/python3.8/shutil.py", line 791, in move
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: 'cropped-im_matrix_mult.pdf' -> 'im_matrix_mult.pdf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/.local/bin/pretext", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/runner/.local/lib/python3.8/site-packages/pretext/cli.py", line 197, in build
project.build(target_name,webwork,diagrams,diagrams_format,only_assets,clean)
File "/home/runner/.local/lib/python3.8/site-packages/pretext/project.py", line 258, in build
builder.diagrams(target.source(), target.publication(), target.generated_dir(), target.stringparams(), target.format(), diagrams_format)
File "/home/runner/.local/lib/python3.8/site-packages/pretext/build.py", line 54, in diagrams
core.latex_image_conversion(
File "/home/runner/.local/lib/python3.8/site-packages/pretext/static/pretext/pretext.py", line 338, in latex_image_conversion
shutil.move("cropped-"+latex_image_pdf, latex_image_pdf)
File "/usr/lib/python3.8/shutil.py", line 811, in move
copy_function(src, real_dst)
File "/usr/lib/python3.8/shutil.py", line 435, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.8/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'cropped-im_matrix_mult.pdf'
Error: Process completed with exit code 1.
```