The problem with exporting mods

Published by ymbus_ on Sun, 07/22/2018 - 15:34
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I can not export my mod. I get an error: your mod contains errors and could not be exported. I looked through everything I could, nothing helped, version 1.7.9, 64 bit. (I do not know much English, so I wrote everything through Google translator).

Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.17134.165]
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation), 2018. ‚ᥠЇа ў  § йЁйҐ­л.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Егор дурак (C др)\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean runClient --offline 
Exception in thread "main" java.io.FileNotFoundException: C:\Users\?уюЁ фєЁръ (C фЁ)\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip.lck (Отказано в доступе)
   at java.io.RandomAccessFile.open0(Native Method)
   at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
   at java.io.RandomAccessFile.(RandomAccessFile.java:243)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
   at org.gradle.wrapper.Install.createDist(Install.java:46)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\MCreator179\forge>

 

Issue comments

1. You are using parallel build which is a test only feature.

2. Most likely, you can fix this by going into C:\Users\<username>\.mcreator\gradle\ and remove the wrapper folder and recompile the mod again



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.