Univention Bugzilla – Full Text Bug Listing |
Summary: | univention-management-console: make UCR templates python3-compatible | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | brodersen |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-4-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | 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: |
Description
Florian Best
2020-04-14 10:58:25 CEST
univention-management-console.yaml dbe3cf60b473 | YAML Bug #51098 univention-management-console (11.0.4-59) d2824180c68e | Bug #51098: make UCR templates compatible to python3 "usr/share/univention-management-console/meta.json" is not python3 compatible ("from univention.lib.misc import custom_username" Needs to be commented out for testing) ''' File: /usr/share/univention-management-console/meta.json Traceback (most recent call last): File "<stdin>", line 128, in <module> File "<stdin>", line 88, in get_ec2_address File "<stdin>", line 49, in get_ip_address struct.error: argument for 's' must be a bytes object ''' "struct.pack('256s', ifname[:15])" -> "struct.pack('256s', ifname[:15].encode('utf8'))" ? and one iteritems :) ''' File: /usr/share/univention-management-console/meta.json Traceback (most recent call last): File "<stdin>", line 135, in <module> File "<stdin>", line 125, in get_login_links AttributeError: 'ConfigRegistry' object has no attribute 'iteritems' ''' Otherwise it looks good univention-management-console (11.0.4-60) dfea9a6d6dc8 | Bug #51098: fix python3 compatibility in meta.json - Changes -> OK - yaml -> OK - jenkins -> OK -> Verified |