Univention Bugzilla – Bug 32148
Progress of software installation/removal incorrect
Last modified: 2013-11-19 06:44:33 CET
The progress computation in 50_software/10software is incorrect when removing a software component: __STEPS__:300 __STEP__:100 ... __STEP__:133.3333 ... __STEP__:166.6667 __STEP__:200.0 ... __STEP__:100.0 __STEP__:100.0 __STEP__:103.33333 ... → It seems that the different steps in removing/adding software are not reflected in the percentage (@Dirk: could that be?). Even when installing a component and when the __STEP__ information seems correct, the progress bar seems to hang at a specific percentage (see debug information in the attached log file, "### _percentage" prints the current progress state, "### matched" prints the currently matched output line of the setup scripts): > ... > 02.08.13 13:44:14.873 MODULE ( INFO ) : ### _percentage:26.00 fraction:50.00 step:200 steps:300 max:91 -> 65.20 > ... > 02.08.13 13:44:15.069 MODULE ( INFO ) : ### matched STEP: __STEP__:212.7273 > 02.08.13 13:44:15.074 MODULE ( INFO ) : ### _percentage:26.00 fraction:50.00 step:200 steps:300 max:91 -> 65.20 > ...
Created attachment 5350 [details] /var/log/univention/management-console-module-setup.log
Fixed in univention-system-setup 7.0.37-1.510.201309091451 1) After the (un)installation of a package, a self.finish_task() was missing. 2) int("133.3333") raises a ValueError. Changed to float()
ok: progress bar seems to be correct now ok: changelog 3.2
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".