'module' object has no attribute 'O_PATH'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
High
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Tiago Stürmer Daitx |
Bug Description
I encountered the following exception in python-apport while encountering an exception `bup` which uses `python-apport`. I'm sure that the exception lies in the responsibility of `python-apport` (the `AttributeError` stacktrace is relevant):
```
Traceback (most recent call last):
File "/usr/lib/
update_
File "/usr/lib/
mi.close()
File "/usr/lib/
os.
OSError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
return oldhook(exctype, value, traceback)
File "/usr/lib/
pr.
File "/usr/lib/
proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY)
AttributeError: 'module' object has no attribute 'O_PATH'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/
update_
File "/usr/lib/
mi.close()
File "/usr/lib/
os.
OSError: [Errno 13] Permission denied
```
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: python-apport 2.20.11-0ubuntu8.2
ProcVersionSign
Uname: Linux 5.3.0-19-generic x86_64
NonfreeKernelMo
ApportLog: Error: [Errno 13] Keine Berechtigung: '/var/log/
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 8 10:43:02 2019
PackageArchitec
SourcePackage: apport
UpgradeStatus: Upgraded to eoan on 2019-10-25 (13 days ago)
tags: | added: regression-update |
Changed in apport (Ubuntu): | |
status: | Incomplete → New |
tags: | added: id-5dd454a1dd84728273703743 |
Changed in apport (Ubuntu): | |
assignee: | nobody → Tiago Stürmer Daitx (tdaitx) |
importance: | Undecided → High |
status: | Confirmed → In Progress |
tags: | added: id-5e540609ebb75b15e089ff0e |
Changed in apport: | |
status: | New → Fix Released |
milestone: | none → 2.21.0 |
importance: | Undecided → High |
Thank you for your bug report. Could you give some steps to trigger the issue?