ServiceNow / WorkArena

WorkArena: How Capable are Web Agents at Solving Common Knowledge Work Tasks?
https://servicenow.github.io/WorkArena/
Other
122 stars 11 forks source link

[WorkArena] Failed to extract build name from instance #3

Closed snehasquasher closed 6 months ago

snehasquasher commented 6 months ago
  File "/Users/snehasivakumar/.pyenv/versions/3.11.3/lib/python3.11/site-packages/browsergym/workarena/install.py", line 517, in check_instance_release_support
    if version_info["build name"] not in SNOW_SUPPORTED_RELEASES:
       ~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'build name'

I was trying to run the code locally. I created an account, logged in and also added all the credentials to my local environment. While installing workarena-install i am running into the above error.

What should i be providing as the build_name?

aldro61 commented 6 months ago

Hello @snehasquasher, thanks for reporting this. It looks like the version information is not extracted properly from your instance. I've never encountered this before on instances from developer.servicenow.com.

In order to debug this, it would help if I could get my hands on your instance. Could you please share the URL and admin password with me via email (alexandre.drouin@servicenow.com)? This will allow me to configure my setup to use your instance. Note that this is not a security hazard as you can always reset the password or request a new instance once we are done.

Cheers, Alex

aldro61 commented 6 months ago

Also, just to rule-out any problems related to instance configuration, could you please confirm that these tests pass? You. might need to pip install pytest-playwright

pytest tests/test_snow_instance.py
aldro61 commented 6 months ago

Closing due to inactivity. Please reopen if this is still an issue.