[Bug 1980558] [NEW] /usr/share/apport/apport:AttributeError:/usr/share/apport/apport at 532:parse_arguments:print_usage:_print_message

errors.ubuntu.com bug bridge 1980558 at bugs.launchpad.net
Sat Jul 2 09:57:06 UTC 2022


*** This bug is a duplicate of bug 1979211 ***
    https://bugs.launchpad.net/bugs/1979211

Public bug reported:

Traceback (most recent call last):
  File "/usr/share/apport/apport", line 532, in <module>
    options = parse_arguments()
  File "/usr/share/apport/apport", line 464, in parse_arguments
    parser.print_usage()
  File "/usr/lib/python3.10/argparse.py", line 2563, in print_usage
    self._print_message(self.format_usage(), file)
  File "/usr/lib/python3.10/argparse.py", line 2574, in _print_message
    file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.21.0-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/d95779bc85f0e0f42e00b5542a90dbfa6fd749a7 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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


** Tags: kinetic

-- 
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/1980558

Title:
  /usr/share/apport/apport:AttributeError:/usr/share/apport/apport at 532:parse_arguments:print_usage:_print_message

Status in apport package in Ubuntu:
  New

Bug description:
  Traceback (most recent call last):
    File "/usr/share/apport/apport", line 532, in <module>
      options = parse_arguments()
    File "/usr/share/apport/apport", line 464, in parse_arguments
      parser.print_usage()
    File "/usr/lib/python3.10/argparse.py", line 2563, in print_usage
      self._print_message(self.format_usage(), file)
    File "/usr/lib/python3.10/argparse.py", line 2574, in _print_message
      file.write(message)
  AttributeError: 'NoneType' object has no attribute 'write'

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.21.0-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/d95779bc85f0e0f42e00b5542a90dbfa6fd749a7 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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




More information about the foundations-bugs mailing list