Comment 3 for bug 915335

Revision history for this message
Haw Loeung (hloeung) wrote :

Hi,

I'm seeing this as well:

oops_tools@neem:/tmp$ ./oops_tools-production-run-amqp2disk.sh Failed while processing /srv/oops.canonical.com/oops-amqp/oops_tools/production/2012-05-24/OOPS-69c1c68e3d26c854d347cf644722d534
Traceback (most recent call last):
  File "/srv/oops.canonical.com/python-oops-tools/bin/amqp2disk", line 55, in <module>
    oopstools.scripts.amqp2disk.main()
  File "/srv/oops.canonical.com/python-oops-tools/src/oopstools/scripts/amqp2disk.py", line 113, in main
    receiver.run_forever()
  File "/srv/oops.canonical.com/python-oops-tools/eggs/oops_amqp-0.0.5-py2.7.egg/oops_amqp/receiver.py", line 85, in run_forever
    self._run_forever()
  File "/srv/oops.canonical.com/python-oops-tools/eggs/oops_amqp-0.0.5-py2.7.egg/oops_amqp/receiver.py", line 107, in _run_forever
    self.channel.wait()
  File "/srv/oops.canonical.com/python-oops-tools/eggs/amqplib-1.0.2-py2.7.egg/amqplib/client_0_8/abstract_channel.py", line 97, in wait
    return self.dispatch_method(method_sig, args, content)
  File "/srv/oops.canonical.com/python-oops-tools/eggs/amqplib-1.0.2-py2.7.egg/amqplib/client_0_8/abstract_channel.py", line 117, in dispatch_method
    return amqp_method(self, args, content)
  File "/srv/oops.canonical.com/python-oops-tools/eggs/amqplib-1.0.2-py2.7.egg/amqplib/client_0_8/channel.py", line 2060, in _basic_deliver
    func(msg)
  File "/srv/oops.canonical.com/python-oops-tools/eggs/oops_amqp-0.0.5-py2.7.egg/oops_amqp/receiver.py", line 70, in handle_report
    self.config.publish(report)
  File "/srv/oops.canonical.com/python-oops-tools/eggs/oops-0.0.10-py2.7.egg/oops/config.py", line 189, in publish
    id = publisher(report)
  File "/srv/oops.canonical.com/python-oops-tools/src/oopstools/scripts/amqp2disk.py", line 130, in db_publisher
    res = parsed_oops_to_model_oops(report, oops_path)
  File "/srv/oops.canonical.com/python-oops-tools/src/oopstools/oops/models.py", line 483, in parsed_oops_to_model_oops
    res.save()
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/base.py", line 460, in save
    self.save_base(using=using, force_insert=force_insert, force_update=force_update)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/base.py", line 553, in save_base
    result = manager._insert(values, return_id=update_pk, using=using)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/manager.py", line 195, in _insert
    return insert_query(self.model, values, **kwargs)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/query.py", line 1436, in insert_query
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/sql/compiler.py", line 791, in execute_sql
    cursor = super(SQLInsertCompiler, self).execute_sql(None)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/models/sql/compiler.py", line 735, in execute_sql
    cursor.execute(sql, params)
  File "/srv/oops.canonical.com/python-oops-tools/parts/django/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
    return self.cursor.execute(query, args)
django.db.utils.DatabaseError: value too long for type character varying(500)

Regards,

Haw