Univention Bugzilla – Bug 52635
Migrate ucs-school-umc-rooms to Python 3
Last modified: 2021-11-29 17:19:44 CET
The package ucs-school-umc-rooms needs to be migrated to Python 3. See: https://hutten.knut.univention.de/mediawiki/index.php/Python_3_Migration
Merge Request from Hakan: https://git.knut.univention.de/univention/ucsschool/-/merge_requests/26 It's not possible to select and computers for adding them to any room. No computers are found. This is because there are bytestrings in the created LDAP filter. In /var/log/univention/management-console-module-schoolrooms.log we see: MODULE ( INFO ) : Getting all SchoolComputer of DEMOSCHOOL with filter '(&(|(name=*)(description=*)))' LDAP ( INFO ) : uldap.search filter=(&(objectClass=sambaSamAccount)(sambaAcctFlags=[I ])(&(objectClass=ucsschoolComputer)(&(|(cn=*)(description=*b''))))) base=cn=computers,ou=DEMOSCHOOL,l=school,l=dev scope=sub attr=[] unique=0 required=0 timeout=-1 sizelimit=0
(In reply to Florian Best from comment #2) > Merge Request from Hakan: > https://git.knut.univention.de/univention/ucsschool/-/merge_requests/26 > > It's not possible to select and computers for adding them to any room. No > computers are found. This is because there are bytestrings in the created > LDAP filter. > > In /var/log/univention/management-console-module-schoolrooms.log we see: > > MODULE ( INFO ) : Getting all SchoolComputer of DEMOSCHOOL with > filter '(&(|(name=*)(description=*)))' > LDAP ( INFO ) : uldap.search > filter=(&(objectClass=sambaSamAccount)(sambaAcctFlags=[I > ])(&(objectClass=ucsschoolComputer)(&(|(cn=*)(description=*b''))))) > base=cn=computers,ou=DEMOSCHOOL,l=school,l=dev scope=sub attr=[] unique=0 > required=0 timeout=-1 sizelimit=0 That's an issue in the underlying ucsschool-lib and will be fixed in another bug.
Your commits are: ucs-school-umc-rooms (17.0.3) 276d92329dac | Bug #52635: migrate ucs-school-umc-rooms to Python3 OK: creation of room OK: modification of room OK: settting computers as teacher-computer OK: removal of rooms OK: prompt if no room exists OK: search/filter for rooms ~FAIL: search/filter for computers. That's an issue in ucs-school-lib: https://git.knut.univention.de/univention/ucsschool/-/merge_requests/10#note_27352
UCS@school 5.0 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html If this error occurs again, please clone this bug.