Page MenuHomePhabricator

diviner generate book failed
Closed, ResolvedPublic

Description

running the command : ./bin/diviner generate --clean --book src/docs/book/phabricator.book

STDERR
[2017-03-04 15:21:35] EXCEPTION: (Exception) Child in position '3' is not of type 'n_DECLARATAION_PARAMETER_LIST': a node of type n_METHOD_DECLARATION: "public function getEditorApplication...habricatorDashboardApplication';\n  }" at [<phutil>/src/parser/aast/api/AASTNode.php:114]
arcanist(head=stable, ref.master=3b6b523c2b23, ref.stable=822bc53ca306), phabricator(head=stable, ref.master=2d4eb460abb2, ref.stable=7ce39401ab4a), phutil(head=stable, ref.master=5e14a5b17809, ref.stable=76983f49b179)
  #0 AASTNode::getChildOfType(integer, string) called at [<phabricator>/src/applications/diviner/atomizer/DivinerPHPAtomizer.php:132]
  #1 DivinerPHPAtomizer::parseParams(DivinerAtom, XHPASTNode) called at [<phabricator>/src/applications/diviner/atomizer/DivinerPHPAtomizer.php:110]
  #2 DivinerPHPAtomizer::executeAtomize(string, string) called at [<phabricator>/src/applications/diviner/atomizer/DivinerAtomizer.php:23]
  #3 DivinerAtomizer::atomize(string, string, array) called at [<phabricator>... (425 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:369]
arcanist(head=stable, ref.master=3b6b523c2b23, ref.stable=822bc53ca306), phabricator(head=stable, ref.master=2d4eb460abb2, ref.stable=7ce39401ab4a), phutil(head=stable, ref.master=5e14a5b17809, ref.stable=76983f49b179)
  #0 <#2> ExecFuture::resolvex(NULL) called at [<phutil>/src/future/exec/ExecFuture.php:391]
  #1 <#2> ExecFuture::resolveJSON() called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:390]
  #2 phlog(CommandException) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:400]
  #3 DivinerGenerateWorkflow::resolveAtomizerFutures(FutureIterator, array) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:249]
  #4 DivinerGenerateWorkflow::buildAtomCache() called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:176]
  #5 DivinerGenerateWorkflow::generateBook(string, PhutilArgumentParser) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:80]
  #6 DivinerGenerateWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:441]
  #7 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:333]
  #8 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/diviner/diviner.php:21]

n_DECLARATAION_PARAMETER_LIST is mayge a typo error of n_DECLARATION_PARAMETER_LIST (file, src/applications/diviner/atomizer/DivinerPHPAtomizer.php:131 line)