[traceback] cron fast_current_version

RESOLVED FIXED in 6.0.3

Status

addons.mozilla.org Graveyard
Maintenance Scripts
P3
normal
RESOLVED FIXED
7 years ago
2 years ago

People

(Reporter: clouserw, Assigned: jbalogh)

Tracking

unspecified
6.0.3

Details

(Reporter)

Description

7 years ago
Seen this a few times in the last couple days:

[amo-developers] Cron <apache@mradm02> cd	/data/amo_python/src/prod/zamboni;	/usr/bin/python26 manage.py cron fast_current_version



Traceback (most recent call last):
  File "/usr/lib64/python2.6/logging/handlers.py", line 788, in emit
    self.socket.sendto(msg, self.address)
TypeError: sendto() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
  File "manage.py", line 68, in <module>
    execute_manager(settings)
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/data/amo_python/src/prod/zamboni/apps/cronjobs/management/commands/cron.py", line 39, in handle
    registered[script](*args)
  File "/data/amo_python/src/prod/zamboni/apps/addons/cron.py", line 72, in fast_current_version
    _update_addons_current_version(addons)
  File "/data/amo_python/src/prod/zamboni/vendor/lib/python/celery/task/base.py", line 222, in __call__
    return self.run(*args, **kwargs)
  File "/data/amo_python/src/prod/zamboni/vendor/lib/python/celery/decorators.py", line 52, in run
    return fun(*args, **kwargs)
  File "/data/amo_python/src/prod/zamboni/vendor/src/nuggets/celeryutils.py", line 31, in wrapped
    return fun(*args, **kw)
  File "/data/amo_python/src/prod/zamboni/apps/addons/cron.py", line 96, in _update_addons_current_version
    addon.update_version()
  File "/data/amo_python/src/prod/zamboni/apps/addons/models.py", line 446, in update_version
    tuple(diff + [self, e]))
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/db/models/base.py", line 377, in __str__
    return force_unicode(self).encode('utf-8')
  File "/data/amo_python/src/prod/zamboni/vendor/src/django/django/utils/encoding.py", line 93, in force_unicode
    raise DjangoUnicodeDecodeError(s, *e.args)
django.utils.encoding.DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 23: ordinal not in range(128). You passed in <Addon: [Bad Unicode data]> (<class 'addons.models.Addon'>)
(Assignee)

Comment 1

7 years ago
Let's try https://github.com/jbalogh/zamboni/commit/de9495f .
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.