Closed a2k42 closed 1 year ago
For the moment I've added a ~/tmp
folder and then exported it in my .bashrc
export TMPDIR="$HOME/tmp"
Apologies for the late reply, see #207 for some of the reasons for this delay.
The diagram generator is now maintained at https://github.com/pandoc-ext/diagram. Please feel free to re-raise the issue there.
After much debugging I discovered that the below error was being caused by Inkscape being unable to read files in the
/tmp
directory when installed as a snap. I checked with Firefox and had the same trouble. Unfortunately with Ubuntu 22.04, snap installations are the default.As far as resolving the issue from the diagram-generator.lua perspective, perhaps a helpful error message might be more useful than trying to solve an OS problem?
I am going to try and find some suitable workarounds for the moment, suggestions welcome.
Related: Firefox Quantum installed but doesn't see internal or external storage drives
Reproduction
Install Inkscape as a Snap and process the
diagram-generator/sample.md
withmake test