-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Issue Description:
When running python -m minestudio.simulator.entry for testing, the program hangs at obs, info = sim.reset() and throws the following exception when interrupt:
Traceback (most recent call last):
File "/home/.../conda/mcvla/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/.../conda/mcvla/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/.../MineStudio/minestudio/simulator/entry.py", line 342, in <module>
obs, info = sim.reset()
File "/.../MineStudio/minestudio/simulator/entry.py", line 218, in reset
self.env.reset()
File "/.../MineStudio/minestudio/simulator/minerl/env/_singleagent.py", line 22, in reset
multi_obs = super().reset()
File "/.../MineStudio/minestudio/simulator/minerl/env/_multiagent.py", line 478, in reset
self._setup_instances()
File "/.../MineStudio/minestudio/simulator/minerl/env/_multiagent.py", line 579, in _setup_instances
with ThreadPoolExecutor(max_workers=num_instances_to_start) as tpe:
File "/home/.../conda/mcvla/lib/python3.10/concurrent/futures/_base.py", line 649, in __exit__
self.shutdown(wait=True)
File "/home/.../conda/mcvla/lib/python3.10/concurrent/futures/thread.py", line 235, in shutdown
t.join()
File "/home/.../conda/mcvla/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
File "/home/.../conda/mcvla/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
KeyboardInterruptEnvironment:
- OS: CentOS 7
- Python: 3.10.14
- Java path:
/usr/local/jdk1.8.0_45/bin/java(installed via yum)
Steps Taken:
- Referenced Issue #12 to confirm Java installation method. Confirmed that Java was not installed via conda. But I have to install it via yum since i'm using CentOS.
- Directly ran the command from
_launch_minecraftinMineStudio/minestudio/simulator/minerl/env/malmo.py:The output logs are as follows:MineStudio/minestudio/simulator/minerl/env/launchClient.sh -port 12537 -fatjar /tmp/MineStudio/engine/build/libs/mcprec-6.13.jar -device cpu
After this, the Minecraft client produces no further output, and the simulator hangs.SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [14:33:40] [main/INFO]: [OptiFine] (Reflector) Field not found: World.tileEntitiesToBeRemoved [14:33:40] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.eventbus.api.Event$Result [14:33:40] [main/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.common.extensions.IForgeBlockState.hasTileEntity [14:33:40] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeEntity [14:33:40] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.CrashReportExtender [14:33:41] [main/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.tags.ItemTags.createOptional [14:33:46] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient [14:33:46] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [14:33:48] [Render thread/ERROR]: Failed to verify authentication! [14:33:48] [Render thread/INFO]: Setting user: Player307 [14:33:48] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyConflictContext [14:33:48] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraft.launchwrapper.Launch [14:33:48] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 SNAPSHOT
I would greatly appreciate any advice or suggestions to resolve this issue.
Metadata
Metadata
Assignees
Labels
No labels