Errors returned by cron jobs in update_counts_from_file (statistics/ADI)

RESOLVED FIXED in 2014-10

Status

addons.mozilla.org Graveyard
Statistics
P1
normal
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: davidbgk, Assigned: davidbgk)

Tracking

unspecified
2014-10

Details

(Whiteboard: [qa-])

(Assignee)

Description

3 years ago
Full trace:

Traceback (most recent call last):
 File "manage.py", line 93, in <module>
   execute_from_command_line(sys.argv)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
   utility.execute()
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
   self.fetch_command(subcommand).run_from_argv(self.argv)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/core/management/base.py", line 242, in run_from_argv
   self.execute(*args, **options.__dict__)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/core/management/base.py", line 285, in execute
   output = self.handle(*args, **options)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/olympia/apps/stats/management/commands/update_counts_from_file.py", line 181, in handle
   UpdateCount.objects.bulk_create(update_counts.values(), 100)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/manager.py", line 160, in bulk_create
   return self.get_queryset().bulk_create(*args, **kwargs)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/query.py", line 359, in bulk_create
   self._batched_insert(objs_without_pk, fields, batch_size)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/query.py", line 838, in _batched_insert
   using=self.db)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/manager.py", line 232, in _insert
   return insert_query(self.model, objs, fields, **kwargs)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/query.py", line 1514, in insert_query
   return query.get_compiler(using=using).execute_sql(return_id)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 903, in execute_sql
   cursor.execute(sql, params)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/backends/util.py", line 53, in execute
   return self.cursor.execute(sql, params)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/utils.py", line 99, in __exit__
   six.reraise(dj_exc_type, dj_exc_value, traceback)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/backends/util.py", line 53, in execute
   return self.cursor.execute(sql, params)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 124, in execute
   return self.cursor.execute(query, args)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/MySQLdb/cursors.py", line 205, in execute
   self.errorhandler(self, exc, value)
 File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20141016164827-94aca7880d/venv/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
   raise errorclass, errorvalue
django.db.utils.DataError: (1406, "Data too long for column 'application' at row 37")
(Assignee)

Comment 1

3 years ago
https://github.com/mozilla/olympia/commit/6f087c1d4e86e56365895cdc043bd4e6e57614df
Status: NEW → RESOLVED
Last Resolved: 3 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.