Podshot / MCEdit-Unified

Combined MCEdit & Pymclevel repository.
http://podshot.github.io/MCEdit-Unified/
ISC License
484 stars 109 forks source link

MCEdit 1.5.2.1 Error when launched for first time (Mac) #659

Closed BrandonLane0148 closed 8 years ago

BrandonLane0148 commented 8 years ago

I really need MCEdit on a map I am making in 1.9. When I get the zip, all I did was extract it and then launch MCEdit. Everytime I have tried to launch this, it has given me a window that says mcedit Error with the options to open console and terminate. I have tried a few versions that have 1.9 support but none of them have worked. I also searched up the error and some people said emptying their resoucepack folders in mc worked (this was for older versions) but this didnt work. I am running Mac Version 10.6.8 and also installed xQuartz incase you still needed it to run

screen shot 2016-05-05 at 4 57 24 pm

Heres a little snippet of the stuff in the console:

5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] Splash load... 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] Traceback (most recent call last): 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] _run() 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] exec(compile(source, path, 'exec'), globals(), globals()) 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 13, in 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] import splash 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] File "splash.pyc", line 28, in 5/05/16 4:57:20 PM [0x0-0x2f02f].org.pythonmac.unspecified.mcedit[559] pygame.error: File is not a Windows BMP file 5/05/16 4:57:20 PM mcedit[559] mcedit Error

naor2013 commented 8 years ago

Is that all of the console? If there's more, please copy it to a site like pastebin and send that link here

BrandonLane0148 commented 8 years ago

the console is also showing other programs info in it for some reason but I'll try

BrandonLane0148 commented 8 years ago

5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] Splash load... 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] Traceback (most recent call last): 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] _run() 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] exec(compile(source, path, 'exec'), globals(), globals()) 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 13, in 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] import splash 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] File "splash.pyc", line 28, in 5/05/16 5:10:24 PM [0x0-0x38038].org.pythonmac.unspecified.mcedit[737] pygame.error: File is not a Windows BMP file 5/05/16 5:10:24 PM mcedit[737] mcedit Error 5/05/16 5:10:26 PM com.apple.launchd.peruser.86719664108 Exited with exit code: 255

that seems to be all (I did a string search for mcedit then copied all the ones from the same time of opening)

BrandonLane0148 commented 8 years ago

also I dont know if this will help, but there appears to be no files for the program anywhere. I did a search and looked through Libraries and Application Support folders and found nothing to do with mcedit

LaChal commented 8 years ago

pygame.error: File is not a Windows BMP file

MCEdit can't load an image in the 'splashes' folder. Open mcedit.app, go in Contents/Resources/splashes. There shall be only PNG images there, so, remove any other file. If there is only images, remove them. They are not essential for MCEdit.

Let us know what happen :smile:

naor2013 commented 8 years ago

I think it's in the hidden "Library" folder... Open Finder, open the goto tab, click alt and a new option would appear there called Library and you'll find it somewhere there

BrandonLane0148 commented 8 years ago

LaChal, by open do you mean right click then click on the Show Package Contents option?

robske110 commented 8 years ago

yes

BrandonLane0148 commented 8 years ago

there were only 4 .png files in there so I removed them and then launched MCEdit again and the same error came up

this is what the console says now

5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] Splash load... 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] Traceback (most recent call last): 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] _run() 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] exec(compile(source, path, 'exec'), globals(), globals()) 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 13, in 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] import splash 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] File "splash.pyc", line 28, in 5/05/16 5:35:33 PM [0x0-0x49049].org.pythonmac.unspecified.mcedit[971] pygame.error: File is not a Windows BMP file 5/05/16 5:35:33 PM mcedit[971] mcedit Error

LaChal commented 8 years ago

Try to remove the splash.png in Contents/Resources.

BrandonLane0148 commented 8 years ago

on top of the all of the images in the folder?

BrandonLane0148 commented 8 years ago

I opened mc edit with the splash folder empty as well as removing the splash png in the resource folder, and this time it showed a little square (replacing the loading picture I think) then it showed a black window titles pygame window. then it crashed and showed the same error window

Heres the console info

