Univention Bugzilla – Bug 52619
Migrate ucs-school-netlogon to Python 3
Last modified: 2021-11-29 17:20:24 CET
The package ucs-school-netlogon needs to be migrated to Python 3. See: https://hutten.knut.univention.de/mediawiki/index.php/Python_3_Migration
Nothing to do, conffiles/ucs-school-netlogon.py is already Python 3 compatible.
-> ucr set ucsschool/netlogon/checkReturn='false' Setting ucsschool/netlogon/checkReturn Module: ucs-school-netlogon module 'sys' has no attribute 'maxint' sys.maxint is no longer available in python3, maybe sys.maxsize (?)
(In reply to Felix Botner from comment #3) > -> ucr set ucsschool/netlogon/checkReturn='false' > Setting ucsschool/netlogon/checkReturn > Module: ucs-school-netlogon > module 'sys' has no attribute 'maxint' > > > sys.maxint is no longer available in python3, maybe sys.maxsize (?) Yes, thanks! maxint -- the largest supported integer (the smallest is -maxint-1) maxsize -- the largest supported length of containers. """The sys.maxint constant was removed, since there is no longer a limit to the value of integers. However, sys.maxsize can be used as an integer larger than any practical list or string index. It conforms to the implementation’s “natural” integer size and is typically the same as sys.maxint in previous releases on the same platform (assuming the same build options).""" https://docs.python.org/3.1/whatsnew/3.0.html#integers ucs-school-netlogon (10.0.2) b1f78454a84e | Bug #52619: migrate ucs-school-netlogon to Python 3 changelog-ucsschool-5.0-de.xml f8721686b876 | Changlog entry Bug #52608 Bug #52609 Bug #52611 Bug #52612 Bug #52613 Bug #52614 Bug #52615 Bug #52616 Bug #52617 Bug #52618 Bug #52619 Bug #52620 Bug #52621 Bug #52622 Bug #52623 Bug #52624 Bug #52625 Bug #52626 Bug #52627 Bug #52628 Bug #52629 Bug #52630 Bug #52631 Bug #52632 Bug #52633 Bug #52634 Bug #52635 Bug #52636 Bug #52637 Bug #52638 Bug #52639 Bug #52640 Bug #52641 Bug #52642 Bug #52643 Bug #52644 Bug #52645
OK
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.