Univention Bugzilla – Bug 53452
Remove print quota setting from ucs-school-import
Last modified: 2021-11-29 17:19:36 CET
Bug #51482 / c2ffea664bd052e0fdbba5184fb8e7bff7c9f8ad removed support for print-quota. The settings also have to be removed from the UCS@school importer. Traceback (most recent call last): File "/usr/share/ucs-school-import/scripts/import_printer", line 3866, in <module> import_printer() File "/usr/share/ucs-school-import/scripts/import_printer", line 3000, in import_printer object["setQuota"] = "0" # WORKAROUND for Bug #14858 File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 378, in __setitem__ self.descriptions[key] KeyError: 'setQuota'
Removed in: ucs-school-import (18.0.1) 731bd581ff5f | Bug #53452: remove print quota support from import_printer()
-> more /opt/prin A school1 slave laserdrucker file:/tmp/printer -> /usr/share/ucs-school-import/scripts/import_printer /opt/prin infile is : /opt/prin creating object cn=laserdrucker,cn=printers,ou=school1,dc=five,dc=new -> udm shares/printer list DN: cn=PDFDrucker,cn=printers,ou=school1,dc=five,dc=new ACLtype: allow all description: Moderierter PDF-Drucker location: None model: None name: PDFDrucker producer: cn=misc,cn=cups,cn=univention,dc=five,dc=new sambaName: None spoolHost: slave.five.new uri: cups-pdf:/ . DN: cn=laserdrucker,cn=printers,ou=school1,dc=five,dc=new ACLtype: allow all description: None location: None model: None name: laserdrucker producer: cn=misc,cn=cups,cn=univention,dc=five,dc=new sambaName: None spoolHost: slave.five.new uri: file:/ tmp/printer OK - no more (print) quota in ucs-school-import
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.