Public bug reported:
Showing game window for a few seconds and then exits and prints in
terminal
{{{
Traceback (most recent call last):
File "/usr/lib/krank/Main.py", line 97, in <module>
k.screen.blit(k.world.image, k.screen.get)rect())
TypeError: argument 1 must be pygame.surface.Surface, not None
}}}
Long story short - it is because "imp" module is deprecated.
https://docs.python.org/3.9/library/imp.html
I've created .patch file, but don't know what I shoud do next.
** Affects: krank (Ubuntu)
Importance: Undecided
Status: New
** Tags: krank pygame python3
** Patch added: "imp-to-importlib.patch"
https://bugs.launchpad.net/bugs/2085524/+attachment/5831327/+files/imp-to-importlib.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085524
Title:
not starting after upgrading to 24.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krank/+bug/2085524/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs