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

Does STF support the windows? #233

Open
likezjuisee opened this issue Jan 7, 2016 · 20 comments
Open

Does STF support the windows? #233

likezjuisee opened this issue Jan 7, 2016 · 20 comments

Comments

@likezjuisee
Copy link

I have found that the stf doesn't support the windows system, yet I want to make sure this question again, thanks.

@sorccu
Copy link
Member

sorccu commented Jan 7, 2016

It might or might not work, none of our collaborators use Windows and therefore we never test it. Please contribute instructions for Windows if you manage to get it to work, though.

@sqavenky
Copy link

openSTF has a docker solution. You can install DockerToolbox in windows and use their docker image to run openSTF. Just a workaround I could think of.

@sudheesh001
Copy link

I guess I've almost managed to get this running. There is just one small issue I am facing as pointed out here sorccu/node-jpeg-turbo#8 I would love to send an update to the documentation pointing out installation instructions for windows once the issue with jpeg-turbo is resolved. That is the only issue i've been facing.

FTL/device 18892 [5d89bf39] Setup had an error Error: Cannot find module 'jpeg-turbo'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\plugins\vnc\index.js:8:12)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\index.js:23:21
    at SerialSyrup.ParallelSyrup.invoke (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\parallel.js:54:24)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\serial.js:43:33
    at tryCatch1 (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:708:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:724:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:896:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:1041:14)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:37:14)

I had in the process faced a temporary issue with zmq not connecting correctly. The fix for that was

cd node_modules\zmq
node-gyp rebuild

@taesiri
Copy link

taesiri commented Jul 1, 2017

It's possible to install stf on Windows 10 using "Windows Subsystem for Linux", It's not exactly what you want but it's a quick and dirty solution.

Screenshot:
screen shot 2017-07-01 at 9 48 01 am

@darkwiz666
Copy link

darkwiz666 commented Nov 11, 2017

I'm going to see if I can use the install script from the devs and the subsystem. If it works I'll be beyond over the moon, since the docker "solution" requires Windows 10 PRO...Home edition doesn't have Hyper V.

[edit]
NVM on the script, it needs docker (I didn't read it through). Guess I'll have to do it manually.

@davakh
Copy link

davakh commented Dec 6, 2018

It was failed on jpeg-turbo, so I decided to change jpeg-turbo dependency to jpeg-js locally. And made jpeg-turbo as optionalDeps

Now my code for the part with jpeg-turbo looks like this

var jpeg;
try {
    jpeg = require('jpeg-turbo');
} catch(err) {
    jpeg = require('jpeg-js');
    jpeg.decompressSync = (arg) => jpeg.decode(arg);
}

Maybe it will cause some errors, but it works.

@Slavianin
Copy link

@taesiri Hi, if you have some free time, can you write some manual for run openstf in Windows with Linux subsystem, because now I up openstf with docker in Windows but it doesnt see my devices. thank you!

@Raj0301
Copy link

Raj0301 commented Apr 25, 2019

can some one help me how to install OpenSTF in WIndows Platform. Please guide me.

@taesiri
Copy link

taesiri commented May 1, 2019

@Slavianin, Sorry for the late response, I am kind of busy right now. If you and @Raj0301 still need some sort of guide, I may be able to make time for it. Just let me know.

@pablopolanco6
Copy link

hello I have days trying to install STF but I do not have success please your help or if you have frelance service, the internet in window and in a server in digitalocean

@quyennt21
Copy link

quyennt21 commented May 6, 2019

It's possible with Windows Subsystem for Linux, setup today
Screenshot:
Untitled

@Raj0301
Copy link

Raj0301 commented May 6, 2019 via email

@darkwiz666
Copy link

It possible with Windows Subsystem for Linux , setup today
Screenshot:
Untitled

Chrome a BBW with all those tabs eating memory...

@Raj0301
Copy link

Raj0301 commented May 7, 2019 via email

@Raj0301
Copy link

Raj0301 commented May 7, 2019

I guess I've almost managed to get this running. There is just one small issue I am facing as pointed out here sorccu/node-jpeg-turbo#8 I would love to send an update to the documentation pointing out installation instructions for windows once the issue with jpeg-turbo is resolved. That is the only issue i've been facing.

FTL/device 18892 [5d89bf39] Setup had an error Error: Cannot find module 'jpeg-turbo'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\plugins\vnc\index.js:8:12)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\lib\units\device\index.js:23:21
    at SerialSyrup.ParallelSyrup.invoke (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\parallel.js:54:24)
    at C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\lib\serial.js:43:33
    at tryCatch1 (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:708:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:724:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:896:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\promise.js:1041:14)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (C:\Users\t-sus\Documents\OpenSource\GameAutomators\stf\node_modules\stf-syrup\node_modules\bluebird\js\main\async.js:37:14)

I had in the process faced a temporary issue with zmq not connecting correctly. The fix for that was

cd node_modules\zmq
node-gyp rebuild

Can you help me with your livemeeting support, as i am facing issues and challenges in Windows 10 setup. you can inbox with your contact details to [email protected]

@Raj0301
Copy link

Raj0301 commented May 7, 2019

It possible with Windows Subsystem for Linux , setup today
Screenshot:
Untitled

Chrome a BBW with all those tabs eating memory...

@darkwiz666 , Can you help me with live meeting support. I am facing issue on windows 10. Please can you let me know your available time. So that we connect. you can inbox me [email protected]
Thanks,
Rajesh

@sorccu
Copy link
Member

sorccu commented May 7, 2019

You’re expecting too much. If someone wants to go that far, great. But you should definitely not assume that you’re going to get 1-on-1 support.

@AldyWirawan
Copy link

if anyone would like to setup stf local in windows-wsl i have tried and succeed, here's short guide: https://github.com/AldyWirawan/stf-local-wsl

recommend this for POC only, for full fledged deployment do it on linux.

@moabdira
Copy link

if anyone would like to setup stf local in windows-wsl i have tried and succeed, here's short guide: https://github.com/AldyWirawan/stf-local-wsl

recommend this for POC only, for full fledged deployment do it on linux.

Thank you so much!

@fablexis
Copy link

All the screenshots that I see in these comments are from 2017, and they run rethinkdb with rethinkdb.exe, it turns out it is not available for windows in the current version of rethinkdb which at this time is 2.4.0...

I tried running that with linux subsystem in windows, but it did not work. Any suggestion? Thx

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