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

Error after failed merge (and corrupted po file) #43

Closed
nijel opened this issue May 1, 2012 · 1 comment
Closed

Error after failed merge (and corrupted po file) #43

nijel opened this issue May 1, 2012 · 1 comment
Assignees
Labels
bug Something is broken.
Milestone

Comments

@nijel
Copy link
Member

nijel commented May 1, 2012

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/var/lib/django/l10n/weblate/trans/views.py", line 619, in translate
    unit.save_backend(request)

  File "/var/lib/django/l10n/weblate/trans/models.py", line 1080, in save_backend
    (saved, pounit) = self.translation.update_unit(self, request)

  File "/var/lib/django/l10n/weblate/trans/models.py", line 889, in update_unit
    return need_save, pounit

UnboundLocalError: local variable 'pounit' referenced before assignment
@nijel
Copy link
Member Author

nijel commented May 2, 2012

Fixed.

@nijel nijel closed this as completed May 2, 2012
@ghost ghost assigned nijel Jul 12, 2012
WofWca referenced this issue in WofWca/weblate May 2, 2022
Update master to weblate-4.1.1
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