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
Describe the bug
I was hoping for slightly improved syntax highlighting on a groovy file by specifying the language java. freeze exited with message ERROR Unable to convert SVG to PNG (exit code 1) when generating a PNG.
My experience is that one out of every 200 groovy files behaves this way.
user@shell$ freeze abapEnvironmentPushATCSystemConfig.groovy -l java -o /tmp/butts.png
thread '<unnamed>' panicked at 'capacity overflow', library/alloc/src/raw_vec.rs:524:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ERROR Unable to convert SVG to PNG
wasm error: unreachable
wasm stack trace:
.$831()
.$327(i32,i32,i32,i32,i32)
.$839(i32)
.$838(i32)
.$168(i32)
.$131(i32,i32)
.$65()
.$47(i32,i32,i32)
.$909(i32,i32,i32)
.$98(i32,i32)
.$97(i32,i32)
.$1626(i32,i32)
Describe the bug
I was hoping for slightly improved syntax highlighting on a
groovy
file by specifying the languagejava
.freeze
exited with messageERROR Unable to convert SVG to PNG
(exit code1
) when generating a PNG.My experience is that one out of every 200 groovy files behaves this way.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/SAP/jenkins-library.git
cd jenkins-library/vars
freeze abapEnvironmentPushATCSystemConfig.groovy -l java -o /tmp/x.png
Expected behavior
An SVG can be created without issue and visually looks correct, so
freeze
should be able to generate apng
without error.Screenshots
n/a
Desktop (please complete the following information):
--version
flag was apparent forfreeze
)Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: