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

Plural.MultipleObjectsReturned: get() returned more than one Plural -- it returned 2! #8311

Closed
weblateorg-sentry-integration bot opened this issue Nov 5, 2022 · 1 comment
Assignees
Labels
bug Something is broken.
Milestone

Comments

@weblateorg-sentry-integration
Copy link

Sentry Issue: WEBLATE-RP

Plural.MultipleObjectsReturned: get() returned more than one Plural -- it returned 2!
(15 additional frame(s) were not displayed)
...
  File "weblate/trans/backups.py", line 575, in restore
    self.load_components(zipfile, self.restore_component)
  File "weblate/trans/backups.py", line 334, in load_components
    callback(zipfile, data)
  File "weblate/trans/backups.py", line 397, in restore_component
    plural = language.plural_set.get(**item["plural"])
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 653, in get
    raise self.model.MultipleObjectsReturned(
@nijel nijel self-assigned this Nov 5, 2022
@nijel nijel added the bug Something is broken. label Nov 5, 2022
@nijel nijel added this to the 4.15 milestone Nov 5, 2022
@nijel nijel closed this as completed in 54a462e Nov 6, 2022
@github-actions
Copy link

github-actions bot commented Nov 6, 2022

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

No branches or pull requests

1 participant