apport-cli requires a terminal to submit

Bug #1932583 reported by Christopher Yeleighton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd'
Description: Ubuntu Impish Indri (development branch)
Release: 21.10

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Centerapport-noui:
  Installed: 2.20.11-0ubuntu67
  Candidate: 2.20.11-0ubuntu67
  Version table:
 *** 2.20.11-0ubuntu67 500
        500 http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
Let apport-cli read S from standard input.

4) What happened instead
What would you like to do? Your options are:
  S: Send report (8.4 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 387, in <module>
    if not app.run_argv():
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 717, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 556, in run_report_bug
    response = self.ui_present_report_details(allowed_to_report)
  File "/usr/bin/apport-cli", line 213, in ui_present_report_details
    response = dialog.run()
  File "/usr/bin/apport-cli", line 99, in run
    response = self.raw_input_char(
  File "/usr/bin/apport-cli", line 49, in raw_input_char
    saved_attributes = termios.tcgetattr(file)
termios.error: (25, 'Inappropriate ioctl for device')
The command '/bin/sh -c ubuntu-bug libkf5i18n-dev' returned a non-zero code: 1

Revision history for this message
Christopher Yeleighton (giecrilj) wrote :

Of course, it would be even better if apport provided an option to skip this dialogue altogether.

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.