[Bug 2085524] Re: not starting after upgrading to 24.04
Simon Quigley
2085524 at bugs.launchpad.net
Mon Jan 27 17:44:43 UTC 2025
Hello Dmitriy,
Thank you very much for promptly providing the updated debdiffs!
There was only one tweak I made to the patch itself, and it's incredibly
minor:
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086755
to
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086755
And as for the changelog, I just tweaked it to match the regular
expression for Launchpad bugs: (LP: #2085524)
I have also ran update-maintainer.
------
With those changes in mind, congratulations, these have now been
uploaded to Ubuntu! 🎉
Your new uploads should be tracked here shortly, along with any future
uploads you may receive sponsorship for: https://udd.debian.org/cgi-
bin/ubuntu-
sponsorships.cgi?render=html&sponsor=&sponsor_search=name&sponsoree=Dmitriy+Prokaten&sponsoree_search=name
- please consider bookmarking this link for your own reference.
Just so you're aware of what's next, since these uploads are for stable
releases, they will now be reviewed by the Ubuntu Stable Release Updates
Team (also known as "the SRU team.") They will first review the debdiff
as well, in case I happened to miss something, as well as the bug
description here. If you happen to think of any additional information
that the SRU team should be aware of, please feel free to add to the bug
description or add another comment.
After the SRU team reviews these uploads, they will either be accepted
or rejected. This initial review process could take several days, but
don't worry, they're aware of it. If it's accepted, the SRU team will
follow up here with further instructions on verification, so it can be
delivered to users via the -updates pocket. This is held in the proposed
pocket for a minimum of 7 days pending verification. If it happens to be
rejected, they will follow up on the bug report explaining why. (SRU
team, please also ping me on IRC if you do reject this, so I can assist
in making this a smooth experience.)
Thank you again for your contribution to Ubuntu, and I wish you all the
best! Please do feel free to re-subscribe sponsors if the SRU team
happens to need another revision, or if you have any further questions
we can answer for you.
Best regards,
Simon
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2085524
Title:
not starting after upgrading to 24.04
Status in krank package in Ubuntu:
Fix Released
Status in krank source package in Noble:
Confirmed
Status in krank source package in Oracular:
Confirmed
Status in krank source package in Plucky:
Fix Released
Status in krank package in Debian:
Fix Released
Bug description:
[ Impact ]
The game doesn't work.
All levels in krank are imported as python modules and all game
screens (menus, settings, actual game stages) are 'levels'. Deprecated
'imp' is used in Level.py, but in "try - except" statement, so the
error emerges in other place.
The solution is to use 'importlib' instead of 'imp'.
[ Test Plan ]
Run the game and it will crash after a few moments or not.
Also in /usr/lib/krank/Main.py you could try to select different levels and try to load them directrly in debug mode
{{{
k.debug = 0
startlevel = k.debug and 24
}}}
[ Where problems could occur ]
Since the problem is in module that loads all the levels - some levels
may not load (in debug mode some game logic is missing and it is hard
to test all of them "the right way").
[ Other Info ]
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krank/+bug/2085524/+subscriptions
More information about the Ubuntu-sponsors
mailing list