Skip to content
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

gpodder-3.11.1 stack trace with python3-3.12.0 #1567

Closed
andbenn opened this issue Oct 14, 2023 · 2 comments · Fixed by #1571
Closed

gpodder-3.11.1 stack trace with python3-3.12.0 #1567

andbenn opened this issue Oct 14, 2023 · 2 comments · Fixed by #1571

Comments

@andbenn
Copy link

andbenn commented Oct 14, 2023

Using Void Linux, recently both python3 and gpodder were updated..
gpodder-3.11.1_2
python3-3.12.0_1

When I launch, I get this stack trace and gpodder fails to start:

1697316527.979454 [gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
  File "/usr/bin/gpodder", line 181, in <module>
    main()
  File "/usr/bin/gpodder", line 173, in main
    from gpodder.gtkui import app
  File "/usr/lib/python3.12/site-packages/gpodder/gtkui/app.py", line 31, in <module>
    from gpodder import core, util
  File "/usr/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/usr/lib/python3.12/site-packages/gpodder/extensions.py", line 34, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

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

@auouymous
Copy link
Member

Python 3.12 removed that module, along with at least #1386. Void either doesn't verify packages work with newest Python versions or they missed gPodder. You will need to downgrade Python to 3.11 until we can migrate, and report this to Void Linux.

@andbenn
Copy link
Author

andbenn commented Oct 14, 2023

Thanks for the quick check and reply. I've created an issue for Void Linux at void-linux/void-packages#46683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants