Traceback (most recent call last):
File "/usr/share/apport/apport", line 447, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 393, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.5/argparse.py", line 2362, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.5/argparse.py", line 2373, in _print_message
file.write(message)
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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903567
Title:
/usr/share/apport/apport:AttributeError:/usr/share/apport/apport@447:parse_arguments:print_usage:_print_message
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1903567/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs