minerllabs / minerl Goto Github PK
View Code? Open in Web Editor NEWMineRL Competition for Sample Efficient Reinforcement Learning - Python Package
Home Page: http://minerl.io/docs/
License: Other
MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
Home Page: http://minerl.io/docs/
License: Other
It seems that 'MineRLNavigateDense-v0' enviroment will return observation (64,64,3) with all zeros after repeating same action few time, action causing the problem can either be random sampled using env.action_space.sample()
or created using OrderedDict([('attack', 1), ('back', 0), ('camera', [ 0, 0 ]), ('forward', 1), ('jump', 1), ('left', 0), ('place', 0), ('right', 0), ('sneak', 0), ('sprint', 0)])
Code I used:
import gym
import minerl
import numpy as np
env = gym.make('MineRLNavigateDense-v0')
env.reset()
action = env.action_space.sample()
obs, reward, done, _ = env.step(action);print(np.sum(obs['pov']))
obs, reward, done, _ = env.step(action);print(np.sum(obs['pov']))
# some times occur even after three repeat
obs, reward, done, _ = env.step(action);print(np.sum(obs['pov']))
env.reset()
newaction = OrderedDict([('attack', 1),
('back', 0),
('camera', [ 0, 0 ]),
('forward', 1),
('jump', 1),
('left', 0),
('place', 0),
('right', 0),
('sneak', 0),
('sprint', 0)])
obs, reward, done, _ = env.step(newaction);print(np.sum(obs['pov']))
obs, reward, done, _ = env.step(newaction);print(np.sum(obs['pov']))
# still happens even after reset
obs, reward, done, _ = env.step(newaction);print(np.sum(obs['pov']))
This is more a FYI about documentation than it is a bug in code, but trying to run the commands that you recommend in the docs to install Java8 on a mac, namely:
brew tap caskroom/versions
brew cask install java8
errors out with
Error: Cask 'java8' is unavailable: No Cask with this name exists.
Per this stack overflow, it appears that installing java8 via brew is now best done through AdoptOpenJDK: https://stackoverflow.com/questions/55834845/unable-to-install-java8-with-homebrew
Most of the Treechop unsuccessful trajectories are admin samples. See the pics after 15 second in this gist: https://gist.github.com/Crissman/afe293907b8c35bd29331207e8b01cc4
Please see the Gist: https://gist.github.com/Crissman/727f9500e1795eac88197e7628e68ce8
Reward function is not working correctly. Of 115 trajectories, only 5 show non-zero reward, and those rewards are not consistent with the published evaluation function. For example, a successful diamond find should have a reward of 1+2+4+4โฆ+256+1024 = 1571, which none of five scoring trajectories have.
Over 40 trajectories are under five minutes in length.
Some of the trajectories are using admin commands, for example,MineRLObtainDaimond-v0\player_stream_bogus_guava_djinn-17_31716-33336
They stay in the lobby, and create a diamond, pick it up --profit!
Many of the trajectories start with the "lobby" screen, but then go on to do apparent normal actions. They have the same name as some sessions ending in the lobby, such as bogus-guava-djinn
above. Are they using admin actions?
Please run the above linked Gist on the next data set, to check before publishing.
Thanks,
When testing multiple environments observations are still null
2019-06-19 16:57:44 bigbook minerl.env.malmo[28249] ERROR [16:57:44] [EnvServerSocketHandler/INFO]: [STDOUT]: [ERROR] Video observation is null; please notify the developer.
2019-06-19 16:57:44 bigbook minerl.env.malmo[28249] ERROR Exception in thread "EnvServerSocketHandler" [16:57:44] [EnvServerSocketHandler/INFO]: [STDERR]: java.lang.NullPointerException
2019-06-19 16:57:44 bigbook minerl.env.malmo[28249] ERROR [16:57:44] [EnvServerSocketHandler/INFO]: [STDERR]: at com.microsoft.Malmo.Client.MalmoEnvServer.peek(MalmoEnvServer.java:591)
2019-06-19 16:57:44 bigbook minerl.env.malmo[28249] ERROR [16:57:44] [EnvServerSocketHandler/INFO]: [STDERR]: at com.microsoft.Malmo.Client.MalmoEnvServer.access$700(MalmoEnvServer.java:51)
2019-06-19 16:57:44 bigbook minerl.env.malmo[28249] ERROR [16:57:44] [EnvServerSocketHandler/INFO]: [STDERR]: at com.microsoft.Malmo.Client.MalmoEnvServer$1.run(MalmoEnvServer.java:166)
INFO:minerl.env.malmo:Starting Minecraft process: ['/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
Traceback (most recent call last):
File "test.py", line 5, in
env = gym.make('MineRLObtainDiamond-v0')
File "/home/lzhang/venv/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/home/lzhang/venv/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(kwargs)
File "/home/lzhang/venv/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(_kwargs)
File "/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/core.py", line 126, in init
self.init(observation_space, action_space, port=port)
File "/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/core.py", line 152, in init
self.instance = InstanceManager.get_instance().enter()
File "/usr/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/malmo.py", line 90, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/malmo.py", line 260, in init
self.launch(port, existing)
File "/home/lzhang/venv/lib/python3.6/site-packages/minerl/env/malmo.py", line 288, in launch
raise EOFError("Minecraft process finished unexpectedly")
Use gym.register spec to determine data format
Some instances of MineRLObtainDiamond-v0
show non-zero inventory for first time step where inventory should be empty
Enable offline gradle so that network is not required to run the simulator.
I found the following ERROR logs when terminating Minecraft.
Here is the last lines from my training script's log file:
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: java.io.EOFException
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: at java.io.DataInputStream.readInt(DataInputStream.java:392)
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: at com.microsoft.Malmo.Client.MalmoEnvServer$1.run(MalmoEnvServer.java:147)
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: java.io.EOFException
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: at java.io.DataInputStream.readInt(DataInputStream.java:392)
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDERR]: at com.microsoft.Malmo.Client.MalmoEnvServer$1.run(MalmoEnvServer.java:147)
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDOUT]: [ERROR] MalmoEnv socket error: java.io.EOFException (can be on disconnect)
ERROR - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 327] [00:48:57] [EnvServerSocketHandler/INFO]: [STDOUT]: [ERROR] MalmoEnv socket error: java.io.EOFException (can be on disconnect)
INFO - 2019-06-19 00:48:57,097 - [minerl.env.malmo log_to_file 329] [00:48:57] [EnvServerSocketHandler/INFO]: [STDOUT]: [LOGTOPY] Want to quit on disconnect.
ERROR - 2019-06-19 00:48:57,117 - [minerl.env.malmo log_to_file 327] [00:48:57] [Client thread/INFO]: [STDOUT]: STATE ERROR - multiple states in the queue.
INFO - 2019-06-19 00:49:00,115 - [minerl.env.malmo on_terminate 200] Minecraft process psutil.Process(pid=293, status='terminated') terminated with exit code 0
The exit code for the Python process was 0
(= SUCCESS), so these error logs don't seem errors.
This issue never prevent training/evaluation for RL agents, though. (Just a noise.)
Python 3.6, MineRL 0.1.10 (commit ac59d1fe08175ae574c02bd69e3437902ddfb8fc
)
There's data where the second camera coordinate is outside the [-180,180] interval contrary to what's specified here
For example, for Treechop, we have:
r2g1alarming_arugula_medusa-12_60585-61411 (827 frames)
camera0: min=-82.05001068115234 (Frame 1), max=1.6500000953674316 (Frame 8)
camera1: min=-183.29974365234375 (Frame 1), max=1.7999999523162842 (Frame 8)
r2g1extroverted_broccoli_griffin-4_6992-7666 (675 frames)
camera0: min=-10.200002670288086 (Frame 407), max=11.25 (Frame 437)
camera1: min=-703.4344482421875 (Frame 2), max=55.650001525878906 (Frame 98)
r2g1sticky_chick_pea_gnome-16_3545-5489 (1945 frames)
camera0: min=-105.75 (Frame 1629), max=70.79999542236328 (Frame 137)
camera1: min=-48.149993896484375 (Frame 825), max=984.045654296875 (Frame 2)
r2g1absolute_grape_changeling-15_5572-7668 (2097 frames)
camera0: min=-79.3499984741211 (Frame 1941), max=64.5 (Frame 231)
camera1: min=-384.90008544921875 (Frame 1), max=72.60000610351562 (Frame 1512)
r2g1tempting_capers_shapeshifter-14_12243-16213 (3971 frames)
camera0: min=-105.30882263183594 (Frame 1964), max=96.33769226074219 (Frame 2044)
camera1: min=-179.41265869140625 (Frame 985), max=360.0006103515625 (Frame 2222)
r2g1hoarse_watermelon_gargoyle-18_4757-5329 (573 frames)
camera0: min=-79.35010528564453 (Frame 1), max=11.549999237060547 (Frame 540)
camera1: min=-266.54931640625 (Frame 1), max=30.449951171875 (Frame 539)
r2g1subtle_iceberg_lettuce_nymph-6_9809-11841 (2033 frames)
camera0: min=-66.9000015258789 (Frame 435), max=38.84999084472656 (Frame 1191)
camera1: min=-60.449981689453125 (Frame 700), max=738.307861328125 (Frame 1929)
r2g1ugly_cress_orc-13_2530-2844 (315 frames)
camera0: min=-78.5999984741211 (Frame 1), max=18.450000762939453 (Frame 279)
camera1: min=-365.54998779296875 (Frame 1), max=19.950000762939453 (Frame 21)
r2g1subtle_iceberg_lettuce_nymph-6_3819-6067 (2249 frames)
camera0: min=-66.75 (Frame 531), max=41.39999771118164 (Frame 1052)
camera1: min=-42.75 (Frame 1695), max=249.75213623046875 (Frame 1672)
r2g1cool_sweet_potato_nymph-13_724-5562 (4839 frames)
camera0: min=-32.400001525878906 (Frame 2534), max=39.45003128051758 (Frame 1923)
camera1: min=-362.70001220703125 (Frame 1), max=232.80084228515625 (Frame 4185)
As it can be observed some of these happen during the initial frames, which could be related the initial teleportation that seems to be going on, but there are also cases like r2g1cool_sweet_potato_nymph-13_724-5562
where the player should be the one controlling it.
Is it okay that this is happening? if so, then, is it possible to give another fixed range where the values would definitely be contained?
Also, are the actions recorded during the teleportation? and, do they have any effect?
How can I run the environment remotely via SSH ? Even with xvfb-run, it reports error as shown below.
I installed vncserver, then start it and get
New 'c8c13cac-4e57-458c-abb6-85dfaf5ac9:1 (root)' desktop is c8c13cac-4e57-458c-abb6-85dfaf5ac9:1
Then I ` export DISPLAY=c8c13cac-4e57-458c-abb6-85dfaf5ac9:1
But it does not work.
BTW, I have a GPU on the machine.
Can somebody help with it ? Do I have to install Desktop like GNOME ? What actually should I do to make it work?
Thanks.
import minerl
import gym
env = gym.make('MineRLNavigateDense-v0')
obs, _ = env.reset()
done = False
net_reward = 0
while not done:
action = env.action_space.noop()
action['camera'] = [0, 0.03*obs["compassAngle"]]
action['back'] = 0
action['forward'] = 1
action['jump'] = 1
action['attack'] = 1
obs, reward, done, info = env.step(
action)
net_reward += reward
print("Total reward: ", net_reward)
=============================================
INFO:minerl.env.malmo:Starting Minecraft process: ['/root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
DEBUG:minerl.env.malmo:This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: Powered by MCP unknown
DEBUG:minerl.env.malmo: http://modcoderpack.com
DEBUG:minerl.env.malmo: by: Searge, ProfMobius, Fesh0r,
DEBUG:minerl.env.malmo: R4wk, ZeuX, IngisKahn, bspkrs
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo:Found AccessTransformer: malmomod_at.cfg
DEBUG:minerl.env.malmo::deobfCompileDummyTask
DEBUG:minerl.env.malmo::deobfProvidedDummyTask
DEBUG:minerl.env.malmo::getVersionJson
DEBUG:minerl.env.malmo::extractUserdev
DEBUG:minerl.env.malmo::downloadClient SKIPPED
DEBUG:minerl.env.malmo::downloadServer SKIPPED
DEBUG:minerl.env.malmo::splitServerJar SKIPPED
DEBUG:minerl.env.malmo::mergeJars SKIPPED
DEBUG:minerl.env.malmo::applyBinaryPatches SKIPPED
DEBUG:minerl.env.malmo::extractDependencyATs SKIPPED
DEBUG:minerl.env.malmo::extractMcpData SKIPPED
DEBUG:minerl.env.malmo::extractMcpMappings SKIPPED
DEBUG:minerl.env.malmo::genSrgs SKIPPED
DEBUG:minerl.env.malmo::deobfMcMCP
DEBUG:minerl.env.malmo:Applying SpecialSource...
DEBUG:minerl.env.malmo:Applying Exceptor...
DEBUG:minerl.env.malmo:Applying RuntimeInvisibleParameterAnnotations workaround...
DEBUG:minerl.env.malmo::sourceApiJava
DEBUG:minerl.env.malmo::compileApiJava UP-TO-DATE
DEBUG:minerl.env.malmo::processApiResources UP-TO-DATE
DEBUG:minerl.env.malmo::apiClasses UP-TO-DATE
DEBUG:minerl.env.malmo::copyModToClient
DEBUG:minerl.env.malmo::copyModToServer
DEBUG:minerl.env.malmo::copySrg
DEBUG:minerl.env.malmo::deleteSchemas
DEBUG:minerl.env.malmo::copySchemas
DEBUG:minerl.env.malmo::jaxb
DEBUG:minerl.env.malmo::sourceMainJava
DEBUG:minerl.env.malmo::compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
DEBUG:minerl.env.malmo:Note: SpongePowered MIXIN Annotation Processor Version=0.7.5
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "searge"
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "notch"
DEBUG:minerl.env.malmo:Note: Loading searge mappings from /root/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Loading notch mappings from /root/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Some input files use or override a deprecated API.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:deprecation for details.
DEBUG:minerl.env.malmo:Note: Some input files use unchecked or unsafe operations.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:unchecked for details.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo::processResources
DEBUG:minerl.env.malmo::classes
DEBUG:minerl.env.malmo::jar
DEBUG:minerl.env.malmo::extractNatives SKIPPED
DEBUG:minerl.env.malmo::getAssetIndex UP-TO-DATE
DEBUG:minerl.env.malmo::getAssets
DEBUG:minerl.env.malmo::makeStart SKIPPED
DEBUG:minerl.env.malmo::runClient
DEBUG:minerl.env.malmo:[17:07:43] [main/INFO]: Extra: []
DEBUG:minerl.env.malmo:[17:07:43] [main/INFO]: Found and added coremod: com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[17:07:43] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, /root/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Forge Mod Loader version 13.20.0.2228 for Minecraft 1.11.2 loading
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Linux:amd64:3.10.107-1-tlinux2-0047, installed at /usr/java/jdk1.8.0_211-amd64/jre
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Found a command line coremod : com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[17:07:44] [main/WARN]: The coremod com.microsoft.Malmo.OverclockingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.5 Source=file:/root/.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
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Compatibility level set to JAVA_8
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[17:07:44] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
DEBUG:minerl.env.malmo:[17:07:44] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@6ac4944a
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[17:07:44] [main/WARN]: Reference map 'mixins.replaymod.refmap.json' for mixins.overclocking.malmomod.json could not be read. If this is a development environment you can ignore this message
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: A re-entrant transformer '$wrapper.com.microsoft.Malmo.OverclockingClassTransformer' was detected and will no longer process meta class data
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.EntityPlayerSP
DEBUG:minerl.env.malmo:[17:07:45] [main/INFO]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.AbstractClientPlayer
DEBUG:minerl.env.malmo:[17:07:45] [Client thread/INFO]: Setting user: Player727
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/WARN]: Skipping bad option: lastServer:
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: LWJGL Version: 2.9.4
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: [STDOUT]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: [STDOUT]: MALMO: Hooked into call to GlStateManager.bindTexture()
DEBUG:minerl.env.malmo:[17:07:47] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:523]: ---- Minecraft Crash Report ----
DEBUG:minerl.env.malmo:// Surprise! Haha. Well, this is awkward.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Time: 6/19/19 5:07 PM
DEBUG:minerl.env.malmo:Description: Initializing game
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:java.lang.ExceptionInInitializerError
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:629)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.init(Minecraft.java:429)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.run(Minecraft.java:352)
DEBUG:minerl.env.malmo: at net.minecraft.client.main.Main.main(SourceFile:124)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
DEBUG:minerl.env.malmo: at GradleStart.main(GradleStart.java:26)
DEBUG:minerl.env.malmo:Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No display mode extension is available
Traceback (most recent call last):
File "testpy.py", line 11, in
env = gym.make('MineRLNavigateDense-v0')
File "/root/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 183, in make
return registry.make(id, **kwargs)
File "/root/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 125, in make
env = spec.make(kwargs)
File "/root/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 89, in make
env = cls(_kwargs)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/core.py", line 131, in init
self.init(observation_space, action_space, port=port)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/core.py", line 155, in init
self.instance = InstanceManager.get_instance().enter()
File "/root/anaconda3/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 89, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 259, in init
self.launch(port, existing)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 290, in launch
_check_for_launch_errors(line)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 509, in _check_for_launch_errors
"ERROR! MineRL could not detect an X Server, Monitor, or Virtual Monitor! "
RuntimeError: ERROR! MineRL could not detect an X Server, Monitor, or Virtual Monitor!
In order to run minerl environments WITHOUT A HEAD use a software renderer such as 'xvfb':
xvfb-run python3 <your_script.py>
! NOTE: xvfb conflicts with NVIDIA-drivers!
! To run headless MineRL on a system with NVIDIA-drivers, please start a
! vnc server of your choosing and then `export DISPLAY=:<insert ur vnc server #>
If you're receiving this error and there is a monitor attached, make sure your current displayvariable is set correctly:
DISPLAY=:0 python3 <your_script.py>
! NOTE: For this to work your account must be logged on the physical monitor.
If none of these steps work, please complain in the discord!
If all else fails, JUST PUT THIS IN A DOCKER CONTAINER! :)
Originally posted by @chenjunjie1994 in #58 (comment)
import matplotlib.pyplot as plt #
import matplotlib.image as mpimg #
import numpy as np
import minerl
import gym
import logging
logging.basicConfig(level=logging.DEBUG)
And the following is all I get
INFO:minerl.env.malmo:Starting Minecraft process: ['/root/anaconda3/lib/python3.7/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
Traceback (most recent call last):
File "test.py", line 11, in
env = gym.make('MineRLNavigateDense-v0')
File "/root/jjchen/gym-master/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/root/jjchen/gym-master/gym/envs/registration.py", line 101, in make
env = spec.make(kwargs)
File "/root/jjchen/gym-master/gym/envs/registration.py", line 73, in make
env = cls(_kwargs)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/core.py", line 87, in init
self.init()
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/core.py", line 105, in init
self.instance = InstanceManager.get_instance().enter()
File "/root/anaconda3/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 73, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 238, in init
self.launch(port, existing)
File "/root/anaconda3/lib/python3.7/site-packages/minerl/env/malmo.py", line 266, in launch
raise EOFError("Minecraft process finished unexpectedly")
EOFError: Minecraft process finished unexpectedly
Can somebody help with it?
I run it remotely
Is there a way we can better recover from this error:
ion in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/usr/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 717, in post_threadpool_actions
SmartDLObj.retry(str(pool.get_exception()))
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 308, in retry
self.start()
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 243, in start
urlObj = urllib.request.urlopen(req, timeout=self.timeout)
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
INFO:root:Extracting downloaded files ...
Traceback (most recent call last):
File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/usr/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/disk/workspace/cmu/herobraine/minerl/minerl/data/download.py", line 40, in download
obj.start()
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 296, in start
self.wait(raise_exceptions=True)
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 455, in wait
raise self.errors[-1]
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 717, in post_threadpool_actions
SmartDLObj.retry(str(pool.get_exception()))
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 308, in retry
self.start()
File "/home/wguss/.local/lib/python3.6/site-packages/pySmartDL/pySmartDL.py", line 243, in start
urlObj = urllib.request.urlopen(req, timeout=self.timeout)
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/mnt/disk/workspace/cmu/herobraine/minerl/minerl/data/download.py", line 47, in download
tf = tarfile.open(obj.get_dest(), mode="r:*")
File "/usr/lib/python3.6/tarfile.py", line 1571, in open
return func(name, "r", fileobj, **kwargs)
File "/usr/lib/python3.6/tarfile.py", line 1636, in gzopen
fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj)
File "/usr/lib/python3.6/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pySmartDL/data_texture_0_low_res.tar.gz'
Some people experience this error.
INFO:minerl.env.malmo:Starting Minecraft process: ['/home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
DEBUG:minerl.env.malmo:This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: Powered by MCP unknown
DEBUG:minerl.env.malmo: http://modcoderpack.com
DEBUG:minerl.env.malmo: by: Searge, ProfMobius, Fesh0r,
DEBUG:minerl.env.malmo: R4wk, ZeuX, IngisKahn, bspkrs
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo:Found AccessTransformer: malmomod_at.cfg
DEBUG:minerl.env.malmo::deobfCompileDummyTask
DEBUG:minerl.env.malmo::deobfProvidedDummyTask
DEBUG:minerl.env.malmo::sourceApiJava
DEBUG:minerl.env.malmo::compileApiJava UP-TO-DATE
DEBUG:minerl.env.malmo::processApiResources UP-TO-DATE
DEBUG:minerl.env.malmo::apiClasses UP-TO-DATE
DEBUG:minerl.env.malmo::copyModToClient
DEBUG:minerl.env.malmo::copyModToServer
DEBUG:minerl.env.malmo::extractMcpData SKIPPED
DEBUG:minerl.env.malmo::extractMcpMappings SKIPPED
DEBUG:minerl.env.malmo::getVersionJson
DEBUG:minerl.env.malmo::extractUserdev UP-TO-DATE
DEBUG:minerl.env.malmo::genSrgs SKIPPED
DEBUG:minerl.env.malmo::copySrg
DEBUG:minerl.env.malmo::deleteSchemas
DEBUG:minerl.env.malmo::copySchemas
DEBUG:minerl.env.malmo::jaxb
DEBUG:minerl.env.malmo::sourceMainJava
DEBUG:minerl.env.malmo::compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
DEBUG:minerl.env.malmo:Note: SpongePowered MIXIN Annotation Processor Version=0.7.5
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "searge"
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "notch"
DEBUG:minerl.env.malmo:Note: Loading searge mappings from /home/matthieu/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Loading notch mappings from /home/matthieu/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Some input files use or override a deprecated API.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:deprecation for details.
DEBUG:minerl.env.malmo:Note: Some input files use unchecked or unsafe operations.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:unchecked for details.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo::processResources
DEBUG:minerl.env.malmo::classes
DEBUG:minerl.env.malmo::jar
DEBUG:minerl.env.malmo::extractNatives SKIPPED
DEBUG:minerl.env.malmo::getAssetIndex UP-TO-DATE
DEBUG:minerl.env.malmo::getAssets
DEBUG:minerl.env.malmo::makeStart SKIPPED
DEBUG:minerl.env.malmo::runClient
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Extra: []
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Found and added coremod: com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/matthieu/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2228 for Minecraft 1.11.2 loading
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_212, running on Linux:amd64:4.15.0-46-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [FML]: Found a command line coremod : com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[16:46:22] [main/WARN] [FML]: The coremod com.microsoft.Malmo.OverclockingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.5 Source=file:/home/matthieu/.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
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [mixin]: Compatibility level set to JAVA_8
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [GradleStart]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[16:46:22] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
DEBUG:minerl.env.malmo:[16:46:22] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@282308c3
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[16:46:22] [main/WARN] [mixin]: Reference map 'mixins.replaymod.refmap.json' for mixins.overclocking.malmomod.json could not be read. If this is a development environment you can ignore this message
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [mixin]: A re-entrant transformer '$wrapper.com.microsoft.Malmo.OverclockingClassTransformer' was detected and will no longer process meta class data
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.EntityPlayerSP
DEBUG:minerl.env.malmo:[16:46:23] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.AbstractClientPlayer
DEBUG:minerl.env.malmo:[16:46:29] [Client thread/INFO]: Setting user: Player277
DEBUG:minerl.env.malmo:[16:46:31] [Client thread/WARN]: Skipping bad option: lastServer:
DEBUG:minerl.env.malmo:[16:46:31] [Client thread/INFO]: LWJGL Version: 2.9.4
DEBUG:minerl.env.malmo:libGL error: No matching fbConfigs or visuals found
DEBUG:minerl.env.malmo:libGL error: failed to load driver: swrast
DEBUG:minerl.env.malmo:[16:46:36] [Client thread/INFO]: [STDOUT]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[16:46:36] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:36] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it
DEBUG:minerl.env.malmo:[16:46:36] [Client thread/INFO]: [STDOUT]: MALMO: Hooked into call to GlStateManager.bindTexture()
DEBUG:minerl.env.malmo:[16:46:37] [Client thread/INFO]: [STDOUT]: ---- Minecraft Crash Report ----
DEBUG:minerl.env.malmo:// I bet Cylons wouldn't have this problem.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Time: 6/10/19 4:46 PM
DEBUG:minerl.env.malmo:Description: Loading screen debug info
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:A detailed walkthrough of the error, its code path and all known details is as follows:
DEBUG:minerl.env.malmo:---------------------------------------------------------------------------------------
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:-- System Details --
DEBUG:minerl.env.malmo:Details:
DEBUG:minerl.env.malmo: Minecraft Version: 1.11.2
DEBUG:minerl.env.malmo: Operating System: Linux (amd64) version 4.15.0-46-generic
DEBUG:minerl.env.malmo: Java Version: 1.8.0_212, Oracle Corporation
DEBUG:minerl.env.malmo: Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
DEBUG:minerl.env.malmo: Memory: 890573968 bytes (849 MB) / 1014497280 bytes (967 MB) up to 1908932608 bytes (1820 MB)
DEBUG:minerl.env.malmo: JVM Flags: 1 total; -Xmx2G
DEBUG:minerl.env.malmo: IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
DEBUG:minerl.env.malmo: FML:
DEBUG:minerl.env.malmo: Loaded coremods (and transformers):
DEBUG:minerl.env.malmo:OverclockingPlugin (MalmoMod-0.37.0.jar)
DEBUG:minerl.env.malmo: com.microsoft.Malmo.OverclockingClassTransformer
DEBUG:minerl.env.malmo: GL info: ' Vendor: 'Intel Inc.' Version: '1.4 (2.1 INTEL-10.32.48)' Renderer: 'Intel HD Graphics 4000 OpenGL Engine'
DEBUG:minerl.env.malmo:[16:46:37] [Client thread/INFO] [FML]: MinecraftForge v13.20.0.2228 Initialized
DEBUG:minerl.env.malmo:[16:46:37] [Client thread/INFO] [FML]: Replaced 232 ore recipes
DEBUG:minerl.env.malmo:[16:46:37] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
DEBUG:minerl.env.malmo:[16:46:37] [Client thread/INFO] [FML]: Searching /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/run/mods for mods
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, malmomod] at CLIENT
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, malmomod] at SERVER
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Microsoft Malmo Mod
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: MalmoMod in /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/libs/MalmoMod-0.37.0.jar
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: MalmoMod in /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/libs/MalmoMod-0.37.0.jar
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: MalmoMod in /home/matthieu/.local/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/libs/MalmoMod-0.37.0.jar
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Found 444 ObjectHolder annotations
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Applying holder lookups
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Holder lookups applied
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Applying holder lookups
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Holder lookups applied
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Applying holder lookups
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Holder lookups applied
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
DEBUG:minerl.env.malmo:[16:46:38] [Client thread/INFO]: [STDOUT]: Testing schemas against internal version number: 0.37
DEBUG:minerl.env.malmo:[16:46:38] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
DEBUG:minerl.env.malmo:[16:46:39] [Client thread/INFO] [FML]: Applying holder lookups
DEBUG:minerl.env.malmo:[16:46:39] [Client thread/INFO] [FML]: Holder lookups applied
DEBUG:minerl.env.malmo:[16:46:39] [Client thread/INFO] [FML]: Injecting itemstacks
DEBUG:minerl.env.malmo:[16:46:39] [Client thread/INFO] [FML]: Itemstack injection complete
DEBUG:minerl.env.malmo:[16:46:39] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: OUTDATED Target: 13.20.1.2386
DEBUG:minerl.env.malmo:[16:46:39] [Sound Library Loader/INFO]: Starting up SoundSystem...
DEBUG:minerl.env.malmo:[xcb] Unknown request in queue while dequeuing
DEBUG:minerl.env.malmo:[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
DEBUG:minerl.env.malmo:[xcb] Aborting, sorry about that.
DEBUG:minerl.env.malmo:java: ../../src/xcb_io.c :165 : dequeue_pending_request: l'assertion ยซ !xcb_xlib_unknown_req_in_deq ยป a รฉchouรฉ.
DEBUG:minerl.env.malmo::runClient FAILED
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:FAILURE: Build failed with an exception.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:* What went wrong:
DEBUG:minerl.env.malmo:Execution failed for task ':runClient'.
DEBUG:minerl.env.malmo:> Process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' finished with non-zero exit value 134
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:* Try:
DEBUG:minerl.env.malmo:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:BUILD FAILED
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Total time: 26.224 secs
DEBUG:minerl.env.malmo:
---------------------------------------------------------------------------
EOFError Traceback (most recent call last)
<ipython-input-3-9dbc52007bce> in <module>
----> 1 env = gym.make('MineRLNavigateExtremeDense-v0')
~/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py in make(id, **kwargs)
154
155 def make(id, **kwargs):
--> 156 return registry.make(id, **kwargs)
157
158 def spec(id):
~/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py in make(self, path, **kwargs)
99 logger.info('Making new env: %s', path)
100 spec = self.spec(path)
--> 101 env = spec.make(**kwargs)
102 # We used to have people override _reset/_step rather than
103 # reset/step. Set _gym_disable_underscore_compat = True on
~/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py in make(self, **kwargs)
71 else:
72 cls = load(self._entry_point)
---> 73 env = cls(**_kwargs)
74
75 # Make the enviroment aware of which spec it came from.
~/.local/lib/python3.6/site-packages/minerl/env/core.py in __init__(self, xml, observation_space, action_space, port, noop_action, docstr)
124 self.had_to_clean = False
125
--> 126 self.init(observation_space, action_space, port=port)
127
128 def init(self, observation_space, action_space, port=None):
~/.local/lib/python3.6/site-packages/minerl/env/core.py in init(self, observation_space, action_space, port)
150 self.instance = InstanceManager.add_existing_instance(port)
151 else:
--> 152 self.instance = InstanceManager.get_instance().__enter__()
153 # Parse XML file
154 with open(self.xml_file, 'r') as f:
~/anaconda3/lib/python3.6/contextlib.py in __enter__(self)
79 def __enter__(self):
80 try:
---> 81 return next(self.gen)
82 except StopIteration:
83 raise RuntimeError("generator didn't yield") from None
~/.local/lib/python3.6/site-packages/minerl/env/malmo.py in get_instance(cls)
87 if cls.managed:
88 if len(cls._instance_pool) < cls.MAXINSTANCES:
---> 89 inst = cls._Instance(cls._get_valid_port())
90 cls.ninstances += 1
91 cls._instance_pool.append(inst)
~/.local/lib/python3.6/site-packages/minerl/env/malmo.py in __init__(self, port, existing)
257
258 # Launch the instance!
--> 259 self.launch(port, existing)
260
261
~/.local/lib/python3.6/site-packages/minerl/env/malmo.py in launch(self, port, existing)
289 logger.debug("\n".join(line.split("\n")[:-1]))
290 if not line:
--> 291 raise EOFError("Minecraft process finished unexpectedly")
292 client_ready = "CLIENT enter state: DORMANT" in line
293 server_ready = "SERVER enter state: DORMANT" in line
EOFError: Minecraft process finished unexpectedly
Hello, I got the following error on Windows. This occurred on minerl 0.1.0. I use anaconda as my package manager.
Thanks.
(dl) C:\Users\Julius>pip install --upgrade minerl
Collecting minerl
Using cached https://files.pythonhosted.org/packages/4c/92/96178b79dae862df14de89a74dfb742209634c647788728515cae6181a77/minerl-0.1.0.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-3966cea
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
Found AccessTransformer: malmomod_at.cfg
:extractMcpData SKIPPED
:extractMcpMappings
:getVersionJson
:extractUserdev
:genSrgs SKIPPED
:copySrg
:deobfCompileDummyTask
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
:fixMcSources
:applySourcePatches
:remapMcSources
:recompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':recompileMc'.
> Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_211"
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':recompileMc'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: : Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_211"
at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:130)
at org.apache.tools.ant.taskdefs.Javac.findSupportedFileExtensions(Javac.java:985)
at org.apache.tools.ant.taskdefs.Javac.scanDir(Javac.java:962)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:933)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:78)
at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:103)
at net.minecraftforge.gradle.user.TaskRecompileMc.doStuff(TaskRecompileMc.java:85)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 60 more
BUILD FAILED
Total time: 2 mins 5.502 secs
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Julius\AppData\Local\Temp\pip-install-p9x5_99r\minerl\setup.py", line 77, in <module>
download()
File "C:\Users\Julius\AppData\Local\Temp\pip-install-p9x5_99r\minerl\setup.py", line 39, in download
return setup(build=build, installdir=installdir)
File "C:\Users\Julius\AppData\Local\Temp\pip-install-p9x5_99r\minerl\setup.py", line 70, in setup
"-x", "test", "--stacktrace", "-Pversion={}".format(malmo_version)])
File "C:\Users\Julius\AppData\Local\Continuum\anaconda3\envs\dl\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gradlew.bat', 'setupDecompWorkspace', 'build', 'testClasses', '-x', 'test', '--stacktrace', '-Pversion=0.37.0']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\Julius\AppData\Local\Temp\pip-install-p9x5_99r\minerl\
On certain setups, the fault tolerance mechanism is triggered to often. It may be that there is a race condition.
This is just a test
There are cases where the action craft has values 4 or 5 in the data (besides 0,2,3 which are valid), but the documentation says craft is an enum with 4 values ("craft": "Enum(none,torch,stick,planks)") hence the values should be 0,1,2 or 3.
Similarly there is equip with value 6, nearbyCraft with value 8, nearbySmelt with value 3, and place with value 6.
Is this an error on the documentation or the data?
For the competition it would be useful to separate the instance manager out with remote procedure calls.
Hello, I've followed the installation steps to get jdk 1.8, minerl (upgraded to 0.1.5), and installed xvfb. But i'm still getting the "MineRL could not detect an X Server, Monitor, or Virtual Monitor!" Error. I
I run the hello world program like so.
root@dd57e1fe29f8:/workspace/helloworld# xvfb-run python helloworld.py
`
I get the following log output.
INFO:minerl.env.malmo:Starting Minecraft process: ['/opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
DEBUG:minerl.env.malmo:This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: Powered by MCP unknown
DEBUG:minerl.env.malmo: http://modcoderpack.com
DEBUG:minerl.env.malmo: by: Searge, ProfMobius, Fesh0r,
DEBUG:minerl.env.malmo: R4wk, ZeuX, IngisKahn, bspkrs
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo:Found AccessTransformer: malmomod_at.cfg
DEBUG:minerl.env.malmo::deobfCompileDummyTask
DEBUG:minerl.env.malmo::deobfProvidedDummyTask
DEBUG:minerl.env.malmo::sourceApiJava
DEBUG:minerl.env.malmo::compileApiJava UP-TO-DATE
DEBUG:minerl.env.malmo::processApiResources UP-TO-DATE
DEBUG:minerl.env.malmo::apiClasses UP-TO-DATE
DEBUG:minerl.env.malmo::copyModToClient
DEBUG:minerl.env.malmo::copyModToServer
DEBUG:minerl.env.malmo::extractMcpData SKIPPED
DEBUG:minerl.env.malmo::extractMcpMappings SKIPPED
DEBUG:minerl.env.malmo::getVersionJson
DEBUG:minerl.env.malmo::extractUserdev UP-TO-DATE
DEBUG:minerl.env.malmo::genSrgs SKIPPED
DEBUG:minerl.env.malmo::copySrg
DEBUG:minerl.env.malmo::deleteSchemas
DEBUG:minerl.env.malmo::copySchemas
DEBUG:minerl.env.malmo::jaxb
DEBUG:minerl.env.malmo::sourceMainJava
DEBUG:minerl.env.malmo::compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
DEBUG:minerl.env.malmo:Note: SpongePowered MIXIN Annotation Processor Version=0.7.5
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "searge"
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "notch"
DEBUG:minerl.env.malmo:Note: Loading searge mappings from /root/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Loading notch mappings from /root/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /opt/conda/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Some input files use or override a deprecated API.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:deprecation for details.
DEBUG:minerl.env.malmo:Note: Some input files use unchecked or unsafe operations.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:unchecked for details.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo::processResources
DEBUG:minerl.env.malmo::classes
DEBUG:minerl.env.malmo::jar
DEBUG:minerl.env.malmo::extractNatives SKIPPED
DEBUG:minerl.env.malmo::getAssetIndex UP-TO-DATE
DEBUG:minerl.env.malmo::getAssets
DEBUG:minerl.env.malmo::makeStart SKIPPED
DEBUG:minerl.env.malmo::runClient
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Extra: []
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Found and added coremod: com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /root/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2228 for Minecraft 1.11.2 loading
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_212, running on Linux:amd64:4.1.12-94.3.9.el7uek.x86_64, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [FML]: Found a command line coremod : com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[19:43:02] [main/WARN] [FML]: The coremod com.microsoft.Malmo.OverclockingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.5 Source=file:/root/.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
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [mixin]: Compatibility level set to JAVA_8
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [GradleStart]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[19:43:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[19:43:02] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
DEBUG:minerl.env.malmo:[19:43:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@3fcdcf
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[19:43:03] [main/WARN] [mixin]: Reference map 'mixins.replaymod.refmap.json' for mixins.overclocking.malmomod.json could not be read. If this is a development environment you can ignore this message
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [mixin]: A re-entrant transformer '$wrapper.com.microsoft.Malmo.OverclockingClassTransformer' was detected and will no longer process meta class data
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.EntityPlayerSP
DEBUG:minerl.env.malmo:[19:43:03] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.AbstractClientPlayer
DEBUG:minerl.env.malmo:[19:43:04] [Client thread/INFO]: Setting user: Player150
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/WARN]: Skipping bad option: lastServer:
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO]: LWJGL Version: 2.9.4
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO]: [STDOUT]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO]: [STDOUT]: MALMO: Hooked into call to GlStateManager.bindTexture()
DEBUG:minerl.env.malmo:[19:43:06] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
DEBUG:minerl.env.malmo:// Surprise! Haha. Well, this is awkward.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Time: 6/10/19 7:43 PM
DEBUG:minerl.env.malmo:Description: Initializing game
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:java.lang.ExceptionInInitializerError
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:670)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.init(Minecraft.java:467)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.run(Minecraft.java:387)
DEBUG:minerl.env.malmo: at net.minecraft.client.main.Main.main(Main.java:118)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
DEBUG:minerl.env.malmo: at GradleStart.main(GradleStart.java:26)
DEBUG:minerl.env.malmo:Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
DEBUG:minerl.env.malmo: at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
DEBUG:minerl.env.malmo: at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
Traceback (most recent call last):
File "helloworld.py", line 30, in <module>
main()
File "helloworld.py", line 9, in main
env = gym.make('MineRLNavigateDense-v0')
File "/opt/conda/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(**kwargs)
File "/opt/conda/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(**_kwargs)
File "/opt/conda/lib/python3.6/site-packages/minerl/env/core.py", line 126, in __init__
self.init(observation_space, action_space, port=port)
File "/opt/conda/lib/python3.6/site-packages/minerl/env/core.py", line 152, in init
self.instance = InstanceManager.get_instance().__enter__()
File "/opt/conda/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/opt/conda/lib/python3.6/site-packages/minerl/env/malmo.py", line 89, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/opt/conda/lib/python3.6/site-packages/minerl/env/malmo.py", line 259, in __init__
self.launch(port, existing)
File "/opt/conda/lib/python3.6/site-packages/minerl/env/malmo.py", line 286, in launch
_check_for_launch_errors(line)
File "/opt/conda/lib/python3.6/site-packages/minerl/env/malmo.py", line 484, in _check_for_launch_errors
"ERROR! MineRL could not detect an X Server, Monitor, or Virtual Monitor! "
RuntimeError: ERROR! MineRL could not detect an X Server, Monitor, or Virtual Monitor! Currently minerl only supports environment rendering in headed environments (servers with monitors attached).
In order to run minerl environments without a head use a software renderer such as 'xvfb':
xvfb-run python3 <your_script.py>
If you're receiving this error and there is a monitor attached, make sure your current displayvariable is set correctly:
DISPLAY=:0 python3 <your_script.py>
If none of these steps work, please complain in the discord!
Using the following script on Ubuntu 18.04 breaks:
import minerl
data = minerl.data.make('MineRLNavigateExtremeDense-v0')
pov_shape = (64,64,3)
for obs, rew, done, act in data.seq_iter(num_epochs=1, max_sequence_len=32):
for x in obs['pov']:
if x.shape != pov_shape:
print(f'mineRL bug, pov shape: {x.shape}')
I was following along the tutorial in the docs and making some of my own edits to the base code and found that in the two time steps right before done changes to True, the 'inventory' key is replaced with a 'dirt' key, with the value also becoming an OrderedDict
. The structure of the returned observation looks fine otherwise.
On a tangent, could you add bullet pointing for the documentation of env.step()
? Currently it's one block of text and looks incomplete.
env.reset()
does not reset the blocks broken by agents.
This movie is the first evaluation episode from my script.
openaigym.video.0.224.video000000.mp4.zip
And here is the movie after some episodes are finished.
openaigym.video.0.224.video000016.mp4.zip
You can see the scenery of the first frame of these movies are same, but the ground condition is completely different.
The latter movie shows there is a huge hole around the agent and it is stuck during chopping tree.
Is it possible to completely "reset" the game?
Hey guys, having issue wrt. Java on Ubuntu 18.04
* What went wrong: Could not determine java version from '11.0.3'.
Modify seq_iter to load entire sequences at once
Here is an error from the Minecraft server plugin "Failed to start recording."
[14:54:59] [Netty Epoll Client IO #0/INFO] [replaymod-recording]: UID: 92ec99fcafe51cc4151156ae9fca58d4
[14:54:59] [Netty Epoll Client IO #0/INFO] [replaymod-recording]: Establishing connection to minecraft server: mc.minerl.io
[14:55:00] [Netty Epoll Client IO #0/INFO] [replaymod-recording]: Minecraft Key: CU4UVIJ6ZVIVF7B2XLTSR9MPOLRGQ11EF5J1PV9F3WC5O
[14:55:00] [Netty Epoll Client IO #0/INFO] [replaymod-recording]: Minecraft Key: CU4UVIJ6ZVIVF7B2XLTSR9MPOLRGQ11EF5J1PV9F3WC5O
[14:55:00] [Netty Epoll Client IO #0/INFO] [replaymod-recording]: Server response: true
[14:55:01] [Netty Epoll Client IO #0/ERROR] [replaymod-recording]: Could not parse returned firehose stream infromation
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: java.net.SocketTimeoutException: Receive timed out
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at java.net.PlainDatagramSocketImpl.receive0(Native Method)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at java.net.DatagramSocket.receive(DatagramSocket.java:812)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at com.replaymod.replaystudio.replay.StreamReplayFile.getFirehoseStream(StreamReplayFile.java:223)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at com.replaymod.replaystudio.replay.StreamReplayFile.<init>(StreamReplayFile.java:155)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at com.replaymod.recording.handler.ConnectionEventHandler.onConnectedToServerEvent(ConnectionEventHandler.java:226)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at com.replaymod.recording.ReplayModRecording.initiateRecording(ReplayModRecording.java:72)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.client.network.NetHandlerLoginClient.handler$replayModRecording_initiateRecording$zzd000(NetHandlerLoginClient.java:536)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.client.network.NetHandlerLoginClient.func_147390_a(NetHandlerLoginClient.java)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.network.login.server.SPacketLoginSuccess.func_148833_a(SPacketLoginSuccess.java:42)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.network.login.server.SPacketLoginSuccess.func_148833_a(SPacketLoginSuccess.java:12)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:147)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:49)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:280)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:396)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.replaystudio.replay.StreamReplayFile:getFirehoseStream:248]: at java.lang.Thread.run(Thread.java:748)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: java.io.IOException: Unable to get firehose stream
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at com.replaymod.replaystudio.replay.StreamReplayFile.<init>(StreamReplayFile.java:157)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at com.replaymod.recording.handler.ConnectionEventHandler.onConnectedToServerEvent(ConnectionEventHandler.java:226)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at com.replaymod.recording.ReplayModRecording.initiateRecording(ReplayModRecording.java:72)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.client.network.NetHandlerLoginClient.handler$replayModRecording_initiateRecording$zzd000(NetHandlerLoginClient.java:536)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.client.network.NetHandlerLoginClient.func_147390_a(NetHandlerLoginClient.java)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.network.login.server.SPacketLoginSuccess.func_148833_a(SPacketLoginSuccess.java:42)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.network.login.server.SPacketLoginSuccess.func_148833_a(SPacketLoginSuccess.java:12)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:147)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:49)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:280)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:396)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
[14:55:01] [Netty Epoll Client IO #0/INFO] [STDERR]: [com.replaymod.recording.handler.ConnectionEventHandler:onConnectedToServerEvent:272]: at java.lang.Thread.run(Thread.java:748)
[14:55:01] [Netty Epoll Client IO #0/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] [Replay Mod] Failed to start recording
Provide debug mode that ensures data is returned in expected range with proper min-max (at least 80 percent of gym space)
Hi!
The seq_iter()
function in data pipeline does not have batch_size
as parameter as mentioned in docs, according to your source files it is max_sequence_len
. I request you to kindly make the changes in docs.
Thanks!
Mrugank Akarte
Thanks very much for putting together this environment!
I noticed that seeding the environment is not yet supported:
https://github.com/minerllabs/minerl/blob/master/minerl/env/core.py#L445
I was just wondering if there is any plan in the near-term to implement this.
Thanks again!
Need to map instances of log2 to log in all inventory observations
When using
data = minerl.data.make('MineRLObtainDiamond-v0')
data.seq_iter()
one only has access to obs, rew, done, act
, but no information about from which demonstration this particular sample actually belongs. Add handler to provide information on which sample, duration, and if the sample was successful or not
Hi, this time using a Linux server, I got this error message while trying to run the Hello World tutorial. Run on minerl 0.1.2
(dl) [juliusf@ivcgpu5 juliusf]$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gym
>>> import minerl
>>> env = gym.make('MineRLNavigateDense-v0')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(**kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(**_kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/core.py", line 126, in __init__
self.init(observation_space, action_space, port=port)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/core.py", line 152, in init
self.instance = InstanceManager.get_instance().__enter__()
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 90, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 260, in __init__
self.launch(port, existing)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 288, in launch
raise EOFError("Minecraft process finished unexpectedly")
EOFError: Minecraft process finished unexpectedly
>>>
Detailed Error
(dl) [juliusf@ivcgpu5 juliusf]$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gym
>>> import minerl
>>> import logging
>>> logging.basicConfig(level=logging.DEBUG)
>>>
>>> env = gym.make('MineRLNavigateDense-v0')
INFO:minerl.env.malmo:Starting Minecraft process: ['/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/launchClient.sh', '-port', '9000', '-env']
DEBUG:minerl.env.malmo:This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: Powered by MCP unknown
DEBUG:minerl.env.malmo: http://modcoderpack.com
DEBUG:minerl.env.malmo: by: Searge, ProfMobius, Fesh0r,
DEBUG:minerl.env.malmo: R4wk, ZeuX, IngisKahn, bspkrs
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo:Found AccessTransformer: malmomod_at.cfg
DEBUG:minerl.env.malmo::deobfCompileDummyTask
DEBUG:minerl.env.malmo::deobfProvidedDummyTask
DEBUG:minerl.env.malmo::sourceApiJava UP-TO-DATE
DEBUG:minerl.env.malmo::compileApiJava UP-TO-DATE
DEBUG:minerl.env.malmo::processApiResources UP-TO-DATE
DEBUG:minerl.env.malmo::apiClasses UP-TO-DATE
DEBUG:minerl.env.malmo::copyModToClient UP-TO-DATE
DEBUG:minerl.env.malmo::copyModToServer UP-TO-DATE
DEBUG:minerl.env.malmo::extractMcpData SKIPPED
DEBUG:minerl.env.malmo::extractMcpMappings SKIPPED
DEBUG:minerl.env.malmo::getVersionJson
DEBUG:minerl.env.malmo::extractUserdev UP-TO-DATE
DEBUG:minerl.env.malmo::genSrgs SKIPPED
DEBUG:minerl.env.malmo::copySrg UP-TO-DATE
DEBUG:minerl.env.malmo::deleteSchemas
DEBUG:minerl.env.malmo::copySchemas
DEBUG:minerl.env.malmo::jaxb UP-TO-DATE
DEBUG:minerl.env.malmo::sourceMainJava UP-TO-DATE
DEBUG:minerl.env.malmo::compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
DEBUG:minerl.env.malmo:Note: SpongePowered MIXIN Annotation Processor Version=0.7.5
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "searge"
DEBUG:minerl.env.malmo:Note: ObfuscationServiceMCP supports type: "notch"
DEBUG:minerl.env.malmo:Note: Loading searge mappings from /home/ugrad/juliusf/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Loading notch mappings from /home/ugrad/juliusf/.gradle/caches/minecraft/de/oceanlabs/mcp/mcp_snapshot/20161220/1.11.2/srgs/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Writing refmap to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/compileJava-refmap.json
DEBUG:minerl.env.malmo:Note: Writing searge output SRGs to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-srg.srg
DEBUG:minerl.env.malmo:Note: Writing notch output SRGs to /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/build/tmp/compileJava/mcp-notch.srg
DEBUG:minerl.env.malmo:Note: Some input files use or override a deprecated API.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:deprecation for details.
DEBUG:minerl.env.malmo:Note: Some input files use unchecked or unsafe operations.
DEBUG:minerl.env.malmo:Note: Recompile with -Xlint:unchecked for details.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo::processResources UP-TO-DATE
DEBUG:minerl.env.malmo::classes
DEBUG:minerl.env.malmo::jar UP-TO-DATE
DEBUG:minerl.env.malmo::extractNatives SKIPPED
DEBUG:minerl.env.malmo::getAssetIndex UP-TO-DATE
DEBUG:minerl.env.malmo::getAssets
DEBUG:minerl.env.malmo::makeStart SKIPPED
DEBUG:minerl.env.malmo::runClient
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [GradleStart]: Extra: []
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [GradleStart]: Found and added coremod: com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/ugrad/juliusf/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2228 for Minecraft 1.11.2 loading
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_212, running on Linux:amd64:3.10.0-957.12.2.el7.x86_64, installed at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
DEBUG:minerl.env.malmo:[14:40:31] [main/INFO] [FML]: Found a command line coremod : com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[14:40:31] [main/WARN] [FML]: The coremod com.microsoft.Malmo.OverclockingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.5 Source=file:/home/ugrad/juliusf/.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
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [mixin]: Compatibility level set to JAVA_8
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [GradleStart]: Injecting location in coremod com.microsoft.Malmo.OverclockingPlugin
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[14:40:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
DEBUG:minerl.env.malmo:[14:40:32] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@3ee39da0
DEBUG:minerl.env.malmo:[14:40:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
DEBUG:minerl.env.malmo:[14:40:33] [main/WARN] [mixin]: Reference map 'mixins.replaymod.refmap.json' for mixins.overclocking.malmomod.json could not be read. If this is a development environment you can ignore this message
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [mixin]: A re-entrant transformer '$wrapper.com.microsoft.Malmo.OverclockingClassTransformer' was detected and will no longer process meta class data
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:58]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:129]: MALMO: Found Minecraft, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:135]: MALMO: Found Minecraft.runGameLoop() method, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:overclockRenderer:150]: MALMO: Hooked into call to Minecraft.updateDisplay()
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.EntityPlayerSP
DEBUG:minerl.env.malmo:[14:40:33] [main/INFO] [STDOUT]: [com.microsoft.Malmo.OverclockingClassTransformer:transform:42]: Transformed Name: net.minecraft.client.entity.AbstractClientPlayer
DEBUG:minerl.env.malmo:[14:40:35] [Client thread/INFO]: Setting user: Player163
DEBUG:minerl.env.malmo:[14:40:37] [Client thread/WARN]: Skipping bad option: lastServer:
DEBUG:minerl.env.malmo:[14:40:37] [Client thread/INFO]: LWJGL Version: 2.9.4
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO]: [STDOUT]: MALMO: Attempting to transform MinecraftServer
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO]: [STDOUT]: MALMO: Found GlStateManager.bindTexture() method, attempting to transform it
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO]: [STDOUT]: MALMO: Hooked into call to GlStateManager.bindTexture()
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
DEBUG:minerl.env.malmo:// Quite honestly, I wouldn't worry myself about that.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Time: 6/9/19 2:40 PM
DEBUG:minerl.env.malmo:Description: Initializing game
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:java.lang.ExceptionInInitializerError
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:670)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.init(Minecraft.java:467)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.run(Minecraft.java:387)
DEBUG:minerl.env.malmo: at net.minecraft.client.main.Main.main(Main.java:118)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
DEBUG:minerl.env.malmo: at GradleStart.main(GradleStart.java:26)
DEBUG:minerl.env.malmo:Caused by: java.lang.NullPointerException
DEBUG:minerl.env.malmo: at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:947)
DEBUG:minerl.env.malmo: at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
DEBUG:minerl.env.malmo: at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
DEBUG:minerl.env.malmo: ... 16 more
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:A detailed walkthrough of the error, its code path and all known details is as follows:
DEBUG:minerl.env.malmo:---------------------------------------------------------------------------------------
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:-- Head --
DEBUG:minerl.env.malmo:Thread: Client thread
DEBUG:minerl.env.malmo:Stacktrace:
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java:670)
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.init(Minecraft.java:467)
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:-- Initialization --
DEBUG:minerl.env.malmo:Details:
DEBUG:minerl.env.malmo:Stacktrace:
DEBUG:minerl.env.malmo: at net.minecraft.client.Minecraft.run(Minecraft.java:387)
DEBUG:minerl.env.malmo: at net.minecraft.client.main.Main.main(Main.java:118)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
DEBUG:minerl.env.malmo: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
DEBUG:minerl.env.malmo: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DEBUG:minerl.env.malmo: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
DEBUG:minerl.env.malmo: at java.lang.reflect.Method.invoke(Method.java:498)
DEBUG:minerl.env.malmo: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
DEBUG:minerl.env.malmo: at GradleStart.main(GradleStart.java:26)
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:-- System Details --
DEBUG:minerl.env.malmo:Details:
DEBUG:minerl.env.malmo: Minecraft Version: 1.11.2
DEBUG:minerl.env.malmo: Operating System: Linux (amd64) version 3.10.0-957.12.2.el7.x86_64
DEBUG:minerl.env.malmo: Java Version: 1.8.0_212, Oracle Corporation
DEBUG:minerl.env.malmo: Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
DEBUG:minerl.env.malmo: Memory: 913091760 bytes (870 MB) / 1494745088 bytes (1425 MB) up to 1908932608 bytes (1820 MB)
DEBUG:minerl.env.malmo: JVM Flags: 1 total; -Xmx2G
DEBUG:minerl.env.malmo: IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
DEBUG:minerl.env.malmo: FML:
DEBUG:minerl.env.malmo: Loaded coremods (and transformers):
DEBUG:minerl.env.malmo:OverclockingPlugin (MalmoMod-0.37.0.jar)
DEBUG:minerl.env.malmo: com.microsoft.Malmo.OverclockingClassTransformer
DEBUG:minerl.env.malmo: Launched Version: 1.11.2
DEBUG:minerl.env.malmo: LWJGL: 2.9.4
DEBUG:minerl.env.malmo: OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
DEBUG:minerl.env.malmo: GL Caps:
DEBUG:minerl.env.malmo: Using VBOs: Yes
DEBUG:minerl.env.malmo: Is Modded: Definitely; Client brand changed to 'fml,forge'
DEBUG:minerl.env.malmo: Type: Client (map_client.txt)
DEBUG:minerl.env.malmo: Resource Packs:
DEBUG:minerl.env.malmo: Current Language: ~~ERROR~~ NullPointerException: null
DEBUG:minerl.env.malmo: Profiler Position: N/A (disabled)
DEBUG:minerl.env.malmo: CPU: <unknown>
DEBUG:minerl.env.malmo:[14:40:38] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# /scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/Malmo/Minecraft/run/./crash-reports/crash-2019-06-09_14.40.38-client.txt
DEBUG:minerl.env.malmo::runClient FAILED
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:FAILURE: Build failed with an exception.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:* What went wrong:
DEBUG:minerl.env.malmo:Execution failed for task ':runClient'.
DEBUG:minerl.env.malmo:> Process 'command '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/bin/java'' finished with non-zero exit value 255
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:* Try:
DEBUG:minerl.env.malmo:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:BUILD FAILED
DEBUG:minerl.env.malmo:
DEBUG:minerl.env.malmo:Total time: 18.052 secs
DEBUG:minerl.env.malmo:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(**kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(**_kwargs)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/core.py", line 126, in __init__
self.init(observation_space, action_space, port=port)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/core.py", line 152, in init
self.instance = InstanceManager.get_instance().__enter__()
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 90, in get_instance
inst = cls._Instance(cls._get_valid_port())
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 260, in __init__
self.launch(port, existing)
File "/scratch/juliusf/anaconda3/envs/dl/lib/python3.6/site-packages/minerl/env/malmo.py", line 288, in launch
raise EOFError("Minecraft process finished unexpectedly")
EOFError: Minecraft process finished unexpectedly
>>>
When installing on MacOSX with Java 9 using pip3 install --user --upgrade minerl
with python 3.7.3 the following error occurs.
Collecting minerl
Using cached https://files.pythonhosted.org/packages/a4/7a/4352eaabc3cef81f62c694ce6f823f6352854085c533e44e9f269a125ccc/minerl-0.1.9.tar.gz
Complete output from command python setup.py egg_info:
Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /Users/pratikm/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14-bin.zip to /Users/pratikm/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk
Set executable permissions for: /Users/pratikm/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14/bin/gradle
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/Users/pratikm/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14/lib/gradle-base-services-2.14.jar) to method java.lang.ClassLoader.getPackages()
WARNING: Please consider reporting this to the maintainers of org.gradle.internal.reflect.JavaMethod
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/6.0/asm-parent-6.0.pom
Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://jitpack.io/com/github/SpongePowered/MixinGradle/dcfaf61/MixinGradle-dcfaf61.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20190215.210016-42.pom
Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudbees-oss-parent-1.pom
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.3.3/httpcomponents-client-4.3.3.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localizer-1.12.pom
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/localizer-parent-1.12.pom
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/7/commons-parent-7.pom
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.3.2/httpcomponents-core-4.3.2.pom
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/commons-parent-28.pom
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/commons-parent-22.pom
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.jar
Download https://jitpack.io/com/github/SpongePowered/MixinGradle/dcfaf61/MixinGradle-dcfaf61.jar
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20190215.210016-42.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.jar
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.jar
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.jar
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.jar
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.jar
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.jar
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.jar
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.jar
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localizer-1.12.jar
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.jar
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-unknown
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
Found AccessTransformer: malmomod_at.cfg
:extractMcpData
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.11.2/mcp-1.11.2-srg.zip
:extractMcpMappings
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20161220-1.11/mcp_snapshot-20161220-1.11.zip
:getVersionJson
:extractUserdev
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.11.2-13.20.0.2228/forge-1.11.2-13.20.0.2228.pom
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.11.2-13.20.0.2228/forge-1.11.2-13.20.0.2228-userdev.jar
:genSrgs
:copySrg
:deobfCompileDummyTask
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.pom
Download https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.pom
Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.pom
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.pom
Download https://repo1.maven.org/maven2/net/java/dev/jna/platform/3.4.0/platform-3.4.0.pom
Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.pom
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.pom
Download https://repo1.maven.org/maven2/io/netty/netty-parent/4.0.23.Final/netty-parent-4.0.23.Final.pom
Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.pom
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/commons-parent-25.pom
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.pom
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/32/commons-parent-32.pom
Download https://repo1.maven.org/maven2/net/java/jutils/jutils/1.0.0/jutils-1.0.0.pom
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.24/authlib-1.5.24.pom
Download https://libraries.minecraft.net/com/mojang/realms/1.10.16/realms-1.10.16.pom
Download https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
Download https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.pom
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.pom
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.0-beta9/log4j-2.0-beta9.pom
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.pom
Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.pom
Download https://repo1.maven.org/maven2/jline/jline/2.13/jline-2.13.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom
Download https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.pom
Download https://repo1.maven.org/maven2/com/typesafe/config/1.2.1/config-1.2.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.pom
Download https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.pom
Download https://repo1.maven.org/maven2/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.pom
Download https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom
Download https://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.pom
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.pom
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.pom
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.pom
Download https://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0.5.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.2-nightly-20140822/parent-2.9.2-nightly-20140822.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.pom
Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom
Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi-project/1.11/jansi-project-1.11.pom
Download https://repo1.maven.org/maven2/org/fusesource/fusesource-pom/1.8/fusesource-pom-1.8.pom
Download https://repo1.maven.org/maven2/org/scala-lang/scala-actors/2.11.0/scala-actors-2.11.0.pom
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822.pom
Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
Download https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.jar
Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
Download https://repo1.maven.org/maven2/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar
Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar
Download https://repo1.maven.org/maven2/com/google/guava/guava/17.0/guava-17.0.jar
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
Download https://repo1.maven.org/maven2/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.24/authlib-1.5.24.jar
Download https://libraries.minecraft.net/com/mojang/realms/1.10.16/realms-1.10.16.jar
Download https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
Download https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
Download https://repo1.maven.org/maven2/jline/jline/2.13/jline-2.13.jar
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.jar
Download https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
Download https://repo1.maven.org/maven2/com/typesafe/config/1.2.1/config-1.2.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
Download https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
Download https://repo1.maven.org/maven2/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
Download https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.jar
Download https://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
Download https://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar
Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.jar
Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Download https://repo1.maven.org/maven2/org/scala-lang/scala-actors/2.11.0/scala-actors-2.11.0.jar
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass$3$1 (file:/Users/pratikm/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14/lib/groovy-all-2.4.4.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass$3$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
:fixMcSourcesPatching failed: minecraft\net\minecraft\util\math\Cartesian.java
Hunk 1 failed! Cannot find hunk target
}
public List<T> apply(@Nullable Object[] p_apply_1_) {
- return Arrays.<T>asList((Object[])p_apply_1_);
+ return Arrays.<T>asList((T[])p_apply_1_);
}
}
File state
package net.minecraft.util.math;
import com.google.common.base.Function;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.UnmodifiableIterator;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import javax.annotation.Nullable;
public class Cartesian {
public static <T> Iterable<T[]> func_179318_a(Class<T> p_179318_0_, Iterable<? extends Iterable<? extends T>> p_179318_1_) {
return new Cartesian.Product(p_179318_0_, (Iterable[])func_179322_b(Iterable.class, p_179318_1_));
}
public static <T> Iterable<List<T>> func_179321_a(Iterable<? extends Iterable<? extends T>> p_179321_0_) {
return func_179323_b(func_179318_a(Object.class, p_179321_0_));
}
private static <T> Iterable<List<T>> func_179323_b(Iterable<Object[]> p_179323_0_) {
return Iterables.transform(p_179323_0_, new Cartesian.GetList());
}
private static <T> T[] func_179322_b(Class<? super T> p_179322_0_, Iterable<? extends T> p_179322_1_) {
List<T> list = Lists.<T>newArrayList();
for(T t : p_179322_1_) {
list.add(t);
}
return (T[])((Object[])list.toArray(func_179319_b(p_179322_0_, list.size())));
}
private static <T> T[] func_179319_b(Class<? super T> p_179319_0_, int p_179319_1_) {
return (T[])((Object[])((Object[])Array.newInstance(p_179319_0_, p_179319_1_)));
}
static class GetList<T> implements Function<Object[], List<T>> {
private GetList() {
}
public List<T> apply(@Nullable Object[] p_apply_1_) {
return Arrays.asList((Object[])p_apply_1_);
}
}
static class Product<T> implements Iterable<T[]> {
private final Class<T> field_179429_a;
private final Iterable<? extends T>[] field_179428_b;
private Product(Class<T> p_i46020_1_, Iterable<? extends T>[] p_i46020_2_) {
this.field_179429_a = p_i46020_1_;
this.field_179428_b = p_i46020_2_;
}
public Iterator<T[]> iterator() {
return (Iterator<T[]>)(this.field_179428_b.length <= 0?Collections.singletonList((Object[])Cartesian.func_179319_b(this.field_179429_a, 0)).iterator():new Cartesian.Product.ProductIterator(this.field_179429_a, this.field_179428_b));
}
static class ProductIterator<T> extends UnmodifiableIterator<T[]> {
private int field_179426_a;
private final Iterable<? extends T>[] field_179424_b;
private final Iterator<? extends T>[] field_179425_c;
private final T[] field_179423_d;
private ProductIterator(Class<T> p_i46018_1_, Iterable<? extends T>[] p_i46018_2_) {
this.field_179426_a = -2;
this.field_179424_b = p_i46018_2_;
this.field_179425_c = (Iterator[])Cartesian.func_179319_b(Iterator.class, this.field_179424_b.length);
for(int i = 0; i < this.field_179424_b.length; ++i) {
this.field_179425_c[i] = p_i46018_2_[i].iterator();
}
this.field_179423_d = Cartesian.func_179319_b(p_i46018_1_, this.field_179425_c.length);
}
private void func_179422_b() {
this.field_179426_a = -1;
Arrays.fill(this.field_179425_c, (Object)null);
Arrays.fill(this.field_179423_d, (Object)null);
}
public boolean hasNext() {
if(this.field_179426_a == -2) {
this.field_179426_a = 0;
for(Iterator<? extends T> iterator1 : this.field_179425_c) {
if(!iterator1.hasNext()) {
this.func_179422_b();
break;
}
}
return true;
} else {
if(this.field_179426_a >= this.field_179425_c.length) {
for(this.field_179426_a = this.field_179425_c.length - 1; this.field_179426_a >= 0; --this.field_179426_a) {
Iterator<? extends T> iterator = this.field_179425_c[this.field_179426_a];
if(iterator.hasNext()) {
break;
}
if(this.field_179426_a == 0) {
this.func_179422_b();
break;
}
iterator = this.field_179424_b[this.field_179426_a].iterator();
this.field_179425_c[this.field_179426_a] = iterator;
if(!iterator.hasNext()) {
this.func_179422_b();
break;
}
}
}
return this.field_179426_a >= 0;
}
}
public T[] next() {
if(!this.hasNext()) {
throw new NoSuchElementException();
} else {
while(this.field_179426_a < this.field_179425_c.length) {
this.field_179423_d[this.field_179426_a] = this.field_179425_c[this.field_179426_a].next();
++this.field_179426_a;
}
return (T[])((Object[])this.field_179423_d.clone());
}
}
}
}
}
Patching failed: minecraft\net\minecraft\client\renderer\texture\TextureManager.java
Hunk 2 failed! Cannot find hunk target
this.field_110585_a.put(p_110579_1_, (ITextureObject)p_110579_2_);
flag = false;
} catch (Throwable throwable) {
+ final ITextureObject p_110579_2_f = p_110579_2_;
CrashReport crashreport = CrashReport.func_85055_a(throwable, "Registering texture");
CrashReportCategory crashreportcategory = crashreport.func_85058_a("Resource location being registered");
crashreportcategory.func_71507_a("Resource location", p_110579_1_);
crashreportcategory.func_189529_a("Texture object class", new ICrashReportDetail<String>() {
public String call() throws Exception {
- return p_110579_2_.getClass().getName();
+ return p_110579_2_f.getClass().getName();
}
});
throw new ReportedException(crashreport);
File state
package net.minecraft.client.renderer.texture;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import net.minecraft.client.renderer.texture.DynamicTexture;
import net.minecraft.client.renderer.texture.ITextureObject;
import net.minecraft.client.renderer.texture.ITickable;
import net.minecraft.client.renderer.texture.ITickableTextureObject;
import net.minecraft.client.renderer.texture.SimpleTexture;
import net.minecraft.client.renderer.texture.TextureUtil;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.client.resources.IResourceManagerReloadListener;
import net.minecraft.crash.CrashReport;
import net.minecraft.crash.CrashReportCategory;
import net.minecraft.crash.ICrashReportDetail;
import net.minecraft.util.ReportedException;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@SideOnly(Side.CLIENT)
public class TextureManager implements ITickable, IResourceManagerReloadListener {
private static final Logger field_147646_a = LogManager.getLogger();
private final Map<ResourceLocation, ITextureObject> field_110585_a = Maps.<ResourceLocation, ITextureObject>newHashMap();
private final List<ITickable> field_110583_b = Lists.<ITickable>newArrayList();
private final Map<String, Integer> field_110584_c = Maps.<String, Integer>newHashMap();
private final IResourceManager field_110582_d;
public TextureManager(IResourceManager p_i1284_1_) {
this.field_110582_d = p_i1284_1_;
}
public void func_110577_a(ResourceLocation p_110577_1_) {
ITextureObject itextureobject = (ITextureObject)this.field_110585_a.get(p_110577_1_);
if(itextureobject == null) {
itextureobject = new SimpleTexture(p_110577_1_);
this.func_110579_a(p_110577_1_, itextureobject);
}
TextureUtil.func_94277_a(itextureobject.func_110552_b());
}
public boolean func_110580_a(ResourceLocation p_110580_1_, ITickableTextureObject p_110580_2_) {
if(this.func_110579_a(p_110580_1_, p_110580_2_)) {
this.field_110583_b.add(p_110580_2_);
return true;
} else {
return false;
}
}
public boolean func_110579_a(ResourceLocation p_110579_1_, final ITextureObject p_110579_2_) {
boolean flag = true;
try {
((ITextureObject)p_110579_2_).func_110551_a(this.field_110582_d);
} catch (IOException ioexception) {
field_147646_a.warn("Failed to load texture: {}", new Object[]{p_110579_1_, ioexception});
p_110579_2_ = TextureUtil.field_111001_a;
this.field_110585_a.put(p_110579_1_, p_110579_2_);
flag = false;
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.func_85055_a(throwable, "Registering texture");
CrashReportCategory crashreportcategory = crashreport.func_85058_a("Resource location being registered");
crashreportcategory.func_71507_a("Resource location", p_110579_1_);
crashreportcategory.func_189529_a("Texture object class", new ICrashReportDetail<String>() {
public String call() throws Exception {
return p_110579_2_.getClass().getName();
}
});
throw new ReportedException(crashreport);
}
this.field_110585_a.put(p_110579_1_, p_110579_2_);
return flag;
}
public ITextureObject func_110581_b(ResourceLocation p_110581_1_) {
return (ITextureObject)this.field_110585_a.get(p_110581_1_);
}
public ResourceLocation func_110578_a(String p_110578_1_, DynamicTexture p_110578_2_) {
Integer integer = (Integer)this.field_110584_c.get(p_110578_1_);
if(integer == null) {
integer = Integer.valueOf(1);
} else {
integer = Integer.valueOf(integer.intValue() + 1);
}
this.field_110584_c.put(p_110578_1_, integer);
ResourceLocation resourcelocation = new ResourceLocation(String.format("dynamic/%s_%d", new Object[]{p_110578_1_, integer}));
this.func_110579_a(resourcelocation, p_110578_2_);
return resourcelocation;
}
public void func_110550_d() {
for(ITickable itickable : this.field_110583_b) {
itickable.func_110550_d();
}
}
public void func_147645_c(ResourceLocation p_147645_1_) {
ITextureObject itextureobject = this.func_110581_b(p_147645_1_);
if(itextureobject != null) {
TextureUtil.func_147942_a(itextureobject.func_110552_b());
}
}
public void func_110549_a(IResourceManager p_110549_1_) {
for(Entry<ResourceLocation, ITextureObject> entry : this.field_110585_a.entrySet()) {
this.func_110579_a((ResourceLocation)entry.getKey(), (ITextureObject)entry.getValue());
}
}
}
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':fixMcSources'.
> com.cloudbees.diff.PatchException: Cannot find hunk target
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':fixMcSources'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: java.lang.RuntimeException: com.cloudbees.diff.PatchException: Cannot find hunk target
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at net.minecraftforge.gradle.tasks.PostDecompileTask.doStuffAfter(PostDecompileTask.java:254)
at net.minecraftforge.gradle.tasks.AbstractEditJarTask.doTask(AbstractEditJarTask.java:86)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 66 more
Caused by: com.cloudbees.diff.PatchException: Cannot find hunk target
at net.minecraftforge.gradle.util.patching.ContextualPatch.applyHunk(ContextualPatch.java:434)
at net.minecraftforge.gradle.util.patching.ContextualPatch.applyPatch(ContextualPatch.java:255)
at net.minecraftforge.gradle.util.patching.ContextualPatch.patch(ContextualPatch.java:161)
at net.minecraftforge.gradle.tasks.PostDecompileTask.asRead(PostDecompileTask.java:136)
at net.minecraftforge.gradle.tasks.AbstractEditJarTask.copyJar(AbstractEditJarTask.java:235)
at net.minecraftforge.gradle.tasks.AbstractEditJarTask.doTask(AbstractEditJarTask.java:83)
... 77 more
BUILD FAILED
Total time: 5 mins 0.326 secs
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/67/q58kyr3s5418_tnd1n9424ym0000gn/T/pip-install-1ppjsybe/minerl/setup.py", line 77, in <module>
download()
File "/private/var/folders/67/q58kyr3s5418_tnd1n9424ym0000gn/T/pip-install-1ppjsybe/minerl/setup.py", line 39, in download
return setup(build=build, installdir=installdir)
File "/private/var/folders/67/q58kyr3s5418_tnd1n9424ym0000gn/T/pip-install-1ppjsybe/minerl/setup.py", line 70, in setup
"-x", "test", "--stacktrace", "-Pversion={}".format(malmo_version)])
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./gradlew', 'setupDecompWorkspace', 'build', 'testClasses', '-x', 'test', '--stacktrace', '-Pversion=0.37.0']' returned non-zero exit status 1.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/67/q58kyr3s5418_tnd1n9424ym0000gn/T/pip-install-1ppjsybe/minerl/
Currently the data is packaged as a single tar file. Move to multiple tar files, one per experiment and add the ability to filter these in minerl.data.download()
Not able to import minerl.
I am getting the following error -
`AttributeError Traceback (most recent call last)
in
1 import gym
----> 2 import minerl
~/.local/lib/python3.6/site-packages/minerl/init.py in
----> 1 import minerl.data
2 import minerl.env
~/.local/lib/python3.6/site-packages/minerl/data/init.py in
----> 1 from minerl.data.data_pipeline import DataPipeline
2 from minerl.data.download import download
3 import os
4
5
~/.local/lib/python3.6/site-packages/minerl/data/data_pipeline.py in
18
19
---> 20 class DataPipeline:
21 """
22 Creates a data pipeline object used to itterate through the MineRL-v0 dataset
~/.local/lib/python3.6/site-packages/minerl/data/data_pipeline.py in DataPipeline()
66
67 @staticmethod
---> 68 def map_to_dict(handler_list: list, target_space: gym.spaces.space):
69
70 def _map_to_dict(i: int, src: list, key: str, gym_space: gym.spaces.space, dst: dict):
AttributeError: module 'gym.spaces' has no attribute 'space'`
After several days of waiting for the cluster admin to install correct java versions, I got this error when I do pip install --upgrade minerl
on the cluster. My local machine seems to install perfectly fine.
Collecting minerl
Using cached https://files.pythonhosted.org/packages/a4/7a/4352eaabc3cef81f62c694ce6f823f6352854085c533e44e9f269a125ccc/minerl-0.1.9.tar.gz
Complete output from command python setup.py egg_info:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Minecraft'.
> Could not open cp_proj remapped class cache for eprhuvqu7e0353p06eugylbhz (/home/kailiang/.gradle/caches/2.14/scripts-remapped/build_95jsggl3ol4z96mydsmdxrs4h/eprhuvqu7e0353p06eugylbhz/cp_proj57408229).
> Failed to release lock on cp_proj remapped class cache for eprhuvqu7e0353p06eugylbhz (/home/kailiang/.gradle/caches/2.14/scripts-remapped/build_95jsggl3ol4z96mydsmdxrs4h/eprhuvqu7e0353p06eugylbhz/cp_proj57408229)
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'Minecraft'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.cache.CacheOpenException: Could not open cp_proj remapped class cache for eprhuvqu7e0353p06eugylbhz (/home/kailiang/.gradle/caches/2.14/scripts-remapped/build_95jsggl3ol4z96mydsmdxrs4h/eprhuvqu7e0353p06eugylbhz/cp_proj57408229).
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:48)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28)
at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80)
at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50)
at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138)
at org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121)
at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:90)
at org.gradle.groovy.scripts.internal.CrossBuildInMemoryCachingScriptClassCache.getOrCompile(CrossBuildInMemoryCachingScriptClassCache.java:46)
at org.gradle.groovy.scripts.internal.BuildScopeInMemoryCachingScriptClassCompiler.compile(BuildScopeInMemoryCachingScriptClassCompiler.java:48)
at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:50)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:152)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
... 43 more
Caused by: java.lang.RuntimeException: Failed to release lock on cp_proj remapped class cache for eprhuvqu7e0353p06eugylbhz (/home/kailiang/.gradle/caches/2.14/scripts-remapped/build_95jsggl3ol4z96mydsmdxrs4h/eprhuvqu7e0353p06eugylbhz/cp_proj57408229)
at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock$2.stop(DefaultFileLockManager.java:238)
at org.gradle.internal.concurrent.CompositeStoppable.stop(CompositeStoppable.java:98)
at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.close(DefaultFileLockManager.java:249)
at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:108)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46)
... 57 more
Caused by: java.io.IOException: Bad file descriptor
at org.gradle.cache.internal.filelock.LockInfoAccess.clearLockInfo(LockInfoAccess.java:63)
at org.gradle.cache.internal.filelock.LockFileAccess.clearLockInfo(LockFileAccess.java:73)
at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock$2.stop(DefaultFileLockManager.java:228)
... 61 more
BUILD FAILED
Total time: 26.684 secs
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-u5b4lvym/minerl/setup.py", line 77, in <module>
download()
File "/tmp/pip-install-u5b4lvym/minerl/setup.py", line 39, in download
return setup(build=build, installdir=installdir)
File "/tmp/pip-install-u5b4lvym/minerl/setup.py", line 70, in setup
"-x", "test", "--stacktrace", "-Pversion={}".format(malmo_version)])
File "/home/kailiang/.conda/envs/minerl/lib/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./gradlew', 'setupDecompWorkspace', 'build', 'testClasses', '-x', 'test', '--stacktrace', '-Pversion=0.37.0']' returned non-zero exit status 1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-u5b4lvym/minerl/```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.