Bug 9533 – CHM generation crashes

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-02-18T16:21:00Z
Last change time
2013-06-14T13:01:33Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2013-02-18T16:21:49Z
While running: $ make -f win32.mak chm I get an access violation: Error while processing line: <div class="navblock"><h2><a href="index.html" title="D Programming Language">D Home</a></h2> <ul> <li><a href="overview.html" title="D language overview">Overview</ a></li> Error while processing file: .\spec.html object.Error: Access Violation
Comment #1 by dlang-bugzilla — 2013-06-13T19:15:37Z
Do you still get this? IIRC I fixed a similar-sounding bug a while ago, but can't be sure.
Comment #2 by andrej.mitrovich — 2013-06-14T05:58:29Z
It's fixed now. Btw, could we make the tool try looking for the Phobos dir in some environment variable? I have my sources set up this way: C:\dmd-git\dmd2\src: \dlang.org \dmd \phobos C:\dmd-git\dmd2\html: \d\phobos I can use a local git exclude file, but copying Phobos files directly into the dlang.org repository is a drag. :]
Comment #3 by dlang-bugzilla — 2013-06-14T12:52:42Z
(In reply to comment #2) > It's fixed now. > > Btw, could we make the tool try looking for the Phobos dir in some environment > variable? Personally, I have a "phobos" symlink that points to the generated Phobos documentation. If the makefile had a variable for the Phobos documentation location, then it would make sense to get chmgen to use it. (Does DigitalMars' make utility copy its variables to the environment of child processes?) However, I don't see such a variable in the Windows makefile, and the makefile doesn't seem to concern itself with Phobos documentation at all currently.
Comment #4 by andrej.mitrovich — 2013-06-14T13:01:33Z
(In reply to comment #3) > I have a "phobos" symlink that points to the generated Phobos > documentation. That works for me, thanks for the tip.