Univention Bugzilla – Bug 27471
Traceback beim einspielen von einer ungültigen Lizenz
Last modified: 2012-12-12 21:09:52 CET
Beim einspielen einer kaputten/falschen Lizenzdatei per UMC gibt es folgenden Traceback: Die Ausf�hrung des Kommandos udm/license/import ist fehlgeschlagen: Traceback (most recent call last): File '/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py', line 102, in execute func( request ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func ret = func( *args, **kwargs ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 196, in license_import importer.check( ldap_position.getBase() ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/tools.py', line 55, in check self.parse() File '/usr/lib/python2.6/dist-packages/ldif.py', line 382, in parse attr_type,attr_value = self._parseAttrTypeandValue() File '/usr/lib/python2.6/dist-packages/ldif.py', line 325, in _parseAttrTypeandValue attr_value = base64.decodestring(unfolded_line[colon_pos+2:]) File '/usr/lib/python2.6/base64.py', line 321, in decodestring return binascii.a2b_base64(s) Error: Incorrect padding
UCS 3.1 will be the next release.
univention-management-console-module-udm (3.0.7-2) für die QA: # cd /var/tmp/univention-management-console-frontend/ # dd if=/dev/urandom of=random.dat bs=1024 count=1000 # umc-upload udm/license/import -e -o '[{"filename":"foo", "tmpfile":"/var/tmp/univention-management-console-frontend/random.dat", "name":"foo"}]'
Traceback wurde durch sinnige Fehlermeldung ersetzt. Changelogeintrag fehlt noch -> Reopened.
(In reply to comment #3) > Traceback wurde durch sinnige Fehlermeldung ersetzt. > > Changelogeintrag fehlt noch -> Reopened. Changelog erstellt
(In reply to comment #4) > (In reply to comment #3) > > Traceback wurde durch sinnige Fehlermeldung ersetzt. > > > > Changelogeintrag fehlt noch -> Reopened. > Changelog erstellt Verified.
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".