Amulet-Team / Amulet-Map-Editor

A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.
https://www.amuletmc.com/
1.79k stars 123 forks source link

amulet_app.exe not executing #956

Open imvickykumar999 opened 1 year ago

imvickykumar999 commented 1 year ago

Bug Report

Current Behaviour:

On clicking the amulet_app.exe file, it opens for less than a second and closes suddenly.

Expected behavior:

I checked on https://www.amuletmc.com/faq How do I download Amulet?

It says: For windows you can download the version for your operating system from amuletmc.com and extract the zip file to your computer. Once it is extracted find amulet_app.exe and run it.

It should open a window to edit the world, just like mcedit software opens.

Environment:

Attachments

Screenshots

image

Worlds Demo_World

gentlegiantJGC commented 1 year ago

Please can you try the following and report back the output.

In the file explorer window in the Amulet directory shift + right click in empty space. Click Open Powershell window here from the list. In the blue box that appears type ./amulet_app.exe and press enter. There will hopefully be some output. Screenshot it and send it.

imvickykumar999 commented 1 year ago

Please can you try the following and report back the output.

In the file explorer window in the Amulet directory shift + right click in empty space. Click Open Powershell window here from the list. In the blue box that appears type ./amulet_app.exe and press enter. There will hopefully be some output. Screenshot it and send it.

image

gentlegiantJGC commented 1 year ago

PyInstaller has made some changes to this code since I made this build which may have fixed the problem. I will try making another build. Let me know if it fixes it.

ajh123 commented 1 year ago

Same bug in 0.10.19

gentlegiantJGC commented 1 year ago

Please can you copy the console crash

ajh123 commented 1 year ago

@gentlegiantJGC Here it is

Traceback (most recent call last):
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_win32comgenpy.py", line 46, in <module>
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_win32comgenpy.py", line 25, in _pyi_rthook
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "win32com\__init__.py", line 8, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "pythoncom.py", line 2, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "pywintypes.py", line 126, in <module>
  File "pywintypes.py", line 47, in __import_pywin32_system_module__
ImportError: Module 'pywintypes' isn't in frozen sys.path ['D:\\Amulet\\base_library.zip', 'D:\\Amulet\\lib-dynload', 'D:\\Amulet']
[18288] Failed to execute script 'pyi_rth_win32comgenpy' due to unhandled exception!