-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
GLAttributes returned a result with an error set #449
Comments
I'm getting this exact behaviour too on Arch with Gnome under both X and Wayland, with a fresh python virtual environment. No idea how to pry further into wxPython's behaviour though! |
I resolved this issue for my particular setup by installing the Arch community/python-wxpython package. I got a list of packages installed outside the virtual environment from a different machine with a working instance of Amulet on a hunch that pip was missing something wxpython required. I compared the package list on the working machine to the package list on the machine experiencing this error; a bunch of them were missing (working machine has a lot of cruft) and the python-wxpython was among them. I'm assuming having installed wxpython using the package manager provided something opengl-related that pip missed, but I've no idea how to investigate it further. |
This comment has been minimized.
This comment has been minimized.
Please open a new bug report. Your issue is different to this one |
This is still an issue and only effects some users on linux. |
the error message has now changed in Amulet 0.10.8 `<class 'wx._glcanvas.GLAttributes'> returned a result with an error set The above exception was the direct cause of the following exception: Traceback (most recent call last): |
After following a bit of the instructions at https://wxpython.org/pages/downloads/ and using this command For some reason the version that pip installs is wrong(?) |
It seems I found a solution. WXPython uses CPython to compile some classes. If it does not find some dependencies it just skips the compilation of related class (this is only MY THEORY). So, before installing WXPython you need to install some OpenGL dependencies.
You might also check for other missing OpenGL dependencies for wxPython |
Fixed typo in the first command:
Note: the options are flickering like crazy! (#127) But I managed to open, edit and save multiple maps at the same time. |
Has this bug already been reported? Please check if there is a bug report already open that matches this.
Describe the bug
A clear and concise description of what the bug is.
After clicking 3d editor I get
and then get locked out of the 3d editor
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
The 3d editor starts
Screenshots
The error message showed both in the console & in a popup on screen
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Could be from the amount of corrupted files on my failing harddrive messing with python or something
The text was updated successfully, but these errors were encountered: