module 'json' has no attribute 'JSONDecodeError'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
command-not-found version: 0.3
Python version: 3.8.5 final 0
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 2021.02.17 LTS customized using Cubic on 2021-02-17 09:54
Release: 20.04
Codename: focal
Exception information:
module 'json' has no attribute 'JSONDecodeError'
Traceback (most recent call last):
File "/usr/lib/
snaps = json.loads(output)
AttributeError: module 'json' has no attribute 'loads'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
if not cnf.advise(args[0], options.
File "/usr/lib/
snaps, mispell_snaps = self.get_
File "/usr/lib/
except json.JSONDecode
AttributeError: module 'json' has no attribute 'JSONDecodeError'