5/05/16 6:48:43 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] [ WARNING][ pymclevel.BOParser.py:16]:The bo3.def file is missing in /Users/alane1/Desktop/mcedit.app/Contents/Resources. The BO3 support will not be complete... 5/05/16 6:48:43 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] [ WARNING][ mcplatform.py:1182]:Initializing window management... 5/05/16 6:48:44 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] [ WARNING][ root.py:136]:Unable to set icon: error('File is not a Windows BMP file',) 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] [ ERROR][ root.py:1006]:MCEdit version Unified v1.5.2.1 %s Minecraft 1.8/1.9 | PE 0.11 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Traceback (most recent call last): 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1066, in 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1003, in main 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 734, in main 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 272, in init 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 325, in reloadEditor 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "leveleditor.pyc", line 273, in init 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] error: File is not a Windows BMP file 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Splash load... 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Minecraft_Server.jar storage initialized. 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Each server is stored in a subdirectory of /Users/alane1/Library/Application Support/pymclevel/ServerJarStorage named with the server's version number 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Cached servers: [] 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] mcedit.main MCEdit exited with errors. 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] ================================== 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] MCEdit has crashed 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] ================================== 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] Press the Enter key to close this windowTraceback (most recent call last): 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] _run() 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] exec(compile(source, path, 'exec'), globals(), globals()) 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1081, in 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] raw_input("Press the Enter key to close this window") 5/05/16 6:48:49 PM [0x0-0x54054].org.pythonmac.unspecified.mcedit[1517] EOFError: EOF when reading a line 5/05/16 6:48:50 PM mcedit[1517] mcedit Error 5/05/16 6:48:54 PM com.apple.launchd.peruser.86719664108 Exited with exit code: 255

LaChal commented 8 years ago

The black square at startup is now normal.

The error is still there, but in another place of the program.

By the way, your OS seem to be a bit old. This may be the cause.

I'll let people with more knowledge with MacOS look at this...

BrandonLane0148 commented 8 years ago

ok thanks for the help

BrandonLane0148 commented 8 years ago

but also what do you mean by "the error is still there, but in another place of the program"? is there anything I can do about that that might help fix the crash?

LaChal commented 8 years ago

File is not a Windows BMP file

This is the same error which crashed MCEdit before and after the .png deletion, but before it happened during the very early loading phase, and after it happened during the UI loading phase.

Deleting every remaining .png will not be the solution, since they are needed.

You may try to convert them to BMP format (but let them with the .png file extension), and have a try. But I'm not very confident with this solution. The BMP format does not support some features which are needed, like transparency...

You may also try to run from source, but you'll have to install the development dependencies.

BrandonLane0148 commented 8 years ago

What do you mean by running by source with development dependencies? Sorry for being a pain, but I really need this for the map I have planned

LaChal commented 8 years ago

Running from source can be done by cloning this Github repo, or getting the sources archive. Look at the main page of this repo. There is a Download ZIP button.

If you are not confident with the actual state of the code, you can pick an archive for the version you want by choosing Source code in the Download sections in the releases page.

To install the dependencies look at Running from source section in the README.

I don't know how this will go on old versions of OSX, so my personal advice is to backup your system before...

Another solution can be to install MCEdit in a virtual machine, if you can.

BrandonLane0148 commented 8 years ago

I dont really feel confident with that stuff tbh so Ill probs not do it, i might try the virtual machine. In my opinion mac sucks though, lel. I've used MCEdit before a lot on my families window laptops and its worked flawlessly.

Khroki commented 8 years ago

This may be an odd request, but could you try running mcedit from the terminal and see if it runs that way? (Make sure to change the directory to where mcedit is before starting it)

BrandonLane0148 commented 8 years ago

could you please leave instructions on how to do that? Im not very good at mac, I prefer windows. Also should I do this with or without the splashes folder contents and the splash png located in the resources folder?

BrandonLane0148 commented 8 years ago

ok, I think I did it right, I typed open desktop/mcedit.app into the terminal and opened mcedit without any of the splash files in the resources and splashes folder as I was told to do earlier. The same thing visually happened as before but heres the console info

