So, despite being flagged as spam, I was able to resolve the issue with PyYAML preventing the Amulet Flatpak project from being built, but now I have another problem: When loading a Minecraft world in the 3D editor (which is rendered on the canvas created by wxPython), it crashes. Since pastebin links get me flagged for spam, I’ll copy the error here:
INFO - PyMCTranslate Version 291
Gtk-Message: 13:20:08.646: Failed to load module "xapp-gtk3-module"
INFO - Loading level /home/evilsupahfly/.minecraft/saves/Otherwhere
INFO - Loading level /home/evilsupahfly/.minecraft/saves/Otherwhere
CRITICAL - NotImplementedError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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 "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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 "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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 "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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 "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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 "/app/lib/python3.11/site-packages/amulet_map_editor/api/framework/pages/world_page.py", line 178, in _enable_page
self.GetPage(page).enable()
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/edit.py", line 69, in enable
self._canvas = EditCanvas(self, self._world)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/edit_canvas.py", line 150, in __init__
super().__init__(parent, world)
File "/app/lib/python3.11/site-packages/amulet_map_editor/programs/edit/api/canvas/base_edit_canvas.py", line 63, in __init__
super().__init__(parent)
File "/app/lib/python3.11/site-packages/amulet_map_editor/api/opengl/canvas/event_canvas.py", line 15, in __init__
super().__init__(parent)
File "/app/lib/python3.11/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
(amulet_map_editor:2): GLib-GObject-CRITICAL **: 13:20:40.497: ../gobject/gsignal.c:2778: instance '0x65340a9834c0' has no handler with id '3836'
Specifics, in case somebody needs to know:
runtime-extensions:
- org.freedesktop.Platform.GL.default
finish-args:
- --socket=x11
- --socket=wayland
- --device=dri
TLDR; I can load the app just fine but it crashes when attempting to render a Minecraft world in the editor.