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.76k stars 121 forks source link

Crash when switching tabs while 3D canvas is loading #402

Closed Redkitt3n14 closed 2 years ago

Redkitt3n14 commented 3 years ago

Describe the bug Tried to convert world to bedrock and tabs shut themselves after 2 errors

To Reproduce Steps to reproduce the behavior:

  1. I selected java world and went to convert tab
  2. selected bedrock world to convert to, did NOT press convert
  3. go to 3d edit tab - currently says loading java textures
  4. when the bar reaches the end received error 1 (below)
  5. followed by error 2 (below)
  6. 3d edit and convert tabs shut leaving only about tab

Expected behavior I expected to be able to convert the world from java to bedrock

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I installed the program 20 min ago - first time user

The bug did not happen when run as administrator - managed to convert my world properly (unlike corrupt chunks with mcc tool chest :)

Error 1: C++ assertion "IsShown()" failed at ....\src\common\glcmn.cpp(84) in wxGLCanvasBase::SetCurrent(): can't make hidden GL canvas current Traceback (most recent call last): File "amulet_map_editor\api\framework\pages\world_page.py", line 155, in _enable_active File "amulet_map_editor\programs\edit\edit.py", line 84, in enable File "amulet_map_editor\programs\edit\api\canvas\edit_canvas.py", line 123, in enable File "amulet_map_editor\programs\edit\api\canvas\base_edit_canvas.py", line 229, in enable wx._core.wxAssertionError: C++ assertion "IsShown()" failed at ....\src\common\glcmn.cpp(84) in wxGLCanvasBase::SetCurrent(): can't make hidden GL canvas current

Error 2: wrapped C/C++ object of type Gauge has been deleted Traceback (most recent call last): File "amulet_map_editor\api\framework\pages\world_page.py", line 155, in _enable_active File "amulet_map_editor\programs\edit\edit.py", line 53, in enable RuntimeError: wrapped C/C++ object of type Gauge has been deleted

gentlegiantJGC commented 2 years ago

It looks like this issue happens when switching world tabs when the bar is still loading

gentlegiantJGC commented 2 years ago

This should be fixed in 0.10

Errorbot1122 commented 2 years ago

Still a bug

gentlegiantJGC commented 2 years ago

The bug has been fixed in 0.10 but that version has not been released yet.

Errorbot1122 commented 2 years ago

oh, tnx