linaro-release team mailing list archive
-
linaro-release team
-
Mailing list archive
-
Message #00884
[Bug 850770] Re: lava-dashboard fails with can't adapt type 'Decimal' deserialization error
** Changed in: lava-dashboard
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Linaro
Release Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/850770
Title:
lava-dashboard fails with can't adapt type 'Decimal' deserialization
error
Status in LAVA Dashboard:
Fix Released
Bug description:
lava-dashboard fails with can't adapt type 'Decimal' deserialization error
Here is the error traceback:
Cause
can't adapt type 'Decimal'
Deserialization failure traceback
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dashboard_app/models.py", line 399, in deserialize
self._do_deserialize(prefer_evolution)
File "/usr/lib/pymodules/python2.6/dashboard_app/models.py", line 417, in _do_deserialize
helper.deserialize(self, prefer_evolution)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 737, in deserialize
importer().import_document(s_bundle, doc)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 64, in import_document
self._import_document_with_transaction(s_bundle, doc)
File "/usr/lib/pymodules/python2.6/django/db/transaction.py", line 299, in _commit_on_success
res = func(*args, **kw)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 106, in _import_document_with_transaction
self._import_document(s_bundle, doc)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 110, in _import_document
self._import_test_run(c_test_run, s_bundle)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 152, in _import_test_run
self._import_test_results(c_test_run, s_test_run)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 390, in _import_test_results
self._import_test_results_pgsql(c_test_results, s_test_run)
File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 334, in _import_test_results_pgsql
) VALUES """ + sequel, data)
File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: can't adapt type 'Decimal'
The above error occurred for the job: http://validation.linaro.org/lava-server/scheduler/job/1608
To manage notifications about this bug go to:
https://bugs.launchpad.net/lava-dashboard/+bug/850770/+subscriptions