Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: argument of type 'NoneType' is not iterable #7015

Closed
sentry-io bot opened this issue Dec 28, 2021 · 1 comment · Fixed by translate/translate#4493
Closed

TypeError: argument of type 'NoneType' is not iterable #7015

sentry-io bot opened this issue Dec 28, 2021 · 1 comment · Fixed by translate/translate#4493
Assignees
Labels
bug Something is broken.
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 28, 2021

Happens when saving Ruby YAML

Sentry Issue: WEBLATE-8FB

TypeError: argument of type 'NoneType' is not iterable
(10 additional frame(s) were not displayed)
...
  File "weblate/formats/ttkit.py", line 302, in save_content
    self.store.serialize(handle)
  File "translate/storage/yaml.py", line 118, in serialize
    self.serialize_units(units)
  File "translate/storage/base.py", line 1008, in serialize_units
    unit.storevalues(output)
  File "translate/storage/yaml.py", line 81, in storevalues
    self.storevalue(output, self.convert_target())
  File "translate/storage/base.py", line 957, in storevalue
    if key not in target or isinstance(target[key], str):
nijel added a commit to nijel/translate that referenced this issue Dec 28, 2021
@nijel nijel added the bug Something is broken. label Dec 28, 2021
@nijel nijel added this to the 4.11 milestone Dec 28, 2021
nijel added a commit to translate/translate that referenced this issue Dec 28, 2021
@github-actions
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant