Thread overview
[Issue 9533] New: CHM generation crashes
Feb 19, 2013
Andrej Mitrovic
Jun 14, 2013
Vladimir Panteleev
Jun 14, 2013
Andrej Mitrovic
Jun 14, 2013
Vladimir Panteleev
Jun 14, 2013
Andrej Mitrovic
February 19, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9533

           Summary: CHM generation crashes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-18 16:21:49 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9533


Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2013-06-14 05:15:37 EEST ---
Do you still get this? IIRC I fixed a similar-sounding bug a while ago, but can't be sure.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9533


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-14 05:58:29 PDT ---
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. :]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9533



--- Comment #3 from Vladimir Panteleev <thecybershadow@gmail.com> 2013-06-14 22:52:42 EEST ---
(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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9533



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-14 13:01:33 PDT ---
(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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------