Skip to content

[Bug Report] Ubuntu (Linux) crashing when I click 3d editor #1105

Open
@LittleTimmy52

Description

Bug Report

Current Behaviour:

When I click on 3d Editor it gives me an error, when I click ok, I get another, then it crashes.

Expected behavior:

When I click it, I expect it to take me to the 3d Editor and not crash

Steps To Reproduce:

  1. open the python venv
  2. run amulet map editor
  3. open a world
  4. click 3d Editor
  5. recieve errors

Environment:

  • OS: Windows | OSX | linux
  • Minecraft Platform: Java | Bedrock | Education Edition
  • Minecraft Version:
  • Amulet Version:
  • OS: Ubuntu 22.04
  • Minecraft Java
  • Minecraft 1.12.2 (It is modded but I forgot the forge version)
  • Amulet 0.10.36

Additional context

Installed via pip with python 3.10.12
I have not tested with a vanilla world as I never play vanilla nor have I on the machine im currently using nor do I even have the normal launcher installed (I use multimc)

Attachments

Screenshots

Here is a video instead

AmuletNoWork.mp4

Worlds

Its too big to add and I don't think people would like some random google drive link

The console

its not on the template but I think it would help

INFO - PyMCTranslate Version 298
INFO - Loading level /home/littletimmy52/.local/share/PrismLauncher/instances/Stellar Archives 3 v1.0.2/minecraft/saves/PlayTesting
INFO - Loading level /home/littletimmy52/.local/share/PrismLauncher/instances/Stellar Archives 3 v1.0.2/minecraft/saves/PlayTesting
INFO - No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
INFO - No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
CRITICAL - NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

CRITICAL - NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

CRITICAL - NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

During handling of the above exception, another exception occurred:

NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

CRITICAL - NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

During handling of the above exception, another exception occurred:

NotImplementedError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in init
super().init(parent, world)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in init
super().init(parent)
File "/home/littletimmy52/amuletmc/lib/python3.10/site-packages/amulet_map_editor/api/opengl/canvas/canvas.py", line 41, in init
display_attributes = GLAttributes()
SystemError: <class 'wx._glcanvas.GLAttributes'> returned a result with an exception set

(main.py:78657): GLib-GObject-WARNING **: 17:52:35.632: ../../../gobject/gsignal.c:2765: instance '0x55b59a6456e0' has no handler with id '2609'
Segmentation fault (core dumped)

Metadata

Assignees

No one assigned

    Labels

    state: triagethe severity of this ticket needs evaluatingtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions