You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to do the work on #39 I tried to use the default inkscape-based compilation of the videos.
Unfortunately the subprocess call in renderlib.py sets cwd to task.workdir:
This leads to inkscape not being able to open the generated SVG files, because the path is concatenated to something like /absolute/path/to/<project_dir>/artwork/<project_dir>/artwork/.frames/.
Moreover, this does not lead to make.py (or rather renderlib.py) exiting with a non-zero exit code. The script tries to render all frames, but ultimately fails to finish any of them and is therefore also unable to render the video (the process should exit early).
For me it worked to just remove the cwd setting.
The text was updated successfully, but these errors were encountered:
mstock
added a commit
to mstock/intro-outro-generator
that referenced
this issue
Jul 16, 2021
Since the command is run in `task.workdir` instead of the original working
directory, the potentially relative paths passed by the caller(s) may not
point to actual files when running inkscape, which results in failed
renderings.
This seems to have mainly affected running under `--debug`, but should fixvoc#40 (which doesn't say the issue was seen under `--debug` though).
While trying to do the work on #39 I tried to use the default inkscape-based compilation of the videos.
Unfortunately the subprocess call in renderlib.py sets cwd to
task.workdir
:intro-outro-generator/renderlib.py
Line 97 in 789c9f5
This leads to inkscape not being able to open the generated SVG files, because the path is concatenated to something like
/absolute/path/to/<project_dir>/artwork/<project_dir>/artwork/.frames/
.Moreover, this does not lead to make.py (or rather renderlib.py) exiting with a non-zero exit code. The script tries to render all frames, but ultimately fails to finish any of them and is therefore also unable to render the video (the process should exit early).
For me it worked to just remove the
cwd
setting.The text was updated successfully, but these errors were encountered: