Zarkonnen / se-interpreter

Interpreter for Selenium Builder JSON scripts based on node.js and wd.
34 stars 31 forks source link

Not able to execute test json #28

Closed saggiyogesh closed 9 years ago

saggiyogesh commented 10 years ago

I am getting following error, while executing the se-interpretercommand to run json test case

/usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/node_modules/bindings/bindings.js:91 throw err ^ Error: Could not locate the bindings file. Tried: → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/build/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/build/Debug/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/build/Release/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/out/Debug/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/Debug/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/out/Release/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/Release/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/build/default/xmljs.node → /usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/compiled/0.10.25/linux/x64/xmljs.node at bindings (/usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/node_modules/bindings/bindings.js:88:9) at Object. (/usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/lib/bindings.js:1:99) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/usr/local/lib/node_modules/se-interpreter/node_modules/libxmljs/index.js:4:16) at Module._compile (module.js:456:26)

billieblaze commented 9 years ago

+1

davidlinse commented 9 years ago

It recently started showing up for me as well.. It looks like something changed in the 'libxmljs' module, since i'm running it on a frozen custom branch with recent updates or pulls from se-interpreter:master .

The xmljs.node file is not copied to one of the listed directories but it exists somewhere in build/target.xxx/ .. (I dont have the right path now). So a workaround is to copy the xmljs.node file to one of the listed directories.

~david

Zarkonnen commented 9 years ago

Yeah, libxmljs was a bad call as a dependency. Will remove it! https://github.com/Zarkonnen/se-interpreter/issues/37

Zarkonnen commented 9 years ago

This should be fixed in v1.0.7. :)