plantuml
plantuml copied to clipboard
Batch size processing runs into error
Currently, we use this extension in combination with sphinx and sphinx-needs but we run into a huge build time. Therefore, we tried to use the batch size setting. In the beginning, it worked fine but at some point in time we ran into some issues with the plantuml execution:
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
rendering plantuml diagrams [0..500/1303]... done/AnchorMngt_Deployment/AnchorMngt_Deployment
rendering plantuml diagrams [500..1000/1303]... done
rendering plantuml diagrams [1000..1303/1303]... failed
Needs successfully exported
Sphinx error:
error while running plantuml
b'Error line 2 in file: cd\\cde3f91fbd313622222d96f7c276de8bea541fec.puml\r\nSome diagram description contains errors\r\n'
FAILED: docs/sphinx C:/sandboxes/pk_cds_4/_builds/docs/sphinx
cmd.exe /C "cd /D C:\sandboxes\pk_cds_4\_builds\docs && C:\sandboxes\pk_cds_4\_builds\venv\Scripts\sphinx-build.exe -W --keep-going -b html -c C:/sandboxes/pk_cds_4/docs C:/sandboxes/pk_cds_4/docs/.. C:/sandboxes/pk_cds_4/_builds/docs/sphinx/" oxes
ninja: build stopped: subcommand failed.
The file which mentions that it has errors in, is an empty .puml file, only has the tags "@startuml" and "@enduml" inside.
Environment used:
- Windows
- Python 3.8.1
- virtual environment
Installed packages:
alabaster==0.7.13
appdirs==1.4.4
attrs==22.2.0
Babel==2.11.0
breathe==4.34.0
certifi==2022.12.7
charset-normalizer==3.0.1
colorama==0.4.6
contourpy==1.0.7
cycler==0.11.0
docutils==0.17.1
esbonio==0.15.0
fonttools==4.38.0
idna==3.4
imagesize==1.4.1
importlib-metadata==6.0.0
Jinja2==3.0.3
jsonschema==3.2.0
kiwisolver==1.4.4
MarkupSafe==2.1.0
matplotlib==3.6.3
numpy==1.24.1
packaging==23.0
pandas==1.4.1
Pillow==9.4.0
pycurl==7.43.0.5
pydantic==1.10.4
pygls==0.13.1
Pygments==2.14.0
pyparsing==3.0.9
pyrsistent==0.19.3
pyspellchecker==0.7.1
python-dateutil==2.8.2
pytz==2022.7.1
requests==2.28.2
requests-file==1.5.1
six==1.16.0
snowballstemmer==2.2.0
sphinx==5.3.0
sphinx-data-viewer==0.1.2
sphinx-needs==1.1.0
sphinx-rtd-theme==1.1.1
sphinxcontrib-applehelp==1.0.3
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-drawio==0.0.14
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-plantuml==0.24.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
typeguard==2.13.3
typing-extensions==4.4.0
urllib3==1.26.14
zipp==3.11.0