vcdrom icon indicating copy to clipboard operation
vcdrom copied to clipboard

Error when using local file

Open bjones1 opened this issue 11 months ago • 3 comments

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.

bjones1 avatar Jan 21 '25 21:01 bjones1

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

drom avatar Jan 23 '25 07:01 drom

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

bjones1 avatar Jan 23 '25 13:01 bjones1

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

bjones1 avatar Jan 23 '25 13:01 bjones1