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

"throw_away_the_lime" task can not be executed #8

Open
AlexWanghaoming opened this issue Nov 9, 2024 · 0 comments
Open

"throw_away_the_lime" task can not be executed #8

AlexWanghaoming opened this issue Nov 9, 2024 · 0 comments

Comments

@AlexWanghaoming
Copy link

I found that the example task "throw_away_the_lime" can not be executed successfully in virtualhome v. 2.2.4. I just followed the provided example:

"throw_away_the_lime": "def throw_away_the_lime():\n\t# 0: walk to kitchen\n\twalk('kitchen')\n\t# 1: find garbage can\n\tfind('garbagecan')\n\t# 2: grab lime\n\tfind('lime')\n\tassert('close' to 'lime')\n\t\telse: find('lime')\n\tgrab('lime')\n\t# 3: put lime in garbage can\n\tfind('garbagecan')\n\tassert('close' to 'garbagecan' ) \n\t\telse: find('garbagecan')\n\tassert('garbagecan' is 'closed' )\n\t\telse: close('garbagecan')\n\topen('garbagecan')\n\tassert('lime' in 'hands' )\n\t\telse: find('lime')\n\t\telse: grab('lime')\n\tassert('close' to 'garbagecan' ) \n\t\telse: find('garbagecan')\n\tassert('garbagecan' is 'opened' )\n\t\telse: open('garbagecan')\n\tputin('lime', 'garbagecan')\n\tassert('close' to 'garbagecan' )\n\t\telse: find('garbagecan')\n\tassert('garbagecan' is 'opened' )\n\t\telse: open('garbagecan')\n\tclose('garbagecan')\n\t# 4: Done",

and got an error at step "find(lime)":

{'0': {'message': 'ScriptExcutor 0: PROCESS WALK: Can not select object: lime. REASON: No interaction positions\nEXECUTION_GENERAL: Script is impossible to execute\n\n'}}

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

1 participant