/usr/share/apport/apport:AttributeError:/usr/share/apport/apport@458:parse_arguments:print_usage:_print_message

Bug #1910604 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu27.12, the problem page at https://errors.ubuntu.com/problem/9b24bfd33f42cf15ca4956317629b13c340448e4 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/.

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's the Traceback:

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

Revision history for this message
Brian Murray (brian-murray) wrote :

This is a variation of LP: #1899195 however in this case the executable path has a space in the name e.g.

/usr/lib/plexmediaserver/Plex Media Server

which ends up being split into multiple arguments:

['/usr/share/apport/apport', '1700', '11', '0', '1', '1700', '!usr!lib!plexmediaserver!Plex', 'Media', 'Server']

Which is more than apport expects.

tags: added: rls-hh-incoming
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.