html help target broken
Closed / Fixedc3a211e8a5995018c82e58b4e522c0d8086f4dfdCreated 8 years agoUpdated 7 years ago
Descriptionwiki2019-06-03 20:36:53
Building the html help pages is broken.
tclsh87g.exe tcltk-man2html.tcl --verbose=1
using Tcl source directory
using Tk source directory
verbose messages are on
scanning section Tcl/Tk Applications
divide by zero
divide by zero
while executing
"expr {118 / $width}"
(procedure "make-manpage-section" line 306)
invoked from within
"make-manpage-section $html $arg"
(procedure "make-man-pages" line 35)
invoked from within
"make-man-pages $webdir [list $tcltkdir/{$appdir}/doc/*.1 "$tcltkdesc Applications" UserCmd "The interpreters which implement $cmdesc."] [plus-base ..."
("try" body line 97)
Culprit commit is [53cb36fff7bc5725]. When I backout this commit the build works again.
According to the commit message, this commit was apparently intended to "make the html target work under more circumstances". What were those circumstances?
Perhaps that goal was reached, but this commit also broke the build of the help pages in previously existing circumstances.
Unless the author can fix this quickly I suggest we move this commit away from the core-8-branch.
Referenced by1
baadd5eb23amend to close [c3a211e8a5], fixes can't read "major": no such variable check-in2019-06-08 10:46:22
fvogel Ticket [c3a211e8a5]: 3 changes
[History diff]2019-06-03 20:37:09
sebreswiki2019-06-07 22:13:28
Should be fixed now in [319c17789b689353]. Thus closing.
fvogelwiki2019-06-08 06:51:00
Thanks for the fix, unfortunately it's not yet correct, now I'm getting:
> tclsh87g tcltk-man2html.tcl
using Tcl source directory ../.. tcl
using Tk source directory tk
verbose messages are off
can't read "major": no such variable
can't read "major": no such variable
while executing
"append overall_title "Tcl $major.$minor""
(procedure "parse_command_line" line 121)
invoked from within
"parse_command_line"
("try" body line 3)
sebresplain2019-06-08 10:54:03
Yeah the version in title... I hope it is fixed now. If don't yet, maybe Nathan should take a closer look (dunno which all the cases his change still covering).
fvogelplain2019-06-08 11:15:08
Works! Many many thanks!!
Log in (anonymous is fine) to add a comment.