WebPagetest Forums
WPTAgent not getting initiated - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: WPTAgent not getting initiated (/showthread.php?tid=15697)



WPTAgent not getting initiated - sakthivel.vaithilingam - 03-05-2019 03:05 PM

I was using private instance and recently started migration to wptagent. Hosted in server perfectly with location configured as expected.

Installed all the requirements in WPT client as mentioned in 'https://github.com/WPO-Foundation/wptagent/blob/master/docs/install.md'

Using batch file to start WPTAgent but getting error, details below . Please help.

Batch File content:
cd C:\wpt_agent_sep2018\wptagent
call npm i -g lighthouse
FOR /L %%x IN (1, 1, 24) DO (
python.exe C:\wpt_agent_sep2018\wptagent\wptagent.py -vvvv --server "http://<<ipaddress>>:8081/work/" --location PT_Team_WPTDriver
)

Error Details :
Traceback (most recent call last):
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 705, in <module>
main()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 692, in main
browsers = find_browsers()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 465, in find_browsers
build = get_windows_build()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 395, in get_windows_build
return int(output.strip().split(' ')[-1])
ValueError: invalid literal for int() with base 10: ''