Hi, I can not access any old job data, which was created before the update to 2018.11. The yaml parser has problems to parse the deployment_data_dict class, which does not exist anymore (commit 5903343d4086cff36048ffaa885b010d9d1f9887).
Is there a way to migrate the data? I'm wondering that no one actually
run into this case before.
Best,
lynxis
PS. I'm using the debian backports repo.
django.log:
ERROR 2018-12-02 04:23:10,627 utils Unable to parse description for 3129
ERROR 2018-12-02 04:23:10,628 utils while constructing a Python object
cannot find 'deployment_data_dict' in the module
'lava_dispatcher.deployment_data'
in
"/var/lib/lava-server/default/media/job-output/2018/12/02/3129/description.yaml",
line 68, column 24
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lava_results_app/utils.py", line 93, in
description_data
data = yaml.load(open(filename, 'r'), Loader=V2Loader)
File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 72, in load
return loader.get_single_data()
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 37, in
get_single_data
return self.construct_document(node)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 46, in
construct_document
for dummy in generator:
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 398, in
construct_yaml_map
value = self.construct_mapping(node)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 204, in
construct_mapping
return super().construct_mapping(node, deep=deep)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 129, in
construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 91, in
construct_object
data = next(generator)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 575, in
construct_python_object
instance = self.make_python_instance(suffix, node, newobj=True)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 552, in
make_python_instance
cls = self.find_python_name(suffix, node.start_mark)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 529, in
find_python_name
% (object_name, module.__name__), mark)
--
Alexander Couzens
mail: [email protected]
jabber: [email protected]
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
pgpCoiZIWD3p0.pgp
Description: OpenPGP digital signature
_______________________________________________ linaro-validation mailing list [email protected] https://lists.linaro.org/mailman/listinfo/linaro-validation
