[Bug 1941709] Re: bpython: crash after a few seconds related to apparmor
Brian Murray
1941709 at bugs.launchpad.net
Wed Sep 22 20:19:54 UTC 2021
I sponsored this after running update-maintainer.
$ dput bpython_0.21-3ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /tmp/pkgs/impish/bpython_0.21-3ubuntu1_source.changes: Valid signature from 1E918B66765B3E31
Checking signature on .dsc
gpg: /tmp/pkgs/impish/bpython_0.21-3ubuntu1.dsc: Valid signature from 1E918B66765B3E31
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading bpython_0.21-3ubuntu1.dsc: done.
Uploading bpython_0.21-3ubuntu1.debian.tar.xz: done.
Uploading bpython_0.21-3ubuntu1_source.buildinfo: done.
Uploading bpython_0.21-3ubuntu1_source.changes: done.
Successfully uploaded packages.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1941709
Title:
bpython: crash after a few seconds related to apparmor
Status in bpython package in Ubuntu:
New
Bug description:
Something goes wrong in the import completion code, as it tries to
open an apparmor-related sysfs file. The crash appears a few seconds
after launching bpython. Seems fixed upstream.
LANG=C bpython
bpython version 0.21 on top of Python 3.9.6 /usr/bin/python3
>>>
Traceback (most recent call last):
File "/usr/bin/bpython", line 33, in <module>
sys.exit(load_entry_point('bpython==0.21', 'console_scripts', 'bpython')())
File "/usr/lib/python3/dist-packages/bpython/curtsies.py", line 201, in main
exit_value = repl.mainloop(True, paste)
File "/usr/lib/python3/dist-packages/bpython/curtsies.py", line 115, in mainloop
while self.module_gatherer.find_coroutine():
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 226, in find_coroutine
next(self.find_iterator)
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 217, in find_all_modules
for module in self.find_modules(p):
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 202, in find_modules
for subname in self.find_modules(path_real):
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 202, in find_modules
for subname in self.find_modules(path_real):
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 202, in find_modules
for subname in self.find_modules(path_real):
[Previous line repeated 12 more times]
File "/usr/lib/python3/dist-packages/bpython/importcompletion.py", line 199, in find_modules
stat = path_real.stat()
File "/usr/lib/python3.9/pathlib.py", line 1222, in stat
return self._accessor.stat(self)
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/security/apparmor/apparmorfs:[15545]'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpython/+bug/1941709/+subscriptions
More information about the Ubuntu-sponsors
mailing list