[Installbase-devel] [ installbase-Bugs-767758 ] divide by zero error while building
Status: Alpha
Brought to you by:
damonc
From: SourceForge.net <no...@so...> - 2003-07-08 13:28:56
|
Bugs item #767758, was opened at 2003-07-08 13:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474883&aid=767758&group_id=54799 Category: Install Builder Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dries Verachtert (driesve) Assigned to: Damon Courtney (damonc) Summary: divide by zero error while building Initial Comment: Hello, Today i found a small problem with InstallBase: you get a divide by zero error if you want to add a file with length zero. The error is: Packing nameofmyemptylogfile... divide by zero while executing "expr round($conf(wrapSoFar) * 100.0) / $size )" (procedure "::MPI::WrapProgress" line 8) invoked from within "::MPI::WrapProgress $totalSize $size $size" (procedure "::MPI::wrap" line 158) invoked from within "::MPI::wrap -verbose -x {C:/Program Files/InstallBase/Installs/Install eDocPort/eDocPort/eDocPort-Setup.exe} -wintcl {C:/Program Files/InstallBase/Binaries/Win...' ("eval" body line 1) invoked from within "eval::MPI::wrap -verbose $argv " It's not really a problem for me, the logfile is also created if it doesn't exist yet. But it might be interesting for you to know that it doens't yet handle empty files correctly. Thanks for creating such a great program! Kind regards, Dries Verachtert ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474883&aid=767758&group_id=54799 |