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

[Question] Does is support Azure Open AI #218

Open
anunay1 opened this issue Feb 7, 2025 · 4 comments
Open

[Question] Does is support Azure Open AI #218

anunay1 opened this issue Feb 7, 2025 · 4 comments

Comments

@anunay1
Copy link

anunay1 commented Feb 7, 2025

Hi

I do not have access to open AI key's. However I have access to azure open AI keys. I have deployed a gpt4 in azure environment.
when I start the task

Image

its get's stuck. Also what is the location of the log file.

@crawles
Copy link
Collaborator

crawles commented Feb 7, 2025

Hi, can you try removing the log suppression line here and the following lines? And share what you see. Thanks!

logging.set_verbosity(logging.WARNING)

@anunay1
Copy link
Author

anunay1 commented Feb 10, 2025

(android_world) anuthakur@INBALD193845:~/Documents/android_world/android_env/android_world$ python3 minimal_task_runner.py --task=SystemBluetoothTurnOff
I0210 11:23:49.034583 126638658484032 task_manager.py:85] Task config: id: "default"
name: "Default task for device control."
description: "Empty task"
max_episode_sec: 7200

I0210 11:23:49.034849 126638658484032 emulator_simulator.py:110] Connecting to existing emulator "'emulator-5554'"
I0210 11:23:49.034947 126638658484032 adb_controller.py:34] config: AdbControllerConfig(adb_path='/home/anuthakur/Android/Sdk/platform-tools/adb', adb_server_port=5037, default_timeout=120.0, device_name='emulator-5554')
I0210 11:23:49.036229 126638658484032 adb_controller.py:48] self._os_env_vars: {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/INBALD193845:@/tmp/.ICE-unix/7694,unix/INBALD193845:/tmp/.ICE-unix/7694', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GTK_IM_MODULE': 'ibus', 'CONDA_EXE': '/home/anuthakur/anaconda3/bin/conda', '_CE_M': '', 'LANGUAGE': 'en_IN:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/2043117027/keyring/ssh', 'USER_PRINCIPAL_NAME': '[email protected]', 'OPENAI_API_KEY': 'xxx, 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/anuthakur/Documents/android_world/android_env/android_world', 'KRB5CCNAME': 'FILE:/tmp/krb5cc_2043117027', 'LOGNAME': 'anuthakur', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DA_SESSION_ID_AUTH': '39ab5d32-ca33-1943-b655-c73a0b121ae0', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/anuthakur/anaconda3/envs/android_world', 'GPG_AGENT_INFO': '/run/user/2043117027/gnupg/S.gpg-agent:0:1', 'SYSTEMD_EXEC_PID': '7694', 'XAUTHORITY': '/run/user/2043117027/gdm/Xauthority', 'WINDOWPATH': '2', 'HOME': '/home/anuthakur', 'USERNAME': 'anuthakur', 'LANG': 'en_IN', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VTE_VERSION': '6800', 'CONDA_PROMPT_MODIFIER': '(android_world) ', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/70334243_bd00_4b70_8c7c_bbd0f53f6507', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'anuthakur', 'CDC_PREW2KHOST': 'INBALD193845', 'CDC_JOINED_SITE': 'INBA-Bangalore', 'CDC_JOINED_ZONE': 'DC=ad,DC=harman,DC=com', 'GNOME_TERMINAL_SERVICE': ':1.100', 'CONDA_SHLVL': '2', 'DISPLAY': ':1', 'SHLVL': '1', 'CDC_JOINED_DOMAIN': 'ad.harman.com', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CONDA_PYTHON_EXE': '/home/anuthakur/anaconda3/bin/python', 'XDG_RUNTIME_DIR': '/run/user/2043117027', 'CDC_JOINED_DC': 'inbaw16dcad07.ad.harman.com', 'CONDA_DEFAULT_ENV': 'android_world', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/anuthakur/anaconda3/envs/android_world/bin:/home/anuthakur/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'GDMSESSION': 'ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CDC_LOCALHOST': 'inbald193845.ad.harman.com', 'CONDA_PREFIX_1': '/home/anuthakur/anaconda3', 'OLDPWD': '/home/anuthakur/Documents/android_world/android_env', '': '/home/anuthakur/anaconda3/envs/android_world/bin/python3', 'QT_QPA_PLATFORM_PLUGIN_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/plugins', 'QT_QPA_FONTDIR': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/fonts', 'LD_LIBRARY_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/../../lib64:'}
I0210 11:23:49.036329 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 devices]
I0210 11:23:49.242292 126638658484032 emulator_simulator.py:145] Initialized simulator with ADB server port 5037.
I0210 11:23:49.243005 126638658484032 coordinator.py:81] Starting the simulator...
I0210 11:23:49.243182 126638658484032 coordinator.py:136] Simulator launch attempt 1 of 3
I0210 11:23:49.243385 126638658484032 emulator_simulator.py:215] Attempt 1 at launching the Android Emulator ('emulator-5554')
I0210 11:23:49.243499 126638658484032 emulator_simulator.py:341] Creating gRPC channel to the emulator on port 8554
I0210 11:23:49.251878 126638658484032 emulator_simulator.py:355] Added gRPC channel for the Emulator on port localhost:8554
I0210 11:23:49.253166 126638658484032 emulator_simulator.py:374] Waiting for emulator ('emulator-5554') to start... (256689184ms)
I0210 11:23:49.253254 126638658484032 emulator_simulator.py:386] Done booting the emulator (in 0.000876 seconds).
I0210 11:23:49.253390 126638658484032 emulator_simulator.py:387] ********** Emulator logs **********
I0210 11:23:49.253419 126638658484032 emulator_simulator.py:389] Logfile does not exist: None.
I0210 11:23:49.253443 126638658484032 emulator_simulator.py:390] ******* End of emulator logs *******
I0210 11:23:49.253463 126638658484032 emulator_simulator.py:391] See the full emulator logs at None
I0210 11:23:49.253525 126638658484032 emulator_simulator.py:249] Done booting the Android Emulator.
I0210 11:23:49.253568 126638658484032 adb_controller.py:34] config: AdbControllerConfig(adb_path='/home/anuthakur/Android/Sdk/platform-tools/adb', adb_server_port=5037, default_timeout=120.0, device_name='emulator-5554')
I0210 11:23:49.253688 126638658484032 adb_controller.py:48] self._os_env_vars: {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/INBALD193845:@/tmp/.ICE-unix/7694,unix/INBALD193845:/tmp/.ICE-unix/7694', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GTK_IM_MODULE': 'ibus', 'CONDA_EXE': '/home/anuthakur/anaconda3/bin/conda', '_CE_M': '', 'LANGUAGE': 'en_IN:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/2043117027/keyring/ssh', 'USER_PRINCIPAL_NAME': '[email protected]', 'OPENAI_API_KEY': 'xxx', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/anuthakur/Documents/android_world/android_env/android_world', 'KRB5CCNAME': 'FILE:/tmp/krb5cc_2043117027', 'LOGNAME': 'anuthakur', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DA_SESSION_ID_AUTH': '39ab5d32-ca33-1943-b655-c73a0b121ae0', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/anuthakur/anaconda3/envs/android_world', 'GPG_AGENT_INFO': '/run/user/2043117027/gnupg/S.gpg-agent:0:1', 'SYSTEMD_EXEC_PID': '7694', 'XAUTHORITY': '/run/user/2043117027/gdm/Xauthority', 'WINDOWPATH': '2', 'HOME': '/home/anuthakur', 'USERNAME': 'anuthakur', 'LANG': 'en_IN', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VTE_VERSION': '6800', 'CONDA_PROMPT_MODIFIER': '(android_world) ', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/70334243_bd00_4b70_8c7c_bbd0f53f6507', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'anuthakur', 'CDC_PREW2KHOST': 'INBALD193845', 'CDC_JOINED_SITE': 'INBA-Bangalore', 'CDC_JOINED_ZONE': 'DC=ad,DC=harman,DC=com', 'GNOME_TERMINAL_SERVICE': ':1.100', 'CONDA_SHLVL': '2', 'DISPLAY': ':1', 'SHLVL': '1', 'CDC_JOINED_DOMAIN': 'ad.harman.com', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CONDA_PYTHON_EXE': '/home/anuthakur/anaconda3/bin/python', 'XDG_RUNTIME_DIR': '/run/user/2043117027', 'CDC_JOINED_DC': 'inbaw16dcad07.ad.harman.com', 'CONDA_DEFAULT_ENV': 'android_world', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/anuthakur/anaconda3/envs/android_world/bin:/home/anuthakur/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'GDMSESSION': 'ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CDC_LOCALHOST': 'inbald193845.ad.harman.com', 'CONDA_PREFIX_1': '/home/anuthakur/anaconda3', 'OLDPWD': '/home/anuthakur/Documents/android_world/android_env', '': '/home/anuthakur/anaconda3/envs/android_world/bin/python3', 'QT_QPA_PLATFORM_PLUGIN_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/plugins', 'QT_QPA_FONTDIR': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/fonts', 'LD_LIBRARY_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/../../lib64:'}
I0210 11:23:49.253764 126638658484032 adb_controller.py:34] config: AdbControllerConfig(adb_path='/home/anuthakur/Android/Sdk/platform-tools/adb', adb_server_port=5037, default_timeout=120.0, device_name='emulator-5554')
I0210 11:23:49.253838 126638658484032 adb_controller.py:48] self._os_env_vars: {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/INBALD193845:@/tmp/.ICE-unix/7694,unix/INBALD193845:/tmp/.ICE-unix/7694', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GTK_IM_MODULE': 'ibus', 'CONDA_EXE': '/home/anuthakur/anaconda3/bin/conda', '_CE_M': '', 'LANGUAGE': 'en_IN:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/2043117027/keyring/ssh', 'USER_PRINCIPAL_NAME': '[email protected]', 'OPENAI_API_KEY': 'xxx', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/anuthakur/Documents/android_world/android_env/android_world', 'KRB5CCNAME': 'FILE:/tmp/krb5cc_2043117027', 'LOGNAME': 'anuthakur', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DA_SESSION_ID_AUTH': '39ab5d32-ca33-1943-b655-c73a0b121ae0', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/anuthakur/anaconda3/envs/android_world', 'GPG_AGENT_INFO': '/run/user/2043117027/gnupg/S.gpg-agent:0:1', 'SYSTEMD_EXEC_PID': '7694', 'XAUTHORITY': '/run/user/2043117027/gdm/Xauthority', 'WINDOWPATH': '2', 'HOME': '/home/anuthakur', 'USERNAME': 'anuthakur', 'LANG': 'en_IN', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VTE_VERSION': '6800', 'CONDA_PROMPT_MODIFIER': '(android_world) ', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/70334243_bd00_4b70_8c7c_bbd0f53f6507', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'anuthakur', 'CDC_PREW2KHOST': 'INBALD193845', 'CDC_JOINED_SITE': 'INBA-Bangalore', 'CDC_JOINED_ZONE': 'DC=ad,DC=harman,DC=com', 'GNOME_TERMINAL_SERVICE': ':1.100', 'CONDA_SHLVL': '2', 'DISPLAY': ':1', 'SHLVL': '1', 'CDC_JOINED_DOMAIN': 'ad.harman.com', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CONDA_PYTHON_EXE': '/home/anuthakur/anaconda3/bin/python', 'XDG_RUNTIME_DIR': '/run/user/2043117027', 'CDC_JOINED_DC': 'inbaw16dcad07.ad.harman.com', 'CONDA_DEFAULT_ENV': 'android_world', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/anuthakur/anaconda3/envs/android_world/bin:/home/anuthakur/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'GDMSESSION': 'ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CDC_LOCALHOST': 'inbald193845.ad.harman.com', 'CONDA_PREFIX_1': '/home/anuthakur/anaconda3', 'OLDPWD': '/home/anuthakur/Documents/android_world/android_env', '': '/home/anuthakur/anaconda3/envs/android_world/bin/python3', 'QT_QPA_PLATFORM_PLUGIN_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/plugins', 'QT_QPA_FONTDIR': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/fonts', 'LD_LIBRARY_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/../../lib64:'}
I0210 11:23:49.272769 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:23:49.272922 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put system show_touches 1]
I0210 11:23:49.303723 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:23:49.303862 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put system pointer_location 1]
I0210 11:23:49.321861 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:23:49.322011 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global policy_control immersive.full=]
I0210 11:23:49.344720 126638658484032 log_stream.py:59] Resuming LogStream.
I0210 11:23:49.344868 126638658484032 adb_controller.py:34] config: AdbControllerConfig(adb_path='/home/anuthakur/Android/Sdk/platform-tools/adb', adb_server_port=5037, default_timeout=120.0, device_name='emulator-5554')
I0210 11:23:49.345021 126638658484032 adb_controller.py:48] self._os_env_vars: {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/INBALD193845:@/tmp/.ICE-unix/7694,unix/INBALD193845:/tmp/.ICE-unix/7694', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GTK_IM_MODULE': 'ibus', 'CONDA_EXE': '/home/anuthakur/anaconda3/bin/conda', '_CE_M': '', 'LANGUAGE': 'en_IN:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/2043117027/keyring/ssh', 'USER_PRINCIPAL_NAME': '[email protected]', 'OPENAI_API_KEY': 'xxx', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/anuthakur/Documents/android_world/android_env/android_world', 'KRB5CCNAME': 'FILE:/tmp/krb5cc_2043117027', 'LOGNAME': 'anuthakur', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DA_SESSION_ID_AUTH': '39ab5d32-ca33-1943-b655-c73a0b121ae0', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/anuthakur/anaconda3/envs/android_world', 'GPG_AGENT_INFO': '/run/user/2043117027/gnupg/S.gpg-agent:0:1', 'SYSTEMD_EXEC_PID': '7694', 'XAUTHORITY': '/run/user/2043117027/gdm/Xauthority', 'WINDOWPATH': '2', 'HOME': '/home/anuthakur', 'USERNAME': 'anuthakur', 'LANG': 'en_IN', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VTE_VERSION': '6800', 'CONDA_PROMPT_MODIFIER': '(android_world) ', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/70334243_bd00_4b70_8c7c_bbd0f53f6507', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'anuthakur', 'CDC_PREW2KHOST': 'INBALD193845', 'CDC_JOINED_SITE': 'INBA-Bangalore', 'CDC_JOINED_ZONE': 'DC=ad,DC=harman,DC=com', 'GNOME_TERMINAL_SERVICE': ':1.100', 'CONDA_SHLVL': '2', 'DISPLAY': ':1', 'SHLVL': '1', 'CDC_JOINED_DOMAIN': 'ad.harman.com', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CONDA_PYTHON_EXE': '/home/anuthakur/anaconda3/bin/python', 'XDG_RUNTIME_DIR': '/run/user/2043117027', 'CDC_JOINED_DC': 'inbaw16dcad07.ad.harman.com', 'CONDA_DEFAULT_ENV': 'android_world', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/anuthakur/anaconda3/envs/android_world/bin:/home/anuthakur/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'GDMSESSION': 'ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CDC_LOCALHOST': 'inbald193845.ad.harman.com', 'CONDA_PREFIX_1': '/home/anuthakur/anaconda3', 'OLDPWD': '/home/anuthakur/Documents/android_world/android_env', '': '/home/anuthakur/anaconda3/envs/android_world/bin/python3', 'QT_QPA_PLATFORM_PLUGIN_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/plugins', 'QT_QPA_FONTDIR': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/fonts', 'LD_LIBRARY_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/../../lib64:'}
I0210 11:23:49.345174 126638658484032 adb_controller.py:34] config: AdbControllerConfig(adb_path='/home/anuthakur/Android/Sdk/platform-tools/adb', adb_server_port=5037, default_timeout=120.0, device_name='emulator-5554')
I0210 11:23:49.345260 126638658484032 adb_controller.py:48] self._os_env_vars: {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/INBALD193845:@/tmp/.ICE-unix/7694,unix/INBALD193845:/tmp/.ICE-unix/7694', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GTK_IM_MODULE': 'ibus', 'CONDA_EXE': '/home/anuthakur/anaconda3/bin/conda', '_CE_M': '', 'LANGUAGE': 'en_IN:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/2043117027/keyring/ssh', 'USER_PRINCIPAL_NAME': '[email protected]', 'OPENAI_API_KEY': 'xxx', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/anuthakur/Documents/android_world/android_env/android_world', 'KRB5CCNAME': 'FILE:/tmp/krb5cc_2043117027', 'LOGNAME': 'anuthakur', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DA_SESSION_ID_AUTH': '39ab5d32-ca33-1943-b655-c73a0b121ae0', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/anuthakur/anaconda3/envs/android_world', 'GPG_AGENT_INFO': '/run/user/2043117027/gnupg/S.gpg-agent:0:1', 'SYSTEMD_EXEC_PID': '7694', 'XAUTHORITY': '/run/user/2043117027/gdm/Xauthority', 'WINDOWPATH': '2', 'HOME': '/home/anuthakur', 'USERNAME': 'anuthakur', 'LANG': 'en_IN', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VTE_VERSION': '6800', 'CONDA_PROMPT_MODIFIER': '(android_world) ', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/70334243_bd00_4b70_8c7c_bbd0f53f6507', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'anuthakur', 'CDC_PREW2KHOST': 'INBALD193845', 'CDC_JOINED_SITE': 'INBA-Bangalore', 'CDC_JOINED_ZONE': 'DC=ad,DC=harman,DC=com', 'GNOME_TERMINAL_SERVICE': ':1.100', 'CONDA_SHLVL': '2', 'DISPLAY': ':1', 'SHLVL': '1', 'CDC_JOINED_DOMAIN': 'ad.harman.com', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CONDA_PYTHON_EXE': '/home/anuthakur/anaconda3/bin/python', 'XDG_RUNTIME_DIR': '/run/user/2043117027', 'CDC_JOINED_DC': 'inbaw16dcad07.ad.harman.com', 'CONDA_DEFAULT_ENV': 'android_world', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/anuthakur/anaconda3/envs/android_world/bin:/home/anuthakur/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'GDMSESSION': 'ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/2043117027/bus,guid=4d4d78331b2c0b1e6cb68c0d6777c9ea', 'CDC_LOCALHOST': 'inbald193845.ad.harman.com', 'CONDA_PREFIX_1': '/home/anuthakur/anaconda3', 'OLDPWD': '/home/anuthakur/Documents/android_world/android_env', '': '/home/anuthakur/anaconda3/envs/android_world/bin/python3', 'QT_QPA_PLATFORM_PLUGIN_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/plugins', 'QT_QPA_FONTDIR': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/qt/fonts', 'LD_LIBRARY_PATH': '/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/cv2/../../lib64:'}
I0210 11:23:49.345669 126638658484032 environment.py:52] Action spec: {'action_type': DiscreteArray(shape=(), dtype=int32, name=action_type, minimum=0, maximum=2, num_values=3), 'touch_position': BoundedArray(shape=(2,), dtype=dtype('float32'), name='touch_position', minimum=[0. 0.], maximum=[1. 1.])}
I0210 11:23:49.347990 126638658484032 environment.py:53] Observation spec: {'pixels': BoundedArray(shape=(768, 1024, 3), dtype=dtype('uint8'), name='pixels', minimum=0, maximum=255), 'timedelta': Array(shape=(), dtype=dtype('int64'), name='timedelta'), 'orientation': BoundedArray(shape=(4,), dtype=dtype('uint8'), name='orientation', minimum=0, maximum=1)}
I0210 11:23:49.348166 126638658484032 android_world_controller.py:321] Setting up AndroidWorldController.
I0210 11:23:49.348214 126638658484032 a11y_grpc_wrapper.py:40] Downloading accessibility forwarder apk....
I0210 11:23:49.378891 126637020546624 adb_log_stream.py:42] clear_buffer_output: b''
I0210 11:32:49.821511 126638658484032 adb_call_parser.py:98] AdbRequest command type: install_apk
I0210 11:32:49.821700 126638658484032 adb_call_parser.py:269] location_type: blob
I0210 11:32:49.825519 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 install -r -t -g /tmp/tmpmz7w1uzd.apk]
I0210 11:33:00.698195 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:00.698474 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put secure enabled_accessibility_services com.google.androidenv.accessibilityforwarder/com.google.androidenv.accessibilityforwarder.AccessibilityForwarder]
I0210 11:33:03.725109 126638658484032 adb_call_parser.py:98] AdbRequest command type: send_broadcast
I0210 11:33:03.725410 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell am broadcast -a accessibility_forwarder.intent.action.ENABLE_ACCESSIBILITY_TREE_LOGS -n com.google.androidenv.accessibilityforwarder/com.google.androidenv.accessibilityforwarder.FlagsBroadcastReceiver]
I0210 11:33:03.758546 126638658484032 a11y_grpc_wrapper.py:138] Using port 44393
I0210 11:33:03.758798 126638658484032 a11y_grpc_wrapper.py:141] Starting server
I0210 11:33:03.760194 126638658484032 a11y_grpc_wrapper.py:143] Server now running.
I0210 11:33:03.760484 126638658484032 environment.py:69] Resetting AndroidEnv...
I0210 11:33:03.761422 126638658484032 log_stream.py:54] Pausing LogStream.
I0210 11:33:03.761504 126638658484032 log_stream.py:59] Resuming LogStream.
I0210 11:33:03.761646 126638658484032 adb_call_parser.py:98] AdbRequest command type: get_orientation
I0210 11:33:03.761684 126638658484032 adb_call_parser.py:483] Getting orientation...
I0210 11:33:03.761755 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell dumpsys input]
I0210 11:33:03.783873 126638658484032 adb_call_parser.py:515] Done getting orientation: '0'
I0210 11:33:03.800838 126638658484032 environment.py:85] Done resetting AndroidEnv.
I0210 11:33:03.800958 126638658484032 environment.py:86] ************* NEW EPISODE *************
I0210 11:33:03.801096 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:03.801162 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global no_proxy 10.0.2.2:44393]
I0210 11:33:03.823059 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:03.823202 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global airplane_mode_on 0]
I0210 11:33:04.842328 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:04.842603 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell svc wifi enable]
I0210 11:33:06.042760 126638658484032 adb_call_parser.py:98] AdbRequest command type: send_broadcast
I0210 11:33:06.043080 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell am broadcast -a accessibility_forwarder.intent.action.SET_GRPC --ei "port" 44393 -n com.google.androidenv.accessibilityforwarder/com.google.androidenv.accessibilityforwarder.FlagsBroadcastReceiver]
I0210 11:33:06.072345 126638658484032 env_launcher.py:65] File descriptor limit set to 32768.
I0210 11:33:06.072507 126638658484032 env_launcher.py:81] Freezing datetime.
I0210 11:33:06.072572 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell whoami'
I0210 11:33:06.072676 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:06.072748 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell whoami]
I0210 11:33:06.097094 126638658484032 adb_utils.py:526] Issuing generic adb request: 'root'
I0210 11:33:06.097438 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:06.097546 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 root]
I0210 11:33:06.103272 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:06.103371 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global auto_time 0]
I0210 11:33:06.124028 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:06.124191 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global auto_time_zone 0]
I0210 11:33:06.149394 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:06.149658 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put system time_12_24 24]
I0210 11:33:06.170174 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell service call alarm 3 s16 UTC'
I0210 11:33:06.170357 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:06.170419 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell service call alarm 3 s16 UTC]
I0210 11:33:06.184137 126638658484032 adb_utils.py:321] Attempting to press the HOME button
I0210 11:33:06.184282 126638658484032 adb_call_parser.py:98] AdbRequest command type: press_button
I0210 11:33:06.184337 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell input keyevent KEYCODE_HOME]
I0210 11:33:06.344205 126638658484032 environment.py:69] Resetting AndroidEnv...
I0210 11:33:06.345615 126638658484032 log_stream.py:54] Pausing LogStream.
I0210 11:33:06.345730 126638658484032 log_stream.py:59] Resuming LogStream.
I0210 11:33:06.359482 126638658484032 environment.py:85] Done resetting AndroidEnv.
I0210 11:33:06.359637 126638658484032 environment.py:86] ************* NEW EPISODE *************
I0210 11:33:06.359827 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell settings get global airplane_mode_on'
I0210 11:33:06.359913 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:06.359970 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings get global airplane_mode_on]
W0210 11:33:06.385812 126638658484032 android_world_controller.py:98] Could not get a11y tree, retrying.
I0210 11:33:07.390878 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell whoami'
I0210 11:33:07.391043 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.391095 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell whoami]
I0210 11:33:07.407266 126638658484032 adb_utils.py:526] Issuing generic adb request: 'root'
I0210 11:33:07.407445 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.407511 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 root]
I0210 11:33:07.414258 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:07.414359 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global auto_time 0]
I0210 11:33:07.434808 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:07.435082 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put global auto_time_zone 0]
I0210 11:33:07.454972 126638658484032 adb_call_parser.py:98] AdbRequest command type: settings
I0210 11:33:07.455123 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell settings put system time_12_24 24]
I0210 11:33:07.476478 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell service call alarm 3 s16 UTC'
I0210 11:33:07.476820 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.476988 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell service call alarm 3 s16 UTC]
I0210 11:33:07.490676 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell whoami'
I0210 11:33:07.490848 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.490928 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell whoami]
I0210 11:33:07.502580 126638658484032 adb_utils.py:526] Issuing generic adb request: 'root'
I0210 11:33:07.502714 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.502805 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 root]
I0210 11:33:07.506979 126638658484032 adb_utils.py:526] Issuing generic adb request: 'shell date 1015153423.00'
I0210 11:33:07.507211 126638658484032 adb_call_parser.py:98] AdbRequest command type: generic
I0210 11:33:07.507314 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell date 1015153423.00]
E0210 11:33:07.518406 126638658484032 adb_controller.py:131] Failed to execute ADB command (try 1 of 3): [adb -P 5037 -s emulator-5554 shell date 1015153423.00]
Traceback (most recent call last):
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_controller.py", line 122, in execute_command
cmd_output = subprocess.check_output(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 466, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/anuthakur/Android/Sdk/platform-tools/adb', '-P', '5037', '-s', 'emulator-5554', 'shell', 'date', '1015153423.00']' returned non-zero exit status 1.
E0210 11:33:07.519976 126638658484032 adb_controller.py:135] stdout:
E0210 11:33:07.520079 126638658484032 adb_controller.py:137] b'date: cannot set date: Operation not permitted'
E0210 11:33:07.520130 126638658484032 adb_controller.py:137] b'Sun Oct 15 15:34:00 UTC 2023'
I0210 11:33:07.520173 126638658484032 adb_controller.py:82] Restarting adb server.
I0210 11:33:07.520215 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 kill-server]
I0210 11:33:07.724730 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 start-server]
I0210 11:33:08.735308 126638658484032 adb_controller.py:88] start-server output: '
daemon not running; starting now at tcp:5037\n
daemon started successfully\n'
I0210 11:33:10.735619 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 devices]
I0210 11:33:10.941504 126638658484032 adb_controller.py:121] Executing ADB command: [adb -P 5037 -s emulator-5554 shell date 1015153423.00]
E0210 11:33:10.957108 126638658484032 adb_controller.py:131] Failed to execute ADB command (try 2 of 3): [adb -P 5037 -s emulator-5554 shell date 1015153423.00]
Traceback (most recent call last):
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_controller.py", line 122, in execute_command
cmd_output = subprocess.check_output(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/anuthakur/Android/Sdk/platform-tools/adb', '-P', '5037', '-s', 'emulator-5554', 'shell', 'date', '1015153423.00']' returned non-zero exit status 1.
E0210 11:33:10.957524 126638658484032 adb_controller.py:135] stdout:
E0210 11:33:10.957566 126638658484032 adb_controller.py:137] b'Sun Oct 15 15:34:00 UTC 2023'
E0210 11:33:10.957595 126638658484032 adb_controller.py:137] b'date: cannot set date: Operation not permitted'
Traceback (most recent call last):
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_controller.py", line 122, in execute_command
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/anuthakur/Android/Sdk/platform-tools/adb', '-P', '5037', '-s', 'emulator-5554', 'shell', 'date', '1015153423.00']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/anuthakur/Documents/android_world/android_env/android_world/minimal_task_runner.py", line 130, in
app.run(main)
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/absl_py-2.1.0-py3.11.egg/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/absl_py-2.1.0-py3.11.egg/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
^^^^^^^^^^
File "/home/anuthakur/Documents/android_world/android_env/android_world/minimal_task_runner.py", line 126, in main
_main()
File "/home/anuthakur/Documents/android_world/android_env/android_world/minimal_task_runner.py", line 106, in _main
task.initialize_task(env)
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/task_evals/single/system.py", line 274, in initialize_task
super().initialize_task(env)
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/task_evals/task_eval.py", line 136, in initialize_task
self.initialize_device_time(env)
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/task_evals/task_eval.py", line 130, in initialize_device_time
datetime_utils.set_datetime(env.controller, self.device_time)
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/utils/datetime_utils.py", line 158, in set_datetime
_set_datetime(env, dt)
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/utils/datetime_utils.py", line 210, in _set_datetime
adb_utils.issue_generic_request(
File "/home/anuthakur/Documents/android_world/android_env/android_world/android_world/env/adb_utils.py", line 528, in issue_generic_request
response = env.execute_adb_call(
^^^^^^^^^^^^^^^^^^^^^
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/wrappers/base_wrapper.py", line 101, in execute_adb_call
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/wrappers/base_wrapper.py", line 101, in execute_adb_call
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/environment.py", line 150, in execute_adb_call
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/coordinator.py", line 181, in execute_adb_call
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_call_parser.py", line 111, in parse
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_call_parser.py", line 757, in _handle_generic
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_call_parser.py", line 81, in _execute_command
File "/home/anuthakur/anaconda3/envs/android_world/lib/python3.11/site-packages/android_env-1.2.2-py3.11.egg/android_env/components/adb_controller.py", line 147, in execute_command
android_env.components.errors.AdbControllerError: Error executing adb command: [adb -P 5037 -s emulator-5554 shell date 1015153423.00]
Caused by: Command '['/home/anuthakur/Android/Sdk/platform-tools/adb', '-P', '5037', '-s', 'emulator-5554', 'shell', 'date', '1015153423.00']' returned non-zero exit status 1.
adb stdout: [b'Sun Oct 15 15:34:00 UTC 2023\ndate: cannot set date: Operation not permitted\n']
adb stderr: [None]
I0210 11:33:11.058256 126638658484032 environment.py:119] Cleaning up AndroidEnv...
I0210 11:33:11.058383 126638658484032 environment.py:122] Done cleaning up AndroidEnv.
(android_world) anuthakur@INBALD193845:~/Documents/android_world/android_env/android_world$

@anunay1
Copy link
Author

anunay1 commented Feb 11, 2025

Any update?

@crawles
Copy link
Collaborator

crawles commented Feb 11, 2025

The emulator is not allowing you to set the datetime. This looks like the same issue you ran into in #198. You need to comment out this line:

self.initialize_device_time(env)

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

2 participants