Still stuck on Initializing Workspace System on Mac

Published by nyuum on
Status
Works as designed
Issue description

Yesterday I opened an issue saying my MCreator was stuck on "Initializing Workspace System". Thought it was because I extracted it to my applications folder but it's still happening even though I moved it to my desktop. I even redownloaded it and did the "brew reinstall libpng" thing. 

 

Last login: Sun Mar 24 17:44:08 on ttys000

(my account name)-MBP:~ (my account name)$ /Users/(my account name)/Desktop/MCreator/MCreator183/mcreator.command ; exit;

[Sun Mar 24 17:45:48 ACST 2019] [Launcher] Java version: 1.8.0_202, specification: 1.8, VM name: OpenJDK 64-Bit Server VM, VM vendor: BellSoft

[Sun Mar 24 17:45:48 ACST 2019] [Launcher] Current JAVA_HOME for running instance: /Users/(my account name)/Desktop/MCreator/MCreator183/jdk/Contents/Home/jre

[Sun Mar 24 17:45:50 ACST 2019] [Launcher] Installation path: /Users/(my account name)/Desktop/MCreator/MCreator183

[Sun Mar 24 17:45:50 ACST 2019] [Launcher] User home of MCreator: /Users/(my account name)/.mcreator/

[Sun Mar 24 17:45:50 ACST 2019] java.io.FileNotFoundException: ./user/workspace/workspace.settings (No such file or directory)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileOutputStream.open0(Native Method)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileOutputStream.open(FileOutputStream.java:270)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileOutputStream.<init>(FileOutputStream.java:162)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileWriter.<init>(FileWriter.java:90)

[Sun Mar 24 17:45:50 ACST 2019] at co.pylo.mcreator.e.b.a(SourceFile:66)

[Sun Mar 24 17:45:50 ACST 2019] at co.pylo.mcreator.a.f(SourceFile:1618)

[Sun Mar 24 17:45:50 ACST 2019] at co.pylo.mcreator.Launcher.main(SourceFile:148)

[Sun Mar 24 17:45:50 ACST 2019] Error writing ./user/workspace/workspace.settings (No such file or directory)

[Sun Mar 24 17:45:50 ACST 2019] java.io.FileNotFoundException: ./user/workspace/workspace.settings (No such file or directory)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileInputStream.open0(Native Method)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileInputStream.open(FileInputStream.java:195)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileInputStream.<init>(FileInputStream.java:138)

[Sun Mar 24 17:45:50 ACST 2019] at java.io.FileInputStream.<init>(FileInputStream.java:93)

[Sun Mar 24 17:45:50 ACST 2019] at co.pylo.mcreator.a.f(SourceFile:1624)

[Sun Mar 24 17:45:50 ACST 2019] at co.pylo.mcreator.Launcher.main(SourceFile:148)

[Sun Mar 24 17:45:51 ACST 2019] [WebIO] Reading from URL: https://mcreator.net/app

[Sun Mar 24 17:45:54 ACST 2019] Skipping update message ...

[Sun Mar 24 17:45:54 ACST 2019] [WebIO] Reading from URL: https://mcreator.net/app/motw

[Sun Mar 24 17:45:55 ACST 2019] [WebIO] Reading from URL: https://mcreator.net/app/news

[Sun Mar 24 17:45:56 ACST 2019] Failed to load import format classes! Ignore this if this is the first time setup.

[Sun Mar 24 17:45:56 ACST 2019] Exception in thread "AWT-EventQueue-0" [Sun Mar 24 17:45:56 ACST 2019] java.lang.NullPointerException

[Sun Mar 24 17:45:56 ACST 2019] at co.pylo.mcreator.a.<init>(SourceFile:601)

[Sun Mar 24 17:45:56 ACST 2019] at co.pylo.mcreator.Launcher.lambda$main$1(SourceFile:151)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventQueue.access$500(EventQueue.java:97)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventQueue$3.run(EventQueue.java:709)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventQueue$3.run(EventQueue.java:703)

[Sun Mar 24 17:45:56 ACST 2019] at java.security.AccessController.doPrivileged(Native Method)

[Sun Mar 24 17:45:56 ACST 2019] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

[Sun Mar 24 17:45:56 ACST 2019] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 

Issue comments

What is this complete path?

/Users/(my account name)/Desktop/MCreator/MCreator183

Does the (my account name) contain any spaces?

(my account name) is quite literally the name of my account on my laptop. It doesn't contain any spaces but a full stop. The complete path is /Users/Eunice.Y/Desktop/MCreator/MCreator183

Could you try moving MCreator to a folder without any special characters, just so we can try if the full stop is causing the problem? Thanks!

I have checked the log more in-depth and my only idea at the moment is that MCreator can't write to the directory from which it was launched. Are sure that the user that is running the .command file can write this folder? Try setting the 777 permission of the folder in which is MCreator installed by running this command:

chmod 777 <path to install dir>

Please report back.

@Klemen

The answer is a simple as 2 clicks. You HAVE to actually allow the folder "MCreator###" to be edited by the computer admin.

1st: Right Click on the Folder, and Click "Get Info".

2nd: When the "Info" window pops up, click down at your name of the account on your computer, and make sure the permission is set to "Read & Write".

I am having the same problem now as well, but I have read and write permissions and I am a admin on my computer, so I don't know why it doesn't work. It is on my desktop, btw.

Imma try setting the read and write permissions to everyone and see if it works.

Actually wait I was looking at a different folder the MCreator183 file only lets me read, so I'll change it and tell you if it works.

Ok yes the program launched now :D ! I guess now you can mark the ticket as "fixed" with the solution as: Make sure that MCreator183 has Read and Write permissions on your computer.