-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Hello,
After installing the different required packages, I tried to run an experiment on the choose-list environment using the command line you provided :
python main.py --env choose-list --llm chatgpt --num-episodes 1 --irci 1 --sgrounding
And I got the following error :
(RCI-agent) PS C:\Users\Tom\Desktop\rci-agent> python main.py --env choose-list --llm chatgpt --num-episodes 1 --irci 1 --sgrounding
INFO:root:Starting WebDriver Instance 0
C:\Users\Tom\miniconda3\envs\RCI-agent\lib\site-packages\gym\utils\passive_env_checker.py:20: UserWarning: WARN: It seems a Box observation space is an image but the `dtype` is not `np.uint8`, actual type: int32. If the Box observation space is not an image, we recommend flattening the observation to have only a 1D vector.
logger.warn(
C:\Users\Tom\miniconda3\envs\RCI-agent\lib\site-packages\gym\utils\passive_env_checker.py:174: UserWarning: WARN: Future gym versions will require that `Env.reset` can be passed a `seed` instead of using `Env.seed` for resetting the environment random number generator.
logger.warn(
C:\Users\Tom\miniconda3\envs\RCI-agent\lib\site-packages\gym\utils\passive_env_checker.py:187: UserWarning: WARN: Future gym versions will require that `Env.reset` can be passed `options` to allow the environment initialisation to be passed additional information.
logger.warn(
INFO:selenium.webdriver.common.selenium_manager:Applicable driver not found; attempting to install with Selenium Manager (Beta)
DevTools listening on ws://127.0.0.1:51802/devtools/browser/6802c38e-d0ec-42dd-b55b-0574baaefc72
ERROR:root:Page did not load properly. Wrong MINIWOB_BASE_URL?
INFO:root:Closed instance 0
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\Tom\miniconda3\envs\RCI-agent\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "c:\users\tom\desktop\rci-agent\computergym\computergym\miniwob\miniwob_interface\instance.py", line 128, in run
self.create_driver()
File "c:\users\tom\desktop\rci-agent\computergym\computergym\miniwob\miniwob_interface\instance.py", line 200, in create_driver
raise e
(No symbol) [0x0034A304]
(No symbol) [0x0035C482]
(No symbol) [0x0034A0B6]
(No symbol) [0x00327E08]
(No symbol) [0x00328F2D]
GetHandleVerifier [0x006C8E3A+2540266]
GetHandleVerifier [0x00708959+2801161]
GetHandleVerifier [0x0070295C+2776588]
GetHandleVerifier [0x004F2280+612144]
(No symbol) [0x00404F6C]
(No symbol) [0x004011D8]
(No symbol) [0x004012BB]
(No symbol) [0x003F4857]
BaseThreadInitThunk [0x76C97D59+25]
RtlInitializeExceptionChain [0x77C9B74B+107]
RtlClearBits [0x77C9B6CF+191]
I tried to run the file environment.py and got the same issue. The reason is that the environment variable MINIWOB_BASE_URL is not defined.
debug console :
import os
base_url=os.environ.get("MINIWOB_BASE_URL")
print(base_url)
None
Am I supposed to define this environment variable myself?
PS : I'm running on Windows 11, Python 3.9.16, and I use a conda env.
Metadata
Metadata
Assignees
Labels
No labels