Univention Bugzilla – Bug 35100
No module named ucc.images
Last modified: 2023-06-20 21:00:24 CEST
Traceback: Failed to import module uccsetup: No module named ucc.images Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 93, in _load_module self.__module = __import__(file_, [], [], modname) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/uccsetup/__init__.py", line 43, in <module> import ucc.images as ucc_images ImportError: No module named ucc.images Remark: Öffnen der UCC Einrichtung The cause is probably when updating from UCC 1 to UCC2 when the package providing "ucc.images" isn't updated due to missing dependency?
(In reply to Florian Best from comment #0) > ... > The cause is probably when updating from UCC 1 to UCC2 when the package > providing "ucc.images" isn't updated due to missing dependency? Hm, this should not be the problem as an "apt-get upgrade" is executed when updating an app.
Just for the records… the module ucc.images is a Python module which is part of ucc-image-toolkit. The setup wizard has a dependency on ucc-image-toolkit. If the dependency is satisfied to ucc-image-toolkit and if ucc.images does not exist this could have two causes, AFAIS: * ucc-image-toolkit is an older version (UCC 1) without the ucc.image module (which exists since UCC 2). However, App-Center-wise I do not see how this could happen at the moment. * the ucc-image-toolkit has not been properly installed and python-support scripts have not been executed, i.e., ucc.images has not been registered and is thus not available as Python module.
UCC is discontinued.