allenai / allenai/ai2thor

TimeouError when opening or closing Blinds in iTHOR

オープン
#1,213 コメント 2 件 リアクション 0 件 担当者 1 名 @winthos が担当を希望しています GitHub で見る
主要言語
C#
スター
1.8k
フォーク
296
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,
As the title says, I'm getting `TimeoutError`s when interacting with `Blinds` in `iTHOR` scenes.
I have tested several scenes among `Bedroom` and `Kitchen`, and all fo them produced this error.

Here's a very simple script to reproduce the error:
```python
from ai2thor.controller import Controller
controller = Controller()
controller.reset("FloorPlan15")

controller.step(
"OpenObject",
objectId="Blinds|-01.41|+02.09|-00.30",
forceAction=True,
)
```

You should get this:
```Python Traceback
Traceback (most recent call last):
File "/Users/bob/anaconda3/envs/ithor_issue/lib/python3.12/site-packages/ai2thor/controller.py", line 979, in step
self.last_event = self.server.receive()
^^^^^^^^^^^^^^^^^^^^^
File "/Users/bob/anaconda3/envs/ithor_issue/lib/python3.12/site-packages/ai2thor/fifo_server.py", line 229, in receive
metadata, files = self._recv_message(
^^^^^^^^^^^^^^^^^^^
File "/Users/bob/anaconda3/envs/ithor_issue/lib/python3.12/site-packages/ai2thor/fifo_server.py", line 145, in _recv_message
header = self._read_with_timeout(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bob/anaconda3/envs/ithor_issue/lib/python3.12/site-packages/ai2thor/fifo_server.py", line 134, in _read_with_timeout
raise TimeoutError(f"Reading from AI2-THOR backend timed out (using {timeout}s) timeout.")
TimeoutError: Reading from AI2-THOR backend timed out (using 100.0s) timeout.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/bob/ithor_test/bug_script.py", line 6, in
controller.step(
File "/Users/bob/anaconda3/envs/ithor_issue/lib/python3.12/site-packages/ai2thor/controller.py", line 997, in step
raise (TimeoutError if isinstance(e, TimeoutError) else RuntimeError)(
TimeoutError: Error encountered when running action {'action': 'OpenObject', 'objectId': 'Blinds|-01.41|+02.09|-00.30', 'forceAction': True, 'sequenceId': 2} in scene FloorPlan15_physics.
```

For reference, I'm using ai2thor 5.0.0 and python 3.12.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。