I'm getting problems trying to extract autodocs on 7.6 cvs. This doesn't occur with the 7.6 release. Anyone have a fix?
Bill
Parsing structure file "structure/traditional.xml". Executing reference expansion and queueing node insertions. Parsing autodoc file "/home/hermes/bwellive/projects/Pike/7.6/build/sunos-5.9-sun4u/autodoc.xml". Executing node insertions. Attempt to call the NULL-value Unknown program: 0() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:822:
Parser.XML.Tree.ElementNode(#0:2,chapter)->__lambda_65651_1_line_821(Parser.XML.Tree.AbstractNode()) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:820: Parser.XML.Tree.ElementNode(#0:2,chapter)->get_elements(0,0) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:425: Tools.Standalone.assemble_autodoc()->make_toc() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:477:
Tools.Standalone.assemble_autodoc()->main(3,({"/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone .pmod/assemble_autodoc.pike","structure/traditional.xml",,,0})) *** Error code 10 make: Fatal error: Command failed for target `traditional.xml'
Yes, I think it is due to grubbas changes in Parser.XML.Tree.
/ Martin Nilsson (räfsfiskal)
Previous text:
2004-05-14 16:53: Subject: doc extraction broken on 7.6 cvs
I'm getting problems trying to extract autodocs on 7.6 cvs. This doesn't occur with the 7.6 release. Anyone have a fix?
Bill
Parsing structure file "structure/traditional.xml". Executing reference expansion and queueing node insertions. Parsing autodoc file "/home/hermes/bwellive/projects/Pike/7.6/build/sunos-5.9-sun4u/autodoc.xml". Executing node insertions. Attempt to call the NULL-value Unknown program: 0() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:822:
Parser.XML.Tree.ElementNode(#0:2,chapter)->__lambda_65651_1_line_821(Parser.XML.Tree.AbstractNode()) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:820: Parser.XML.Tree.ElementNode(#0:2,chapter)->get_elements(0,0) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:425: Tools.Standalone.assemble_autodoc()->make_toc() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:477:
Tools.Standalone.assemble_autodoc()->main(3,({"/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone .pmod/assemble_autodoc.pike","structure/traditional.xml",,,0})) *** Error code 10 make: Fatal error: Command failed for target `traditional.xml'
/ Brevbäraren
I'm getting problems trying to extract autodocs on 7.6 cvs. This doesn't occur with the 7.6 release. Anyone have a fix?
Bill
Parsing structure file "structure/traditional.xml". Executing reference expansion and queueing node insertions. Parsing autodoc file "/home/hermes/bwellive/projects/Pike/7.6/build/sunos-5.9-sun4u/autodoc.xml". Executing node insertions. Attempt to call the NULL-value Unknown program: 0() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:822: Parser.XML.Tree.ElementNode(#0:2,chapter)->__lambda_65651_1_line_821(Parser.XML.Tree.AbstractNode())
Looks like there's some child of a chapter node that isn't a Node object, but something else. Easiest way to find out what it is, is probably to add some debug code to the lambda in Tree.pmod:get_elements() line ~822 that dumps "Node"'s that don't have get_node_type().
/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:820: Parser.XML.Tree.ElementNode(#0:2,chapter)->get_elements(0,0) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:425: Tools.Standalone.assemble_autodoc()->make_toc() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:477: Tools.Standalone.assemble_autodoc()->main(3,({"/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike","structure/traditional.xml",,,0}))
BTW: It would probably be a good idea to rewrite the autodoc stuff to use Parser.XML.Tree.SimpleNode instead of Parser.XML.Tree.Node. It should be a rather straightforward change.
/ Henrik Grubbström (Lysator)
Previous text:
2004-05-14 16:53: Subject: doc extraction broken on 7.6 cvs
I'm getting problems trying to extract autodocs on 7.6 cvs. This doesn't occur with the 7.6 release. Anyone have a fix?
Bill
Parsing structure file "structure/traditional.xml". Executing reference expansion and queueing node insertions. Parsing autodoc file "/home/hermes/bwellive/projects/Pike/7.6/build/sunos-5.9-sun4u/autodoc.xml". Executing node insertions. Attempt to call the NULL-value Unknown program: 0() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:822:
Parser.XML.Tree.ElementNode(#0:2,chapter)->__lambda_65651_1_line_821(Parser.XML.Tree.AbstractNode()) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:820: Parser.XML.Tree.ElementNode(#0:2,chapter)->get_elements(0,0) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:425: Tools.Standalone.assemble_autodoc()->make_toc() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:477:
Tools.Standalone.assemble_autodoc()->main(3,({"/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone .pmod/assemble_autodoc.pike","structure/traditional.xml",,,0})) *** Error code 10 make: Fatal error: Command failed for target `traditional.xml'
/ Brevbäraren
It's an AbstractNode that somehow must have slipped out of the Tree module.
/ Martin Nilsson (räfsfiskal)
Previous text:
2004-05-14 17:14: Subject: doc extraction broken on 7.6 cvs
I'm getting problems trying to extract autodocs on 7.6 cvs. This doesn't occur with the 7.6 release. Anyone have a fix?
Bill
Parsing structure file "structure/traditional.xml". Executing reference expansion and queueing node insertions. Parsing autodoc file "/home/hermes/bwellive/projects/Pike/7.6/build/sunos-5.9-sun4u/autodoc.xml". Executing node insertions. Attempt to call the NULL-value Unknown program: 0() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:822: Parser.XML.Tree.ElementNode(#0:2,chapter)->__lambda_65651_1_line_821(Parser.XML.Tree.AbstractNode())
Looks like there's some child of a chapter node that isn't a Node object, but something else. Easiest way to find out what it is, is probably to add some debug code to the lambda in Tree.pmod:get_elements() line ~822 that dumps "Node"'s that don't have get_node_type().
/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Parser.pmod/XML.pmod/Tree.pmod:820: Parser.XML.Tree.ElementNode(#0:2,chapter)->get_elements(0,0) /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:425: Tools.Standalone.assemble_autodoc()->make_toc() /home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike:477: Tools.Standalone.assemble_autodoc()->main(3,({"/home/hermes/bwellive/projects/Pike/7.6/lib/modules/Tools.pmod/Standalone.pmod/assemble_autodoc.pike","structure/traditional.xml",,,0}))
BTW: It would probably be a good idea to rewrite the autodoc stuff to use Parser.XML.Tree.SimpleNode instead of Parser.XML.Tree.Node. It should be a rather straightforward change.
/ Henrik Grubbström (Lysator)
pike-devel@lists.lysator.liu.se