MineDojo / MineCLIP

Foundation Model for MineDojo
MIT License
232 stars 31 forks source link

an error when running main/dense_reward/animal_zoo/run.py #2

Open whcpumpkin opened 2 years ago

whcpumpkin commented 2 years ago

Hello! When i run main/dense_reward/animal_zoo/run.py, it seems that there is an error about the version of gradle in main/dense_reward/animal_zoo/dense_reward.py line 39. How do i deal with gradle? The full error report is shown as follow.

[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded. /home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/gym/spaces/box.py:73: UserWarning: WARN: Box bound precision lowered by casting to float32 logger.warn( Episode: 0%| | 0/2 [00:00<?, ?it/s][INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded. Episode: 0%| | 0/2 [01:37<?, ?it/s] Traceback (most recent call last): File "/home/user/anaconda3/envs/largemodel/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/user/anaconda3/envs/largemodel/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/user/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/main.py", line 45, in cli.main() File "/home/user/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main run() File "/home/user/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 285, in run_file runpy.run_path(target_as_str, run_name=compat.force_str("main")) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/runpy.py", line 268, in run_path return _run_module_code(code, init_globals, run_name, File "/home/user/anaconda3/envs/largemodel/lib/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/home/user/anaconda3/envs/largemodel/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/user/whc/MineCLIP/main/dense_reward/animal_zoo/run.py", line 14, in obs = env.reset() File "/home/user/whc/MineCLIP/mineclip/dense_reward/animal_zoo/hunt_cow.py", line 78, in reset return super().reset(kwargs) File "/home/user/whc/MineCLIP/mineclip/dense_reward/animal_zoo/dense_reward.py", line 39, in reset obs = super().reset(kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/gym/core.py", line 292, in reset return self.env.reset(kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/gym/core.py", line 292, in reset return self.env.reset(kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/wrappers/ar_nn/delta_inventory_wrapper.py", line 78, in reset observation = self.env.reset(kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/gym/core.py", line 319, in reset observation = self.env.reset(kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/wrappers/ar_nn/nn_action_space_wrapper.py", line 259, in reset obs = self.env.reset(*kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/tasks/meta/base.py", line 87, in reset obs = self.env.reset() File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/wrappers/fast_reset.py", line 71, in reset return self.env.reset() File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/sim.py", line 419, in reset raw_obs = self._bridge_env.reset(episode_id, [xml])[0] File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/bridge/bridge_env/bridge_env.py", line 72, in reset self._setup_instances() File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/bridge/bridge_env/bridge_env.py", line 157, in _setup_instances self._instances.extend([f.result() for f in instance_futures]) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/bridge/bridge_env/bridge_env.py", line 157, in self._instances.extend([f.result() for f in instance_futures]) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/concurrent/futures/_base.py", line 439, in result return self.get_result() File "/home/user/anaconda3/envs/largemodel/lib/python3.9/concurrent/futures/_base.py", line 391, in get_result raise self._exception File "/home/user/anaconda3/envs/largemodel/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(self.args, **self.kwargs) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/bridge/bridge_env/bridge_env.py", line 177, in _get_new_instance instance.launch(replaceable=self._is_fault_tolerant) File "/home/user/anaconda3/envs/largemodel/lib/python3.9/site-packages/minedojo/sim/bridge/mc_instance/instance.py", line 201, in launch raise EOFError( EOFError: /tmp/tmpw8obb0gu/Minecraft

Configuration file

Autogenerated from command-line options

malmoports { I:portOverride=11967 } malmoscore { I:policy=0 }

malmoseed { I:seed=410979445 }

runtype { B:replaceable=true }

envtype { B:env=true }

/tmp/tmpw8obb0gu/Minecraft/run

HELLO

Configure project : This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril. Found AccessTransformer: malmomod_at.cfg

Task :deobfCompileDummyTask Task :deobfProvidedDummyTask Task :getVersionJson Task :extractUserdev Task :downloadClient SKIPPED Task :downloadServer SKIPPED Task :splitServerJar SKIPPED Task :mergeJars SKIPPED Task :applyBinaryPatches Task :extractDependencyATs SKIPPED Task :extractMcpData SKIPPED Task :extractMcpMappings SKIPPED Task :genSrgs SKIPPED

Task :deobfMcMCP Applying SpecialSource... Applying Exceptor... Applying RuntimeInvisibleParameterAnnotations workaround...

Task :sourceApiJava Task :compileApiJava NO-SOURCE Task :processApiResources NO-SOURCE Task :apiClasses UP-TO-DATE Task :copyModToClient NO-SOURCE Task :copyModToServer NO-SOURCE Task :copySrg Task :deleteSchemas Task :copySchemas Task :jaxb Task :sourceMainJava

Task :compileJava Note: SpongePowered MIXIN Annotation Processor Version=0.7.5 Note: ObfuscationServiceMCP supports type: "searge" Note: ObfuscationServiceMCP supports type: "notch" Note: Loading searge mappings from /home/user/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-srg.srg Note: Loading notch mappings from /home/user/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-notch.srg Note: Writing refmap to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/compileJava-refmap.json /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinItemFood.java:15: warning: @Overwrite is missing javadoc comment public int getMaxItemUseDuration(ItemStack item) ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMergeStatsFix.java:16: warning: No obfuscation mapping for @Overwrite method private static void mergeStatBases(StatBase[] statBaseIn, Block block1, Block block2, boolean useItemIds) ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:13: warning: @Overwrite is missing javadoc comment public static boolean isCreated() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:18: warning: @Overwrite is missing javadoc comment public static void poll() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:23: warning: @Overwrite is missing javadoc comment public static boolean isKeyDown(int key) { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:28: warning: @Overwrite is missing javadoc comment public static boolean next() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:33: warning: @Overwrite is missing javadoc comment public static int getEventKey() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:38: warning: @Overwrite is missing javadoc comment public static char getEventCharacter() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:43: warning: @Overwrite is missing javadoc comment public static boolean getEventKeyState() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:48: warning: @Overwrite is missing javadoc comment public static long getEventNanoseconds() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinKeyboard.java:53: warning: @Overwrite is missing javadoc comment public static boolean isRepeatEvent() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinUpdateChunksNoTimeout.java:35: warning: @Overwrite is missing javadoc comment public void updateChunks(long finishTimeNano) ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:12: warning: @Overwrite is missing javadoc comment public static boolean isCreated() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:17: warning: @Overwrite is missing javadoc comment public static void poll() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:22: warning: @Overwrite is missing javadoc comment public static void setGrabbed(boolean grabbed) { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:27: warning: @Overwrite is missing javadoc comment public static boolean next() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:32: warning: @Overwrite is missing javadoc comment public static int getX() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:37: warning: @Overwrite is missing javadoc comment public static int getY() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:42: warning: @Overwrite is missing javadoc comment public static int getDX() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:47: warning: @Overwrite is missing javadoc comment public static int getDY() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:52: warning: @Overwrite is missing javadoc comment public static int getEventButton() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:57: warning: @Overwrite is missing javadoc comment public static boolean getEventButtonState() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:62: warning: @Overwrite is missing javadoc comment public static int getEventX() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:67: warning: @Overwrite is missing javadoc comment public static int getEventY() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:72: warning: @Overwrite is missing javadoc comment public static int getEventDX() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:77: warning: @Overwrite is missing javadoc comment public static int getEventDY() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:82: warning: @Overwrite is missing javadoc comment public static int getEventDWheel() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:87: warning: @Overwrite is missing javadoc comment public static long getEventNanoseconds() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:92: warning: @Overwrite is missing javadoc comment public static boolean isButtonDown(int button) { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:97: warning: @Overwrite is missing javadoc comment public static boolean isInsideWindow() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMouse.java:102: warning: @Overwrite is missing javadoc comment public static void setCursorPosition(int newX, int newY) { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinDisplay.java:11: warning: No obfuscation mapping for @Overwrite method public static boolean isActive() { ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinItemBucketMilk.java:13: warning: @Overwrite is missing javadoc comment public int getMaxItemUseDuration(ItemStack item) ^ /tmp/tmpw8obb0gu/Minecraft/build/sources/main/java/com/microsoft/Malmo/Mixins/MixinMinecraftGameloop.java:273: warning: @Overwrite is missing javadoc comment public void setIngameFocus() ^ Note: Writing refmap to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/compileJava-refmap.json Note: Writing searge output SRGs to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/mcp-srg.srg Note: Writing notch output SRGs to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/mcp-notch.srg Note: Writing refmap to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/compileJava-refmap.json Note: Writing refmap to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/compileJava-refmap.json Note: Writing searge output SRGs to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/mcp-srg.srg Note: Writing notch output SRGs to /tmp/tmpw8obb0gu/Minecraft/build/tmp/compileJava/mcp-notch.srg Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 34 warnings

Task :processResources Task :classes Task :jar Task :extractNatives SKIPPED Task :getAssetIndex UP-TO-DATE Task :getAssets Task :makeStart SKIPPED

Task :runClient [17:21:32] [main/INFO]: Extra: [--tweakClass, com.microsoft.Malmo.Launcher.tweakers.CoremodTweaker] [17:21:32] [main/INFO]: Found and added coremod: com.microsoft.Malmo.OverclockingPlugin [17:21:32] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, /home/user/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, com.microsoft.Malmo.Launcher.tweakers.CoremodTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [17:21:32] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:21:32] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:21:32] [main/INFO]: Loading tweak class name com.microsoft.Malmo.Launcher.tweakers.CoremodTweaker [17:21:32] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [17:21:32] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [17:21:32] [main/INFO]: Forge Mod Loader version 13.20.1.2588 for Minecraft 1.11.2 loading [17:21:32] [main/INFO]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_342, running on Linux:amd64:5.4.0-122-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre [17:21:32] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:21:32] [main/INFO]: Found a command line coremod : com.microsoft.Malmo.OverclockingPlugin [17:21:32] [main/WARN]: The coremod com.microsoft.Malmo.OverclockingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:21:33] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.5 Source=file:/home/user/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.7.5-SNAPSHOT/c989878008c2c5ff1a7c6491c4103d8faa221d19/mixin-0.7.5-SNAPSHOT.jar Service=LaunchWrapper Env=CLIENT /****/ / SpongePowered MIXIN (Verbose debugging enabled) / /****/ / Code source : file:/home/user/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.7.5-SNAPSHOT/c989878008c2c5ff1a7c6491c4103d8faa221d19/mixin-0.7.5-SNAPSHOT.jar / / Internal Version : 0.7.5 / / Java 8 Supported : true / /****/ / Service Name : LaunchWrapper / / Service Class : org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper / /****/ / mixin.debug : / / mixin.debug.export : - / / mixin.debug.export.filter : - - / / mixin.debug.export.decompile : - - / / mixin.debug.export.decompile.async : - - - / / mixin.debug.verify : - / / mixin.debug.verbose : - / / mixin.debug.countInjections : - / / mixin.debug.strict : - / / mixin.debug.strict.unique : - - / / mixin.debug.strict.targets : - - / / mixin.debug.profiler : - / / mixin.dumpTargetOnFailure : / / mixin.checks : / / mixin.checks.interfaces : - / / mixin.checks.interfaces.strict : - - / / mixin.ignoreConstraints : / / mixin.hotSwap : / / mixin.env : / / mixin.env.obf : - / / mixin.env.disableRefMap : - / / mixin.env.remapRefMap : - / / mixin.env.refMapRemappingFile : - <> / / mixin.env.refMapRemappingEnv : - / / mixin.env.ignoreRequired : - / / mixin.env.compatLevel : - / / mixin.env.shiftByViolation : - / / mixin.initialiserInjectionMode : / /****/ / Detected Side : CLIENT / /****/ [17:21:33] [main/INFO]: Attempting to load Fernflower decompiler (Threaded mode) [17:21:33] [main/INFO]: Fernflower could not be loaded, exported classes will not be decompiled. NoClassDefFoundError: org/jetbrains/java/decompiler/main/extern/IResultSaver [17:21:33] [main/INFO]: Compatibility level set to JAVA_8 [17:21:33] [main/INFO]: Calling tweak class com.microsoft.Malmo.Launcher.tweakers.CoremodTweaker [17:21:33] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [17:21:33] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:21:33] [main/INFO]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [17:21:33] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [17:21:33] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:21:33] [main/INFO]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin [17:21:33] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:21:33] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker [17:21:33] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:21:33] [main/INFO]: Loading tweak class name com.microsoft.Malmo.Launcher.tweakers.AccessTransformerTweaker [17:21:33] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:21:33] [main/INFO]: Preparing mixins for MixinEnvironment[PREINIT] [17:21:33] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:21:33] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:21:33] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker [17:21:33] [main/INFO]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@6f330eb9 [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:21:33] [main/INFO]: Calling tweak class com.microsoft.Malmo.Launcher.tweakers.AccessTransformerTweaker [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:21:33] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [17:21:33] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [17:21:33] [main/INFO]: Preparing mixins for MixinEnvironment[DEFAULT] [17:21:33] [main/INFO]: Selecting config mixins.overclocking.malmomod.json [17:21:33] [main/WARN]: Reference map 'mixins.malmo.refmap.json' for mixins.overclocking.malmomod.json could not be read. If this is a development environment you can ignore this message [17:21:33] [main/INFO]: Preparing mixins.overclocking.malmomod.json (16) [17:21:33] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:21:33] [main/INFO]: Mixing MixinMinecraftGameloop from mixins.overclocking.malmomod.json into net.minecraft.client.Minecraft [17:21:34] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:insertTextureHandler:120]: MALMO: Found GlStateManager, attempting to transform it [17:21:34] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:insertTextureHandler:126]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it [17:21:34] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:insertTextureHandler:139]: MALMO: Hooked into call to GlStateManager.bindTexture() [17:21:34] [main/INFO]: A re-entrant transformer '$wrapper.com.microsoft.Malmo.OverclockingClassTransformer' was detected and will no longer process meta class data [17:21:34] [main/INFO]: Mixing MixinEntityRandom from mixins.overclocking.malmomod.json into net.minecraft.entity.Entity [17:21:34] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.EntityPlayerSP [17:21:34] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.AbstractClientPlayer [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [main/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl, but that path is defined and not secure [17:21:34] [Client thread/INFO]: Mixing MixinMinecraftServerRun from mixins.overclocking.malmomod.json into net.minecraft.server.MinecraftServer [17:21:34] [Client thread/WARN]: @Shadow target mixins.overclocking.malmomod.json:MixinMinecraftServerRun::statusResponse is final but shadow is not decorated with @Final [17:21:34] [Client thread/WARN]: @Shadow target mixins.overclocking.malmomod.json:MixinMinecraftServerRun::LOG is final but shadow is not decorated with @Final [17:21:34] [Client thread/INFO]: Setting user: Player445 [17:21:35] [Client thread/INFO]: Mixing MixinItemFood from mixins.overclocking.malmomod.json into net.minecraft.item.ItemFood [17:21:35] [Client thread/INFO]: Mixing MixinItemBucketMilk from mixins.overclocking.malmomod.json into net.minecraft.item.ItemBucketMilk [17:21:35] [Client thread/INFO]: Mixing MixinSyncClientStats from mixins.overclocking.malmomod.json into net.minecraft.entity.player.EntityPlayerMP [17:21:35] [Client thread/INFO]: Mixing MixinMergeStatsFix from mixins.overclocking.malmomod.json into net.minecraft.stats.StatList [17:21:36] [Client thread/WARN]: Skipping bad option: lastServer: [17:21:36] [Client thread/INFO]: LWJGL Version: 2.9.4 [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/INFO]: Mixing MixinDisplay from mixins.overclocking.malmomod.json into org.lwjgl.opengl.Display [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager, attempting to transform it [17:21:36] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it [17:21:36] [Client thread/INFO]: [STDOUT]: MALMO: Hooked into call to GlStateManager.bindTexture() [17:21:36] [Client thread/ERROR]: The jar file /home/user/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.4-nightly-20150209/697517568c68e78ae0b4544145af031c81082dfe/lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure [17:21:36] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:523]: ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft!

Time: 8/13/22 5:21 PM Description: Initializing game

java.lang.ExceptionInInitializerError at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:629) at net.minecraft.client.Minecraft.init(Minecraft.java:429) at net.minecraft.client.Minecraft.run(Minecraft.java:352) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: Could not open X display connection at org.lwjgl.opengl.Display.(Display.java:141) ... 16 more Caused by: org.lwjgl.LWJGLException: Could not open X display connection at org.lwjgl.opengl.LinuxDisplay.openDisplay(Native Method) at org.lwjgl.opengl.LinuxDisplay.incDisplay(LinuxDisplay.java:305) at org.lwjgl.opengl.LinuxDisplay.internAtom(LinuxDisplay.java:629) at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:734) at org.lwjgl.opengl.Display.(Display.java:138) ... 16 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Client thread Stacktrace: at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:629) at net.minecraft.client.Minecraft.init(Minecraft.java:429)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:352) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26)

-- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Linux (amd64) version 5.4.0-122-generic Java Version: 1.8.0_342, Private Build Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Private Build Memory: 1280054720 bytes (1220 MB) / 1476919296 bytes (1408 MB) up to 1908932608 bytes (1820 MB) JVM Flags: 2 total; -Xdebug -Xmx2G IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): OverclockingPlugin (MalmoMod-0.37.0.jar) com.microsoft.Malmo.OverclockingClassTransformer Launched Version: 1.11.2 LWJGL: 2.9.4 OpenGL: ERROR RuntimeException: No OpenGL context found in the current thread. GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: ERROR NullPointerException: null Profiler Position: N/A (disabled) CPU: [17:21:36] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:523]: #@!@# Game crashed! Crash report saved to: #@!@# /tmp/tmpw8obb0gu/Minecraft/run/./crash-reports/crash-2022-08-13_17.21.36-client.txt

Task :runClient FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 23s 18 actionable tasks: 17 executed, 1 up-to-date

Minecraft process finished unexpectedly. There was an error with Malmo.

yunfanjiang commented 2 years ago

Hey, did you follow the installation guide to install MineDojo first?

whcpumpkin commented 2 years ago

Hi

I did follow the guide.

And the java version:

openjdk version "1.8.0_342" OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~18.04-b07) OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)

After installing Java JDK 8, in case your Ubuntu comes with pre-installed Java, you may need to run the following code to switch default Java version:​

root@ubuntu:/home/user/whc# sudo update-alternatives --config java There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java Nothing to configure.​

Will there be some problems about using Ubuntu 18.04?

Hey, did you follow the installation guide to install MineDojo first?