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

Misleadingly Reports Need for WaveDromEditor #453

Closed
acook opened this issue Jan 22, 2024 · 1 comment
Closed

Misleadingly Reports Need for WaveDromEditor #453

acook opened this issue Jan 22, 2024 · 1 comment

Comments

@acook
Copy link

acook commented Jan 22, 2024

Because of the series of fallbacks culminate in a a check for WaveDromEditor:

wavedrom = source.find_command('WaveDromEditor')

This is the error message that you see:

Failed to generate image: Could not find the 'WaveDromEditor' executable in PATH; add it to the 
PATH or specify its location using the 'WaveDromEditor' document attribute

But the easiest solution to the problem is to just install the commandline tools instead:

sudo npm install -g wavedrom-cli

I would suggest that the error message be updated or at least the documentation would reflect what is happening.

Related

Context

I encountered this while building the official RISC-V documentation which uses asciidoctor-diagram with WaveDrom.

@pepijnve
Copy link
Member

I thought I had fixed this in 2.2.15; actually fixed in 2.2.16.

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

2 participants