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

Error when using local file #48

Open
bjones1 opened this issue Jan 21, 2025 · 3 comments
Open

Error when using local file #48

bjones1 opened this issue Jan 21, 2025 · 3 comments

Comments

@bjones1
Copy link

bjones1 commented Jan 21, 2025

Calling VCDrom('waveform1', 'name_of_vcd_file_on_server.vcd') fails without a bit of hand editing: the code in getReaders doesn't define ext. Adding ext: getExt(vcdPath), should fix the bug.

@drom
Copy link
Member

drom commented Jan 23, 2025

Are you running it on HTTP server? Or just on local machine?

@bjones1
Copy link
Author

bjones1 commented Jan 23, 2025

A local HTTP server (Node's npx http-server).

@bjones1
Copy link
Author

bjones1 commented Jan 23, 2025

Manually adding the missing attribute in the Javascript console causes the code to work.

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