web-arena-x / visualwebarena

VisualWebArena is a benchmark for multimodal agents.
https://jykoh.com/vwa
MIT License
232 stars 44 forks source link

Some examples will report an error when running run.py #17

Closed XinrunXu closed 6 months ago

XinrunXu commented 7 months ago

''' Processing config_files/test_classifieds\5.json 2024-03-28 22:25:05,874 - INFO - [Config file]: config_files/test_classifieds\5.json 2024-03-28 22:25:05,875 - INFO - [Intent]: Navigate to my listing of the white car and delete it. 2024-03-28 22:25:06,181 - INFO - [Unhandled Error] InvalidSchema("No connection adapters were found for '127.0.0.1:9980/index.php?page=reset'")] Processing config_files/test_classifieds\6.json 2024-03-28 22:25:06,182 - INFO - [Config file]: config_files/test_classifieds\6.json 2024-03-28 22:25:06,183 - INFO - [Intent]: Return the links of the 3 most recent motorcycles within $1000 to $2000 that are not orange. Start testing config_files/test_classifieds\6.json Finish testing config_files/test_classifieds\6.json 2024-03-28 22:27:15,567 - INFO - [Unhandled Error] LookupError("\n**\n Resource \x1b[93mpunkt\x1b[0m not found.\n Please use the NLTK Downloader to obtain the resource:\n\n \x1b[31m>>> import nltk\n >>> nltk.download('punkt')\n \x1b[0m\n For more information see: https://www.nltk.org/data.html\n\n Attempted to load \x1b[93mtokenizers/punkt/english.pickle\x1b[0m\n\n Searched in:\n - 'C:\\Users\\PS/nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\share\\nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\lib\\nltk_data'\n - 'C:\\Users\\PS\\AppData\\Roaming\\nltk_data'\n - 'C:\\nltk_data'\n - 'D:\\nltk_data'\n - 'E:\\nltk_data'\n - ''\n**\n")] Processing config_files/test_classifieds\7.json 2024-03-28 22:27:15,570 - INFO - [Config file]: config_files/test_classifieds\7.json 2024-03-28 22:27:15,570 - INFO - [Intent]: Return the links of the 2 most recent items in the "Cell phones" category within $300 to $600 that are white in color. Start testing config_files/test_classifieds\7.json Finish testing config_files/test_classifieds\7.json 2024-03-28 22:28:47,585 - INFO - [Unhandled Error] LookupError("\n**\n Resource \x1b[93mpunkt\x1b[0m not found.\n Please use the NLTK Downloader to obtain the resource:\n\n \x1b[31m>>> import nltk\n >>> nltk.download('punkt')\n \x1b[0m\n For more information see: https://www.nltk.org/data.html\n\n Attempted to load \x1b[93mtokenizers/punkt/english.pickle\x1b[0m\n\n Searched in:\n - 'C:\\Users\\PS/nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\share\\nltk_data'\n - 'C:\\Users\\PS\\Desktop\\visualwebarena\\venv\\lib\\nltk_data'\n - 'C:\\Users\\PS\\AppData\\Roaming\\nltk_data'\n - 'C:\\nltk_data'\n - 'D:\\nltk_data'\n - 'E:\\nltk_data'\n - ''\n**\n")] '''

XinrunXu commented 7 months ago

image

kohjingyu commented 7 months ago

Hmm, weird -- for the second error, can you confirm that you've set up the shopping environment as described here? Also, if you visit http://127.0.0.1:7770 in your browser, can you view the site correctly?

srikar2097 commented 4 months ago

@kohjingyu what about the first nltk error? I see this often. I confirm I can view the site when I visit the localhost location.

entslscheia commented 4 months ago

@kohjingyu I guess the reason is probably that @XinrunXu did export SHOPPING="127.0.0.1:7770" instead of export SHOPPING="http://127.0.0.1:7770"