I manually installed kroki 0.26.0.
When I try to render blockdiag with version 3.3.0 i get errors indicating it can't find some of the modules
$ ./blockdiag-bundle-linux-amd64_v3.3.0.bin --version
blockdiag-bundle-linux-amd64_v3.3.0.bin 3.3.0
I tested with a variety of blockdiag examples and some nwdiag files.
~$ cat example.blockdiag
blockdiag {
// Set node metrix
node_width = 200;
node_height = 100;
A -> B;
}
$ /usr/local/bin/blockdiag-bundle-linux-amd64.bin example.blockdiag --debug
WARNING: Failed to load imagedraw_pdf: ModuleNotFoundError("No module named 'blockdiag.imagedraw.pdf'")
WARNING: Failed to load imagedraw_png: ModuleNotFoundError("No module named 'blockdiag.imagedraw.png'")
WARNING: Failed to load imagedraw_svg: ModuleNotFoundError("No module named 'blockdiag.imagedraw.svg'")
ERROR: unknown format: PNG
It also fails when i run it with kroki
# on server
$ java -DKROKI_BLOCKDIAG_BIN_PATH=/usr/local/bin/blockdiag-bundle-linux-amd64.bin -jar kroki-standalone-server-v0.26.0.jar
# on client
$ curl http://wiki:8000/blockdiag/svg --data-raw "$(<example.blockdiag)"
# returns nothing
I downloaded version 3.1.0 and it worked correctly using both the binary file and running it through kroki.
Working version
$ ./blockdiag-bundle-linux-amd64.bin --version
blockdiag-bundle-linux-amd64.bin 3.1.0
I manually installed kroki 0.26.0.
When I try to render blockdiag with version 3.3.0 i get errors indicating it can't find some of the modules
I tested with a variety of blockdiag examples and some nwdiag files.
It also fails when i run it with kroki
# on server $ java -DKROKI_BLOCKDIAG_BIN_PATH=/usr/local/bin/blockdiag-bundle-linux-amd64.bin -jar kroki-standalone-server-v0.26.0.jarI downloaded version 3.1.0 and it worked correctly using both the binary file and running it through kroki.
Working version