Current time: 03-03-2021, 03:15 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPTAgent not getting initiated
03-05-2019, 03:12 PM
Post: #1
WPTAgent not getting initiated
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 ''

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\ -vvvv --server "http://<<ipaddress>>:8081/work/" --location PT_Team_WPTDriver

Error Details :
Traceback (most recent call last):
File "C:\wpt_agent_sep2018\wptagent\", line 705, in <module>
File "C:\wpt_agent_sep2018\wptagent\", line 692, in main
browsers = find_browsers()
File "C:\wpt_agent_sep2018\wptagent\", line 465, in find_browsers
build = get_windows_build()
File "C:\wpt_agent_sep2018\wptagent\", line 395, in get_windows_build
return int(output.strip().split(' ')[-1])
ValueError: invalid literal for int() with base 10: ''
Find all posts by this user
Quote this message in a reply
03-07-2019, 08:23 PM (This post was last modified: 03-07-2019 08:24 PM by sakthivel.vaithilingam.)
Post: #2
RE: WPTAgent not getting initiated

The above issue been resolved after installing Python3.7 with all modules as mentioned in

Now getting parser.add_argument('--fps', type=int, choices=xrange(1, 61), default=10,
NameError: name 'xrange' is not defined

Whether WPTAgent compatible with Python3.7?

Please suggest.
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)