Skip to content

Gpodder doesn't start anymore on Ubuntu 24.04 : ModuleNotFoundError: No module named 'imp' #1614

@Valeryan24

Description

@Valeryan24

Hi, since a few days, Gpodder (last deb version from repositery) doesn't launch anymore on Ubuntu 24.04 (beta version in development) :
"[gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
File "/usr/bin/gpodder", line 181, in
main()
File "/usr/bin/gpodder", line 173, in main
from gpodder.gtkui import app
File "/usr/lib/python3/dist-packages/gpodder/gtkui/app.py", line 31, in
from gpodder import core, util
File "/usr/lib/python3/dist-packages/gpodder/core.py", line 25, in
from gpodder import config, dbsqlite, extensions, model, util
File "/usr/lib/python3/dist-packages/gpodder/extensions.py", line 34, in
import imp
ModuleNotFoundError: No module named 'imp'

Traceback (most recent call last):
File "/usr/bin/gpodder", line 181, in
main()
File "/usr/bin/gpodder", line 173, in main
from gpodder.gtkui import app
File "/usr/lib/python3/dist-packages/gpodder/gtkui/app.py", line 31, in
from gpodder import core, util
File "/usr/lib/python3/dist-packages/gpodder/core.py", line 25, in
from gpodder import config, dbsqlite, extensions, model, util
File "/usr/lib/python3/dist-packages/gpodder/extensions.py", line 34, in
import imp
ModuleNotFoundError: No module named 'imp'"

There is a major bug related to AppArmor in Ubuntu, which prevents many programs to start, could it be related to this or is it something different ?

https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844

AppArmor user namespace creation restrictions on Ubuntu cause many applications to crash with SIGTRAP or SIGSEGV.
Ubuntu recently decided to disable unprivileged access to user namespaces. You can find more information it about it here:
https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces

"You can enable user namespaces by either making a apparmor profile for your installs, making sure the directory where the program is installed is correct in the profile, or by just enabling user namespaces for your system."

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions