Univention Bugzilla – Bug 44846
Error message due to python 2.7 feature
Last modified: 2018-07-04 18:08:44 CEST
16.03.17 20:19:34.817 MODULE ( PROCESS ) : Trigger für python-support werden verarbeitet ... 16.03.17 20:19:34.817 MODULE ( PROCESS ) : Aufruf des Nach-Installations-Triggers python-support 16.03.17 20:19:35.223 MODULE ( PROCESS ) : Compiling /usr/lib/pymodules/python2.6/univention/management/console/modules/schoolgroups/__init__.py ... 16.03.17 20:19:35.223 MODULE ( PROCESS ) : SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolgroups/__init__.py', 135, 64, '\t\t\tif not user.schools or not set(user.schools) & {group.school}:\n')) Looks like python 2.6 does not support the definition of a set: {group.school} No error message is shown for python 2.7 and in UCS 4.1 the UMC modules use python 2.7 → I think this is no real problem
Please vote for Bug #43336!
The python-pysaml2 version in UCS 4.1 (2.4.0-2.4.201702142305) is not imported from Debian. It has a hard dependency on "python2.6".
[4.3] d1c31956 Bug #44846: fix SyntaxError for systems that have Python 2.6 installed [4.3] 25fb3222 Bug #44846: changelog [4.3] 46c7b324 Bug #44846: advisory
OK -> Verified
UCS@school 4.3 v4 has been released. https://docs.software-univention.de/changelog-ucsschool-4.3v4-de.html If this error occurs again, please clone this bug.