Univention Bugzilla – Bug 36177
Traceback when uploading an image
Last modified: 2014-11-26 06:53:45 CET
I tried to upload a profile image via the UDM user module which caused the following traceback: > 15.10.14 16:02:33.669 MAIN ( ERROR ) : Traceback in default((<__main__.CPUpload object at 0x28a91d0>,), {'uploadType': u'html5', 'uploadedfile': <cherrypy._cpreqbody.Part object at 0x29ae410>, 'iframe': u'false'}): > Traceback (most recent call last): > File "/usr/sbin/univention-management-console-web-server", line 74, in new_f > return f(*args, **kwargs) > File "/usr/sbin/univention-management-console-web-server", line 657, in default > response = self.get_response(sessionid, path, kwargs) > File "/usr/sbin/univention-management-console-web-server", line 74, in new_f > return f(*args, **kwargs) > File "/usr/sbin/univention-management-console-web-server", line 486, in get_response > req = self.get_request( '/'.join(path), args ) > File "/usr/sbin/univention-management-console-web-server", line 74, in new_f > return f(*args, **kwargs) > File "/usr/sbin/univention-management-console-web-server", line 609, in get_request > if isinstance(ifield, cherrypy._cpcgifs.FieldStorage): > AttributeError: 'module' object has no attribute '_cpcgifs' That might seem to be somewhat more generic.
cherrypy API change for file uploads probably.
univention-management-console-frontend (4.1.46-1) * Bug #36177: fix file uploads due to cherrypy API change
OK, I was able to upload an image.
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".