Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needuml: Handler <function rstjinja at 0x7f06741e2200> for event 'source-read' threw an exception (exception: 'uml' is undefined) #1170

Open
k-radlak opened this issue Apr 30, 2024 · 0 comments

Comments

@k-radlak
Copy link

k-radlak commented Apr 30, 2024

I am trying to build sphinx need demo with a code snippet that contain {{uml()}} Jinja statement

 .. needuml::
 
    {{uml('FEATURE_NEEDUML1')}}
    {{uml('COMP_NEEDUML2')}}
 
.. feature:: NeedUml example need
    :id: FEATURE_NEEDUML1
    :tags: needuml
    :status: draft

          Example Need for NeedUml.
 
.. comp:: NeedUml example need 2
    :id: COMP_NEEDUML2
    :tags: needuml
    :status: draft
 
    Second example Need for NeedUml.
 
    .. needuml::
 
       {{flow('COMP_NEEDUML2')}} {
       card implement
       card {{needs['COMP_NEEDUML2'].status}}
       }
 

and I am receiving the following error:

Extension error: Handler <function rstjinja at 0x7f0d4cade200> for event 'source-read' threw an exception (exception: 'uml' is undefined) make: *** [Makefile:20: html] Error 2

I am using conda enviroment with python 3.11

Name Version Build Channel

_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
alabaster 0.7.16 pypi_0 pypi
annotated-types 0.6.0 pypi_0 pypi
anyio 4.3.0 pypi_0 pypi
appdirs 1.4.4 pypi_0 pypi
attrs 23.2.0 pypi_0 pypi
babel 2.14.0 pypi_0 pypi
beautifulsoup4 4.12.3 pypi_0 pypi
brotli 1.1.0 pypi_0 pypi
bzip2 1.0.8 h5eee18b_5
ca-certificates 2024.3.11 h06a4308_0
certifi 2024.2.2 pypi_0 pypi
cffi 1.16.0 pypi_0 pypi
charset-normalizer 3.3.2 pypi_0 pypi
click 8.1.7 pypi_0 pypi
colorama 0.4.6 pypi_0 pypi
contourpy 1.2.1 pypi_0 pypi
cssselect2 0.7.0 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
docutils 0.21.2 pypi_0 pypi
fonttools 4.51.0 pypi_0 pypi
h11 0.14.0 pypi_0 pypi
html5lib 1.1 pypi_0 pypi
idna 3.7 pypi_0 pypi
imagesize 1.4.1 pypi_0 pypi
jinja2 3.1.3 pypi_0 pypi
jsonschema 4.21.1 pypi_0 pypi
jsonschema-specifications 2023.12.1 pypi_0 pypi
kiwisolver 1.4.5 pypi_0 pypi
ld_impl_linux-64 2.38 h1181459_1
libffi 3.4.4 h6a678d5_0
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libsass 0.23.0 pypi_0 pypi
libstdcxx-ng 11.2.0 h1234567_1
libuuid 1.41.5 h5eee18b_0
lxml 5.2.1 pypi_0 pypi
markupsafe 2.1.5 pypi_0 pypi
matplotlib 3.8.4 pypi_0 pypi
ncurses 6.4 h6a678d5_0
numpy 1.26.4 pypi_0 pypi
openssl 1.1.1w h7f8727e_0
packaging 24.0 pypi_0 pypi
pillow 10.3.0 pypi_0 pypi
pip 23.3.1 py311h06a4308_0
pycparser 2.22 pypi_0 pypi
pydantic 2.7.1 pypi_0 pypi
pydantic-core 2.18.2 pypi_0 pypi
pydantic-extra-types 2.7.0 pypi_0 pypi
pydyf 0.10.0 pypi_0 pypi
pygments 2.17.2 pypi_0 pypi
pyparsing 3.1.2 pypi_0 pypi
pyphen 0.15.0 pypi_0 pypi
python 3.11.0 h7a1cb2a_3
python-dateutil 2.9.0.post0 pypi_0 pypi
readline 8.2 h5eee18b_0
referencing 0.35.0 pypi_0 pypi
requests 2.31.0 pypi_0 pypi
requests-file 1.5.1 pypi_0 pypi
rpds-py 0.18.0 pypi_0 pypi
setuptools 68.2.2 py311h06a4308_0
six 1.16.0 pypi_0 pypi
sniffio 1.3.1 pypi_0 pypi
snowballstemmer 2.2.0 pypi_0 pypi
soupsieve 2.5 pypi_0 pypi
sphinx 7.3.7 pypi_0 pypi
sphinx-autobuild 2024.4.16 pypi_0 pypi
sphinx-data-viewer 0.1.4 pypi_0 pypi
sphinx-design 0.5.0 pypi_0 pypi
sphinx-immaterial 0.11.11 pypi_0 pypi
sphinx-needs 2.0.0 pypi_0 pypi
sphinx-preview 0.1.2 pypi_0 pypi
sphinx-simplepdf 1.6.0 pypi_0 pypi
sphinx-test-reports 1.0.2 pypi_0 pypi
sphinxcontrib-applehelp 1.0.8 pypi_0 pypi
sphinxcontrib-devhelp 1.0.6 pypi_0 pypi
sphinxcontrib-htmlhelp 2.0.5 pypi_0 pypi
sphinxcontrib-jquery 4.1 pypi_0 pypi
sphinxcontrib-jsmath 1.0.1 pypi_0 pypi
sphinxcontrib-plantuml 0.29 pypi_0 pypi
sphinxcontrib-qthelp 1.0.7 pypi_0 pypi
sphinxcontrib-serializinghtml 1.1.10 pypi_0 pypi
sqlite 3.41.2 h5eee18b_0
starlette 0.37.2 pypi_0 pypi
tinycss2 1.3.0 pypi_0 pypi
tk 8.6.12 h1ccaba5_0
typing-extensions 4.11.0 pypi_0 pypi
tzdata 2024a h04d1e81_0
urllib3 2.2.1 pypi_0 pypi
uvicorn 0.29.0 pypi_0 pypi
watchfiles 0.21.0 pypi_0 pypi
weasyprint 60.2 pypi_0 pypi
webencodings 0.5.1 pypi_0 pypi
websockets 12.0 pypi_0 pypi
wheel 0.41.2 py311h06a4308_0
xz 5.4.6 h5eee18b_0
zlib 1.2.13 h5eee18b_0
zopfli 0.2.3 pypi_0 pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant