bavovanachte / sphinx-wavedrom

A sphinx extension that allows including wavedrom diagrams by using its text-based representation
MIT License
32 stars 18 forks source link

No tag with id="pmx" found #17

Closed kravchenkoloznia closed 3 years ago

kravchenkoloznia commented 5 years ago

Building pdf document from rst file with wavedrom diagram give error with specific wave.

Error:

Exception occurred:
  File "/usr/local/lib/python3.5/dist-packages/cairosvg/parser.py", line 414, in __init__
    'No tag with id="{}" found.'.format(element_id))
TypeError: No tag with id="pmx" found.

Wave example:

{ "signal": [
        { "name": "nibble", "wave": "xpx" }
]}

Build script:

sphinx-build -b latex -E -D wavedrom_html_jsinline=0 source/

As I understood that exception occurred only when you put "x" after "p" in wave (any amount of "." maybe added between "x" and "p" -- exception still there)

wallento commented 5 years ago

Thanks for reporting, this is an issue with wavedrompy and I will fix it asap.

wallento commented 5 years ago

This is fixed in wavedrom 1.8.0-post4 (see: https://github.com/wallento/wavedrompy/commit/766dec3e7dec99ccd1a5eb345e271861b80cca17)

Can you please give it a try and confirm? Thanks again for your report!

bavovanachte commented 3 years ago

Closing here as the issue was fixed in wavedrompy