Comment 2 for bug 2003874

Revision history for this message
Mikko Rantalainen (mira) wrote :

This broken with Ubuntu 22.04 LTS, too. This time the failure happens here:

ERROR:root:MainController.open_file(filename="locale/fi.po", uri="")
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/maincontroller.py", line 210, in open_file
    self.store_controller.open_file(filename, uri, forget_dir=forget_dir)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/storecontroller.py", line 227, in open_file
    self.store = StoreModel(filename, self)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 62, in __init__
    self.load_file(fileobj)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 149, in load_file
    self.update_stats(filename=filename)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 172, in update_stats
    from translate.storage import statsdb
ImportError: cannot import name 'statsdb' from 'translate.storage' (/usr/lib/python3/dist-packages/translate/storage/__init__.py)
ERROR:root:Failed to load plugin "migration"
Could not find plug-in "migration"
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py", line 115, in enable_plugin
    plugin_class = self._get_plugin_class(name)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py", line 188, in _get_plugin_class
    raise Exception('Could not find plug-in "%s"' % (name))
Exception: Could not find plug-in "migration"
ERROR:root:Failed to load plugin "tm"
Could not find plug-in "tm"

If the maintainer cannot bother to even try opening a single .po file to do minimum level of QA before release, maybe the package should be removed for good?