/usr/share/apport/apport:AttributeError:/usr/share/apport/apport@447:parse_arguments:print_usage:_print_message
Bug #1903567 reported by
errors.ubuntu.com bug bridge
This bug report is a duplicate of:
Bug #1979211: /usr/share/apport/apport:AttributeError:/usr/share/apport/apport@531:parse_arguments:print_usage:_print_message.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
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.1-0ubuntu2.26, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
tags: | added: rls-hh-incoming |
Changed in apport (Ubuntu): | |
status: | New → Confirmed |
Changed in apport (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in apport (Ubuntu Bionic): | |
status: | New → Confirmed |
tags: | added: fr-922 |
tags: | removed: rls-hh-incoming |
Changed in apport (Ubuntu Xenial): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Traceback (most recent call last): apport/ apport" , line 447, in <module> apport/ apport" , line 393, in parse_arguments print_usage( ) python3. 5/argparse. py", line 2362, in print_usage _print_ message( self.format_ usage() , file) python3. 5/argparse. py", line 2373, in _print_message write(message)
File "/usr/share/
options = parse_arguments()
File "/usr/share/
parser.
File "/usr/lib/
self.
File "/usr/lib/
file.
AttributeError: 'NoneType' object has no attribute 'write'
This can happen if the path to the executable has a space in it e.g.:
bdmurray@ clean-xenial- amd64:~ $ /usr/bin/python3 /usr/share/ apport/ apport 14055 11 0 1 14055 /usr/lib/ plexmediaserver /Plex Media Server
usage: apport [-h] [-p PID] [-s SIGNAL_NUMBER] [-c CORE_ULIMIT] [-d DUMP_MODE]
[-P [GLOBAL_PID]] [-E [EXECUTABLE_PATH]]
Somehow apport needs to be modified to handle arguments where the executable path has a space in the name.