-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D map editor unusable #2
Comments
Looks like I need to do more testing when I get home. I was using a virtual machine for testing different distributions, but I think I'll have to switch to physical machines. What version of Linux are you running, and what's your video card? |
I believe #1 is related as it looks like the FreeGLUT libraries and headers didn't get bundled when testing on the VMs. Once this is resolved, I'll do some independent testing outside of VMs on a couple of spare rigs I'm installing different distros on and we'll go from there. |
What version of Linux are you running, and what's your video card? Arch Linux, RX 6700XT, linux-lts in case it matters |
Well, I thought it might make a difference, and I made a bunch of changes, but it's still crashing. See my pastebin log here if you're curious. |
Looks like an implicit constructor. |
I think it's related to the OpenGL implementation inside Flatpak sandboxes. I'm trying something different when I get home today, and we'll see what happens. Evidently, they've discontinued and replaced the |
Or perhaps not? The Flatpak builder uses PIP to grab Amulet and all it's assorted dependencies, so I created a new VENV and installed Amulet with PIP myself, and it fails to run (see Amulet-Team/Amulet-Map-Editor#1093), so now I don't know. I'll make a clean VENV and try running Amulet's |
I did tweak the opengl initialisation recently so I may have broken something. |
I have a post open on the wxPython forums to try and get to the bottom of this, and I'll update this as information is made available. |
So, I got Amulet to run from a PIP install by changing the version of Python running it, then checked the modules PIP installed with Amulet (I haven't installed anything else in this VENV):
So, I'm going to try rebuilding the Flatpak using these specific packages and versions and see what happens. |
Installing Amulet with PIP in Python 3.11.9 (which is what Flatpak uses) and running after install: No problems I did have to tweak requirements.txt in order to fix several "Module [blah] not found" errors, but having resolved those, it's now building the flatpack on my test machine as I type this, so I will hopefully have a useable flatpak in the morning. |
The Flatpak still crashes, so I'm going try using the 22.08 version of the SDK, instead of the 23.08 because it uses an older version of Python. I also feel like my OpenGL implementation is somehow incomplete even though according to the official documentation, I should only need to include |
So, I've added some things to the recipe that I hope will future-proof updates while remaining (mostly) backwards compatible:
I'm fairly sure it should pull the build instructions for the extra modules right from GitHub, but if it doesn't, I'll manually add them. |
I dunno, guys. Nothing works for me. Some changes prevent the project from even building, and when I fix those, something else breaks. Then when I get everything to stop breaking and actually give me a useable .flatpak file, I'm right back to this same irritatingly fatal error. |
I believe this should now be resolved per my comment at Amulet-Team/Amulet-Map-Editor#1070 which basically boils down to me making a rookie mistake on my first major Flatpak build. |
OK, after a metric f_ck tonne of trial-and-error, and some solid guidance from Amulet Flatpak launches on Wayland, includes a "fallback" directive for X11, and properly loads Minecraft saves in the 3D editor. |
whenever I try to open a map with the 3D map editor, I get this:
Really no idea why I get this, but I hope you can fix that ;)
Thanks!
The text was updated successfully, but these errors were encountered: