Unhandled exception: TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
Bug #215380 reported by
Daniel Hahler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
I have entries like the following in /var/log/
apport (pid 9923) Wed Apr 9 03:27:48 2008: called for pid 12999, signal 11
apport (pid 9923) Wed Apr 9 03:27:48 2008: Unhandled exception:
Traceback (most recent call last):
File "/usr/share/
info.
File "/usr/lib/
assert os.path.
File "/usr/lib/
st = os.stat(path)
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
This is with Ubuntu Hardy, apport 0.107
To post a comment you must log in.
Thanks. Since apport catches exceptions, it is just a cosmetical problem. If we cannot read the executable path from /proc, then we lose anyway, and the best we can do is to gracefully ignore it.