6/05/16 4:35:28 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] [ WARNING][ pymclevel.BOParser.py:16]:The bo3.def file is missing in /Users/alane1/Desktop/mcedit.app/Contents/Resources. The BO3 support will not be complete... 6/05/16 4:35:29 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] [ WARNING][ mcplatform.py:1182]:Initializing window management... 6/05/16 4:35:29 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] [ WARNING][ root.py:136]:Unable to set icon: error('File is not a Windows BMP file',) 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] [ ERROR][ root.py:1006]:MCEdit version Unified v1.5.2.1 %s Minecraft 1.8/1.9 | PE 0.11 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Traceback (most recent call last): 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 1066, in 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 1003, in main 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 734, in main 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 272, in init 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 325, in reloadEditor 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "leveleditor.pyc", line 273, in init 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] error: File is not a Windows BMP file 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Splash load... 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Minecraft_Server.jar storage initialized. 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Each server is stored in a subdirectory of /Users/alane1/Library/Application Support/pymclevel/ServerJarStorage named with the server's version number 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Cached servers: [] 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] mcedit.main MCEdit exited with errors. 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] ================================== 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] MCEdit has crashed 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] ================================== 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] Press the Enter key to close this windowTraceback (most recent call last): 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] _run() 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] exec(compile(source, path, 'exec'), globals(), globals()) 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] File "/Users/alane1/desktop/mcedit.app/Contents/Resources/mcedit.py", line 1081, in 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] raw_input("Press the Enter key to close this window") 6/05/16 4:35:32 PM [0x0-0x39039].org.pythonmac.unspecified.mcedit[774] EOFError: EOF when reading a line 6/05/16 4:35:32 PM mcedit[774] mcedit Error 6/05/16 4:35:33 PM com.apple.launchd.peruser.86719664108 Exited with exit code: 255

Khroki commented 8 years ago

Hmm, well it's not osx using the wrong working directory, we're going to try and see if we can make a test build with a different image format, see if that fixes it. We'll post when it's ready for testing.

Note though it is possible that OSX 10.6.x support has broken, and would be ideal if you could upgrade to 10.7.0 or higher.

BrandonLane0148 commented 8 years ago

Yeah I have tried multiple times to upgrade my OSX but errors occur every time. It is really annoying. Thank you so much for making a test build though! :smile:

LaChal commented 8 years ago

@TouchedChicken Some tweaks were made in the code.

If you want, we'll provide you a test build. Please, tell us what happens :smile:

Khroki commented 8 years ago

Give this a try and let us know if it crashes or not. [Removed]

BrandonLane0148 commented 8 years ago

I have to go to school now but I will try it once I get home. :smile:

BrandonLane0148 commented 8 years ago

Same thing seems to be happening with this new build. Heres the console info again:

10/05/16 3:41:10 PM [0x0-0x1a01a].com.apple.archiveutility[265] ditto: mcedit.app/Contents/Resources/fonts/NotoSansHans-Bold.ttf: No such file or directory 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] Splash load... 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] Traceback (most recent call last): 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] _run() 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] exec(compile(source, path, 'exec'), globals(), globals()) 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 13, in 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] import splash 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] File "splash.pyc", line 28, in 10/05/16 3:41:50 PM [0x0-0x1e01e].org.pythonmac.unspecified.mcedit[283] pygame.error: File is not a Windows BMP file 10/05/16 3:41:50 PM mcedit[283] mcedit Error 10/05/16 3:41:53 PM com.apple.launchd.peruser.86719664108 Exited with exit code: 255

BrandonLane0148 commented 8 years ago

I tried running it without the splash files like before, and everything seems to be visually the same. It opens up a black screen then comes up with the error. Heres the console info for the crash with out the splash files:

10/05/16 3:46:57 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] [ WARNING][ pymclevel.BOParser.py:16]:The bo3.def file is missing in /Users/alane1/Desktop/mcedit.app/Contents/Resources. The BO3 support will not be complete... 10/05/16 3:46:58 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] [ WARNING][ mcplatform.py:1184]:Initializing window management... 10/05/16 3:46:58 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] [ WARNING][ root.py:136]:Unable to set icon: error('File is not a Windows BMP file',) 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] [ ERROR][ root.py:1006]:MCEdit version Unified v1.5.2.1 %s Minecraft 1.8/1.9 | PE 0.11 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Traceback (most recent call last): 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1066, in 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1003, in main 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 734, in main 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 272, in init 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 325, in reloadEditor 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "leveleditor.pyc", line 273, in init 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] error: File is not a Windows BMP file 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Splash load... 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] * MCEDIT DEBUG: bullets image could not be loaded. 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] * MCEDIT DEBUG: File is not a Windows BMP file 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] * MCEDIT DEBUG: bullets image file: /Users/alane1/Desktop/mcedit.app/Contents/Resources/Nbtsheet.png 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] * MCEDIT DEBUG: current directory: /Users/alane1/Desktop/mcedit.app/Contents/Resources 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Minecraft_Server.jar storage initialized. 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Each server is stored in a subdirectory of /Users/alane1/Library/Application Support/pymclevel/ServerJarStorage named with the server's version number 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Cached servers: [] 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] mcedit.main MCEdit exited with errors. 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] ================================== 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] MCEdit has crashed 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] ================================== 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] Press the Enter key to close this windowTraceback (most recent call last): 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] _run() 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] exec(compile(source, path, 'exec'), globals(), globals()) 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 1081, in 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] raw_input("Press the Enter key to close this window") 10/05/16 3:47:02 PM [0x0-0x27027].org.pythonmac.unspecified.mcedit[380] EOFError: EOF when reading a line 10/05/16 3:47:02 PM mcedit[380] mcedit Error 10/05/16 3:47:05 PM com.apple.launchd.peruser.86719664108 Exited with exit code: 255

BrandonLane0148 commented 8 years ago

Does that mean that it is just my laptop being to old to run it?

Khroki commented 8 years ago

Not necessarily but we're not sure exactly why 10.6 won't load non-bmp files, if we can find a way to make .bmp files do what we need or get pygame's other formats working under 10.6 we'll let you know.

BrandonLane0148 commented 8 years ago

Ok thanks! :smile:

BrandonLane0148 commented 8 years ago

Just thought i would let you know, the same crash happens when I launch the new version (1.5.3.0). (It doesnt get to the black screen part though) Heres console info:

25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit) 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] Splash load... 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] Traceback (most recent call last): 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 399, in 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] _run() 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/boot.py", line 336, in _run 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] exec(compile(source, path, 'exec'), globals(), globals()) 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] File "/Users/alane1/Desktop/mcedit.app/Contents/Resources/mcedit.py", line 13, in 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] import splash 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] File "splash.pyc", line 28, in 25/05/16 7:37:40 AM [0x0-0x20020].org.pythonmac.unspecified.mcedit[383] pygame.error: File is not a Windows BMP file 25/05/16 7:37:40 AM mcedit[383] mcedit Error 25/05/16 7:37:43 AM com.apple.launchd.peruser.86719664123 Exited with exit code: 255

Khroki commented 8 years ago

Yeah, we haven't found a solution yet. If you really want to use it until we find a solution, it should run from source on OSX 10.6 if you use the right library versions. Thing is they're not compatible with the newest OSX versions and our compiler, so I can't just downgrade the main build.

BrandonLane0148 commented 8 years ago

Im not in super desperate need, Im getting upgrading to a better windows laptop in a few months. Just thought I would let you know.

Khroki commented 8 years ago

Well, I think for now I need to declare current MCEdit builds OSX 10.6 incompatible. If anyone is still on it I highly recommend updating since apple doesn't support it any more. This doesn't mean I won't stop keeping an eye out for solutions, but with how apple libraries are I'm not sure how much we can do without breaking modern OSX compatibility.

ghost commented 7 years ago

This issue happened to me too on Ubuntu 17.04 (MATE DE) and was fixed for me by re-exporting session_good.png as a bmp and editing leveleditor.py:284 to point to that image. image

LaChal commented 7 years ago

This is an old issue, for an old MCEdit-Unified version...

Anyway, are you running from source? If yes, do you use the latest commit? Did you installed correctly the dependencies (especially the pygame ones)?

If you don't run from source, which version of MCEdit-Unified are you running?

ghost commented 7 years ago

Hello,

  1. I am running from source.
  2. commitsha (as I cloned it hours before, I assume it was the latest commit): 40472733ff84c84d2e67d4c0a682b14e7eecd393
  3. I installed the dependencies according to README.md (sudo easy_install pygame)

    MegaXLR

On 22 September 2017 at 20:55, LaChal notifications@github.com wrote:

This is an old issue, for an old MCEdit-Unified version...

Anyway, are you running from source? If yes, do you use the latest commit? Did you installed correctly the dependencies (especially the pygame ones)?

If you don't run from source, which version of MCEdit-Unified are you running?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Khroki/MCEdit-Unified/issues/659#issuecomment-331532075, or mute the thread https://github.com/notifications/unsubscribe-auth/AH1a7iXpPUEUEpgv04dhlr5R9YYyzdX6ks5slAKagaJpZM4IX0av .

LaChal commented 7 years ago

This commit is no more, the latest, but it shall not make you change the images format :smile:

When you install pygame, pay attention to also install its binary dependencies. pygame can be installed without some of them, but may not work with some image types or have some of its functions not working.

Pay attention to have these packages installed on your system in order to MCEdit work as expected:

- libSDL-1_2-0
- libSDL-devel
- libSDL_gfx13
- libSDL_image-1_2-0
- libSDL_mixer
- libSDL_ttf-2_0-0
- libpng16
- libjpeg8
- libsmpeg
- libv4l1

The names can be different, according to you package manager.