** Summary changed:

- accerciser crashed with ModuleNotFoundError in 
/usr/lib/python3/dist-packages/accerciser/plugin/view.py: No module named 'imp'
+ [SRU] accerciser crashed with ModuleNotFoundError in 
/usr/lib/python3/dist-packages/accerciser/plugin/view.py: No module named 'imp'

** Description changed:

- accerciser crashed imediately when executed:
+ [ Impact ]
+ 
+ accerciser is completely unusable. It will immediately crash when any user 
executes it.
+ The error will be:
  
  $ accerciser 
  Traceback (most recent call last):
    File "/usr/bin/accerciser", line 79, in <module>
      accerciser.main()
    File "/usr/lib/python3/dist-packages/accerciser/__init__.py", line 34, in 
main
      from .accerciser import Main
    File "/usr/lib/python3/dist-packages/accerciser/accerciser.py", line 29, in 
<module>
      from .plugin import PluginManager
    File "/usr/lib/python3/dist-packages/accerciser/plugin/__init__.py", line 
15, in <module>
      from .plugin_manager import PluginManager
    File "/usr/lib/python3/dist-packages/accerciser/plugin/plugin_manager.py", 
line 21, in <module>
      from .view import ViewManager
    File "/usr/lib/python3/dist-packages/accerciser/plugin/view.py", line 23, 
in <module>
      import imp
  ModuleNotFoundError: No module named 'imp'
  
+ [ Test Plan ]
+ 
+ install accerciser
+ 
+ run accerciser from a terminal or from the launcher
+ The accersier window will be displayed.
+ 
+ [ Where problems could occur ]
+ 
+ There is a small change in the code to use importlib instead of imp to import 
the module. There can be a risk that the new API does not work same way as the 
old one.
+ But considering that currently accerciser does not even start so as a worst 
case scenario if the fix causes some regression then the user will not see any 
new issue but will continue to see the same problem as is now.
+ 
+ 
+ [ Other Info ]
+ 
+ It has been fixed in the new version, and so Debian and Oracular are
+ fixed.
+ 
+ [ Original Bug Description ]
+ 
+ 
+ accerciser crashed imediately when executed:
+ 
+ $ accerciser
+ Traceback (most recent call last):
+   File "/usr/bin/accerciser", line 79, in <module>
+     accerciser.main()
+   File "/usr/lib/python3/dist-packages/accerciser/__init__.py", line 34, in 
main
+     from .accerciser import Main
+   File "/usr/lib/python3/dist-packages/accerciser/accerciser.py", line 29, in 
<module>
+     from .plugin import PluginManager
+   File "/usr/lib/python3/dist-packages/accerciser/plugin/__init__.py", line 
15, in <module>
+     from .plugin_manager import PluginManager
+   File "/usr/lib/python3/dist-packages/accerciser/plugin/plugin_manager.py", 
line 21, in <module>
+     from .view import ViewManager
+   File "/usr/lib/python3/dist-packages/accerciser/plugin/view.py", line 23, 
in <module>
+     import imp
+ ModuleNotFoundError: No module named 'imp'
  
  ProblemType: Crash
  DistroRelease: Ubuntu 24.10
  Package: accerciser 3.42.0-1
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.29.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashCounter: 1
  Date: Sun Aug  4 22:08:59 2024
  ExecutablePath: /usr/bin/accerciser
  InstallationDate: Installed on 2024-06-17 (48 days ago)
  InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Daily amd64 (20240617)
  InterpreterPath: /usr/bin/python3.12
  JournalErrors: Aug 04 22:09:04 hostname gnome-shell[1332]: 
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' 
failed
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/accerciser
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  Python3Details: /usr/bin/python3.12, Python 3.12.4, python3-minimal, 3.12.4-1
  PythonArgs: ['/usr/bin/accerciser']
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: accerciser
  Title: accerciser crashed with ModuleNotFoundError in 
/usr/lib/python3/dist-packages/accerciser/plugin/view.py: No module named 'imp'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sudo users

** Changed in: accerciser (Ubuntu Noble)
     Assignee: Sudip Mukherjee (sudipmuk) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076044

Title:
  [SRU] accerciser crashed with ModuleNotFoundError in
  /usr/lib/python3/dist-packages/accerciser/plugin/view.py: No module
  named 'imp'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accerciser/+bug/2076044/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to