AttributeError: 'Database' object has no attribute 'enable_appstream'
It seems it's related to the recent AppStream changes with libpamac
.
See also applications/manjaro-hello#39 (closed)
❯ manjaro-application-utility
Traceback (most recent call last):
File "/usr/bin/manjaro-application-utility", line 28, in <module>
mau = application_utility.MainApp()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/application_utility/application_utility.py", line 53, in __init__
conf = AppConfig(application="application-utility")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/application_utility/browser/config.py", line 47, in __init__
self.merge_json()
File "/usr/lib/python3.11/site-packages/application_utility/browser/config.py", line 63, in merge_json
self.load_from_file(self._MERGE_FILE)
File "/usr/lib/python3.11/site-packages/application_utility/browser/data.py", line 54, in load_from_file
self._json = self._read_json_file(filename, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/application_utility/browser/data.py", line 153, in _read_json_file
db.enable_appstream()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Database' object has no attribute 'enable_appstream'
zsh: segmentation fault (core dumped) manjaro-application-utility