The following traceback was received during import_app_install_data on staging:
.....No icon found for XDot at /tmp/tmpDRYHGR/usr/share/app-install/icons/xdot.(xpm|png|svg|tiff).
..........No icon found for ghkl at /tmp/tmpDRYHGR/usr/share/app-install/icons/ghkl.(xpm|png|svg|tiff).
.................Determining URI for current version of app-install-data-partner in oneiric.
Downloading app-install-data-partner from http://archive.ubuntu.com/ubuntu/pool/main/a/app-install-data-partner/app-install-data-partner_12.11.10.2_all.deb...
Done.
Processing app-install-data-partner to update database...
...Traceback (most recent call last):
File "manage.py", line 39, in <module>
execute_manager(settings)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django-configglue/django_configglue/management/__init__.py", line 121, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/core/management/base.py", line 322, in handle
label_output = self.handle_label(label, **options)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/src/webcatalog/management/commands/import_app_install_data.py", line 140, in handle_label
self.update_from_app_data(package, distroseries, deb_location)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/src/webcatalog/management/commands/import_app_install_data.py", line 163, in update_from_app_data
self.process_desktop_file(desktop_file, icon_dir, distroseries)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/src/webcatalog/management/commands/import_app_install_data.py", line 192, in process_desktop_file
app = form.save(commit=False)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/src/webcatalog/forms.py", line 104, in save
media_type='screenshot', url=screenshot_url)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/fields/related.py", line 436, in create
return super(RelatedManager, self.db_manager(db)).create(**kwargs)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/manager.py", line 138, in create
return self.get_query_set().create(**kwargs)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/query.py", line 360, in create
obj.save(force_insert=True, using=self.db)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/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/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/srv/uwc.staging.ubuntu.com/staging/ubuntu-webcatalog/sourcecode/django/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
django.db.utils.IntegrityError: null value in column "application_id" violates not-null constraint