Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-06-08
11:15 • Closed ticket [c3a211e8a5]: html help target broken plus 6 other changes artifact: a22a378826 user: fvogel
10:54 • Ticket [c3a211e8a5]: 4 changes artifact: 97158574cf user: sebres
10:46
amend to close [c3a211e8a5], fixes can't read "major": no such variable check-in: baadd5eb23 user: sebres tags: core-8-branch
06:51 • Open ticket [c3a211e8a5]: html help target broken plus 6 other changes artifact: 4603d95802 user: fvogel
2019-06-07
22:13 • Closed ticket [c3a211e8a5]. artifact: f17ccc47ec user: sebres
22:09
closes [c3a211e8a5995018c82e]: search of tcl/tk is more backwards compatible now + make some errors ... check-in: 319c17789b user: sebres tags: core-8-branch
2019-06-03
20:37 • Ticket [c3a211e8a5] html help target broken status still Open with 3 other c... artifact: fc51013bbf user: fvogel
20:36 • New ticket [c3a211e8a5]. artifact: 04b26da910 user: fvogel

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.