Closed arbolis closed 2 years ago
Doesn't look related to the python version at all. Did you test mupen64plus with the same plugins and did you try to change the plugin? Is it 3.9 or 3.10, works fine for me on 3.9.8. Also, there is a core dump, can you send details about the crash?
First of all, thank you very much for the (fast!) response gen2brain. I was on IRC in the Arch Linux channel to seek for some help, and other people, who had never installed neither M64py nor mupen64plus faced the same problem (core dump), and they were the ones who figured out it was a Python related problem.
I can run "mupen64plus name_of_rom" just fine, the game will start (albeit with glitched graphics, but this was always the case... and m64py was my only way to fix those, by tweaking the graphics settings, that I cannot access anymore now, since the program won't run properly).
All was working with Python 3.9 (dot something). It is when I passed to 3.10 (dot 1) that things stopped to work.
I didn't know core dumps left some debugging files. I attach one of the binaries of the crashes I had. (I am guessing they are pretty similar).
This should be fixed now.
It is, I have just tested it, no problem so far. You're very kind, thank you very much for the fix.
I experienced the same problem today. I think the problem is caused by this single line (number 179) on the file src/m64py/frontend/mainwindow.py cw, ch = (dwidth/2)-(width/2), (dheight/2)-(height/2)
I fixed the problem changing it to: cw, ch = (dwidth//2)-(width//2), (dheight//2)-(height//2)
@gen2brain Got this reported downstream: https://bugs.mageia.org/show_bug.cgi?id=30221
If there are no outstanding issues preventing a release, may I suggest tagging 0.2.6 or similar so that distro packagers pick up the Python 3.10 compatible version? For now I'll backport the patches but a tagged release would be better :)
I had this issue with python 3.11, and @gui-ibanhez 's fix solved the issue for me.
Edit: Ignore me, I thought I had pulled the latest.
After updating my python packages to the version 3.10 (Arch Linux), m64py does not work anymore.
The command
m64py -v
returnsI made sure that mupen64plus works fine, the problem really comes from M64py. I hope there is a quick and easy fix... Thank you!