[Bug 2130432] [NEW] error when trying to report a no more existing crash report and cancelling it on a terminal

Guybrush88 2130432 at bugs.launchpad.net
Fri Oct 31 13:34:18 UTC 2025


Public bug reported:

OS= Lubuntu 26.04
I moved an old crash report (from an older release to a generic directory with other random files (so not /var/crash) and I tried to report it without doing a CD command in order to reach the proper directory containing the report file, I mistyped my password and then I canceled the operation, and I got this error:

username:~$ubuntu-bug _usr_bin_lubuntu-update.1000.crash
[sudo: authenticate] Password: 
sudo: Authentication failed, try again.
[sudo: authenticate] Password: 
^CTraceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1823, in load_report
    with open(path, "rb") as f:
         ~~~~^^^^^^^^^^^^
FileNotFoundError: [Errno 2] File o directory non esistente: '_usr_bin_lubuntu-update.1000.crash'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 664, in <module>
    main(sys.argv)
    ~~~~^^^^^^^^^^
  File "/usr/share/apport/apport-gtk", line 660, in main
    app.run_argv()
    ~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 929, in run_argv
    self.run_crash(self.args.crash_file)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 439, in run_crash
    if not self.report and not self.load_report(report_file):
                               ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1839, in load_report
    self.ui_error_message(_("Invalid problem report"), str(error.strerror))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/apport/apport-gtk", line 437, in ui_error_message
    self._ui_message_dialog(title, text, Gtk.MessageType.ERROR)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/apport/apport-gtk", line 426, in _ui_message_dialog
    result = self.md.run()
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 569, in run
    with register_sigint_fallback(self.destroy):
         ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/contextlib.py", line 148, in __exit__
    next(self.gen)
    ~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 239, in register_sigint_fallback
    signal.default_int_handler(signal.SIGINT, None)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  error when trying to report a no more existing crash report and
  cancelling it on a terminal

Status in apport package in Ubuntu:
  New

Bug description:
  OS= Lubuntu 26.04
  I moved an old crash report (from an older release to a generic directory with other random files (so not /var/crash) and I tried to report it without doing a CD command in order to reach the proper directory containing the report file, I mistyped my password and then I canceled the operation, and I got this error:

  username:~$ubuntu-bug _usr_bin_lubuntu-update.1000.crash
  [sudo: authenticate] Password: 
  sudo: Authentication failed, try again.
  [sudo: authenticate] Password: 
  ^CTraceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1823, in load_report
      with open(path, "rb") as f:
           ~~~~^^^^^^^^^^^^
  FileNotFoundError: [Errno 2] File o directory non esistente: '_usr_bin_lubuntu-update.1000.crash'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 664, in <module>
      main(sys.argv)
      ~~~~^^^^^^^^^^
    File "/usr/share/apport/apport-gtk", line 660, in main
      app.run_argv()
      ~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 929, in run_argv
      self.run_crash(self.args.crash_file)
      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 439, in run_crash
      if not self.report and not self.load_report(report_file):
                                 ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1839, in load_report
      self.ui_error_message(_("Invalid problem report"), str(error.strerror))
      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/apport/apport-gtk", line 437, in ui_error_message
      self._ui_message_dialog(title, text, Gtk.MessageType.ERROR)
      ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/apport/apport-gtk", line 426, in _ui_message_dialog
      result = self.md.run()
    File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 569, in run
      with register_sigint_fallback(self.destroy):
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
    File "/usr/lib/python3.13/contextlib.py", line 148, in __exit__
      next(self.gen)
      ~~~~^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 239, in register_sigint_fallback
      signal.default_int_handler(signal.SIGINT, None)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  KeyboardInterrupt

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




More information about the foundations-bugs mailing list