wavedrom / wavedrom.github.io

Digital timing diagram editor
https://wavedrom.com
MIT License
915 stars 158 forks source link

Command Line on OS X 10.6.4 #7

Closed uho closed 8 years ago

uho commented 9 years ago

Launching Wavedrom like

bash-3.2$ ./WaveDromEditor.app/Contents/MacOS/nwjs source wavedrom-test.json png wavedrom.png

results in the following error but no PNG output file:

[58469:0527/222559:ERROR:nw_shell.cc(335)] ReferenceError: pngdata is not defined at nodeWebkit (file:///Users/uho/WaveDromEditor.app/Contents/Resources/app.nw/init.js:57:27) at file:///Users/uho/WaveDromEditor.app/Contents/Resources/app.nw/init.js:74:5 at file:///Users/uho/WaveDromEditor.app/Contents/Resources/app.nw/init.js:104:3 [58469:0527/222559:INFO:CONSOLE(57)] "Uncaught ReferenceError: pngdata is not defined", source: file:///Users/uho/WaveDromEditor.app/Contents/Resources/app.nw/init.js (57) [58477:0527/222607:WARNING:channel.cc(553)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)

Any suggestions?

Regards, Ulrich

drom commented 9 years ago

could you try with v0.11.2?

drom commented 9 years ago

Please try v0.11.4

drom commented 9 years ago

duplicate of #6

pepijnve commented 8 years ago

@drom I'm still seeing this issue with version 1.2.0 running on OS X 10.11.2. No matter what I try the App.argv and App.fullargv are always empty Array objects in init.js. See https://github.com/asciidoctor/asciidoctor-diagram/issues/89 for context.

drom commented 8 years ago

@pepijnve it should work like:

./WaveDromEditor.app/Contents/MacOS/nwjs source <wavedrom-test.json> png <wavedrom.png>

frankly, I need to find machine to test it properly :(

pepijnve commented 8 years ago

Proved to be a non-issue. Apologies for the confusion.

Travis CI provides OS X environments these days that you could use for automated testing.