Bug 53686 - [UDM REST API]: TypeError: cannot convert dictionary update sequence element #0 to a sequence
[UDM REST API]: TypeError: cannot convert dictionary update sequence element ...
Status: CLOSED DUPLICATE of bug 53631
Product: UCS
Classification: Unclassified
Component: UDM - REST API
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-20 11:25 CEST by Florian Best
Modified: 2022-01-18 12:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-08-20 11:25:17 CEST
Since today the following traceback occurred in Jenkins:

Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/tornado/web.py", line 1592, in _execute
        result = yield result
      File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1133, in run
        value = future.result()
      File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1147, in run
        yielded = self.gen.send(value)
      File "/usr/lib/python3/dist-packages/univention/admin/rest/module.py", line 2627, in get
        props.update(self.get_representation(module, obj, ['*'], self.ldap_connection, copy))
      File "/usr/lib/python3/dist-packages/univention/admin/rest/module.py", line 2730, in get_representation
        values = dict(decode_properties(module, obj, values))
      File "/usr/lib/python3/dist-packages/univention/admin/rest/module.py", line 3657, in decode_properties
        yield key, codec.decode_json(value)
      File "/usr/lib/python3/dist-packages/univention/admin/types.py", line 140, in decode_json
        return self.to_json_type(self.decode(value))
      File "/usr/lib/python3/dist-packages/univention/admin/types.py", line 123, in decode
        return self.decode_value(value)
      File "/usr/lib/python3/dist-packages/univention/admin/types.py", line 599, in decode_value
        return self.syntax.todict(value)
      File "/usr/lib/python3/dist-packages/univention/admin/syntax.py", line 392, in todict
        return dict(value)
    TypeError: cannot convert dictionary update sequence element #0 to a sequence
Comment 1 Florian Best univentionstaff 2021-08-20 17:21:36 CEST
(Pdb) value
[None, '00:00', 'Europe/Berlin']
Comment 2 Florian Best univentionstaff 2021-08-20 17:26:09 CEST

*** This bug has been marked as a duplicate of bug 53631 ***