PoseOSC icon indicating copy to clipboard operation
PoseOSC copied to clipboard

White window when running on Windows 10

Open AndreasRef opened this issue 4 years ago • 6 comments

First of all, thanks for creating and sharing this tool :-)

I got the binary running on my Mac just fine, but when I try to run it on Windows via npm start it just opens a white program window without anything inside it.

If I open the console I get this error:

Uncaught Error: The specified module could not be found.
\\?\C:\Users\Andre\Downloads\PoseOSC-master\node_modules\@tensorflow\tfjs-node\lib\napi-v4\tfjs_binding.node
    at process.func (electron/js2c/asar.js:140)
    at process.func [as dlopen] (electron/js2c/asar.js:140)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922)
    at Object.func (electron/js2c/asar.js:140)
    at Object.func [as .node] (electron/js2c/asar.js:140)
    at Module.load (internal/modules/cjs/loader.js:735)
    at Module._load (internal/modules/cjs/loader.js:648)
    at Module._load (electron/js2c/asar.js:717)
    at Function.Module._load (electron/js2c/asar.js:717)
    at Module.require (internal/modules/cjs/loader.js:775)

Any idea what might be causing this?

AndreasRef avatar Sep 01 '20 15:09 AndreasRef

Hi @AndreasRef ,

Thank you for reporting this issue! Looks like the problem is with node and tensorflow versions. Unfortunately I don't have access to a windows 10 computer at the moment. However, this issue raised in tfjs repo seems to be very similar to yours:

https://github.com/tensorflow/tfjs/issues/2341

They seem to have solved it by upgrading node and/or tfjs, maybe give that a try?

Thanks!

LingDong- avatar Sep 01 '20 19:09 LingDong-

Finally I have been able to have it working thanks to this solution (manually adding the .dll file).

https://github.com/tensorflow/tfjs/issues/2003#issuecomment-695795797

kine90 avatar Oct 30 '20 12:10 kine90

I was having this blank window problem and was also able to fix it with the above fix. I build a binary out of it with electron-packager. If you like I can send it to put it next to the Mac binaries ?

ichingxs4all avatar Nov 25 '20 21:11 ichingxs4all

@ichingxs4all Sure! If you send me the file I'll be more than happy to upload it to the releases. Thanks a lot!

LingDong- avatar Nov 25 '20 23:11 LingDong-

I uploaded it to Google Drive. https://drive.google.com/file/d/1LnORtfcH92BFE6AVqd4N2bOqmZ4yyxBf/view?usp=sharing Please give it a try :-)

ichingxs4all avatar Nov 29 '20 19:11 ichingxs4all

Hi @ichingxs4all , sorry for the delay, I've been busy lately. I just added a new release with your binary: https://github.com/LingDong-/PoseOSC/releases/tag/0.0.3 Thank you very much!

LingDong- avatar Dec 14 '20 08:12 LingDong-