You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests failing when things are built with Lua 5.2. See #24
Reverting here to unblock the CI pipeline.
PiperOrigin-RevId: 435394996
Change-Id: I9d2244e3759f6eb3f701a92f5f2fed0e72934b46
self = <dmlab2d.Environment object at 0x15f0bfa90>
def reset(self):
"""See base class."""
self._reset_next_step = False
> self._env.start(self._next_episode, seed=self._rng.randint(0, 2**31))
E ValueError: Failed to start:
E ERROR: ./meltingpot/lua/modules/component_library.lua:261: Error: Must call Transform:start(...) before Transform:getPiece().
E stack trace-back:
E ERROR: [C]: in function 'assert'
E ERROR: @./meltingpot/lua/modules/component_library.lua:261:
E ERROR: @/Users/runner/work/meltingpot/meltingpot/meltingpot/lua/levels/commons_harvest/components.lua:143: in function 'start'
E ERROR: @./meltingpot/lua/modules/game_object.lua:423: in function 'func'
E ERROR: @./meltingpot/lua/modules/game_object.lua:160: in function '_doOnAllComponents'
E ERROR: @./meltingpot/lua/modules/game_object.lua:420: in function 'start'
E ERROR: @./meltingpot/lua/modules/base_simulation.lua:465: in function 'start'
E ERROR: @./meltingpot/lua/modules/api_factory.lua:100:
e.g. https://github.com/deepmind/meltingpot/actions/runs/1999939516
Until this is fixed better to use Lua 5.1 rather than Lua 5.2. This may have an impact on building Melting Pot on Apple M1 chips, see #13.
The text was updated successfully, but these errors were encountered: