KeyError: 'source_language'
strk opened this issue · 3 comments
strk commented
wlc list-projects fails with:
name: Freeplane
slug: freeplane
Traceback (most recent call last):
File "/usr/bin/wlc", line 11, in <module>
load_entry_point('wlc==1.2', 'console_scripts', 'wlc')()
File "/usr/lib/python3/dist-packages/wlc/main.py", line 703, in main
command.run()
File "/usr/lib/python3/dist-packages/wlc/main.py", line 336, in run
self.print(list(self.wlc.list_projects()))
File "/usr/lib/python3/dist-packages/wlc/main.py", line 225, in print
self.print_text(value, header)
File "/usr/lib/python3/dist-packages/wlc/main.py", line 203, in print_text
"{0}: {1}".format(key, self.format_value(getattr(item, key)))
File "/usr/lib/python3/dist-packages/wlc/__init__.py", line 245, in __getattr__
return self._data[name]
KeyError: 'source_language'
Reported version (wlc --version):
wlc 1.2
This was installed via Ubuntu 20.10 official package
github-actions commented
Thank you for your report; the issue you have reported has just been fixed.
- In case you see a problem with the fix, please comment on this issue.
- In case you see a similar problem, please open a separate issue.
- If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.
strk commented
confirmed that upgrading via pip
works :)