ModuleNotFoundError: No module named 'imp' with python 3.12

Bug #2066285 reported by Thomas Bechtold
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

From Noble, using osc (0.169.1-2) from universe and calling osc results in:

[~]$ osc
Traceback (most recent call last):
  File "/usr/bin/osc", line 10, in <module>
    from osc import commandline, babysitter
  File "/usr/lib/python3/dist-packages/osc/commandline.py", line 14, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: osc 0.169.1-2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 21 17:26:32 2024
InstallationDate: Installed on 2023-10-08 (226 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Beta amd64 (20230919.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: osc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas Bechtold (toabctl) wrote :
Changed in osc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.