AttributeError: 'Magic' object has no attribute 'cookie'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-magic (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ python3 -c "import magic; magic.Magic(
Exception ignored in: <function Magic.__del__ at 0x7fe52d0bb1f0>
Traceback (most recent call last):
File "/usr/lib/
if self.cookie and magic_close:
AttributeError: 'Magic' object has no attribute 'cookie'
<a href="https:/
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: __init__() got an unexpected keyword argument 'foo'
This is fixed in upstream https:/
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: python3-magic 2:0.4.20-3
ProcVersionSign
Uname: Linux 5.11.0-38-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 30 08:55:11 2021
InstallationDate: Installed on 2020-05-05 (542 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
SourcePackage: python-magic
UpgradeStatus: Upgraded to hirsute on 2021-05-07 (175 days ago)