Hello,

I got the following error when I tried 'ml local deploy cpf'.

Could someone give me a clue what is the error about please?
Thanks.

ERROR: {

  "error": {

    "evalinfo": "query evaluated in esif-content at file:: as  1.0-ml",

    "errorcode": "[1.0-ml] XDMP-ARG: xdmp:eval(\"import module
namespace p="http://marklogic.com/cpf/pipelin...\";,
fn:QName(\"\", \"doc\"), <options
xmlns=\"xdmp:eval\"><database>15632994262066241436</database></options>)
-- Invalid argument",

    "stacktrace": {

      "stack": [

        {

          "errorline": "198",

          "errorcolumn": "4",

          "lines": [

            "    )",

            "  return",

            "    xdmp:eval(",

            "      'import module namespace
p=\"http://marklogic.com/cpf/pipelines\"; at
\"/MarkLogic/cpf/pipelines.xqy\";",

            "       declare variable $doc external;"

          ],

          "operation": "cpf:install-cpf-pipelines(<pipeline
xmlns=\"http://marklogic.com/roxy/cpf\";>../src/pipelines/ns-pipeline.xml</pipeline>,
xs:unsignedLong(\"2906425435323038295\"))",

          "errorDatum": "",

          "code": [

            "$pipeline-uris := \"../src/pipelines/ns-pipeline.xml\"",

            "$modules-database := xs:unsignedLong(\"2906425435323038295\")",

            "$uri := \"../src/pipelines/ns-pipeline.xml\"",

            "$doc := ()"

          ]

        },

        {

          "errorline": "82",

          "errorcolumn": "6",

          "lines": [

            "    (",

            "
cpf:install-system-pipelines($domain/cpf:system-pipelines/cpf:system-pipeline),",

            "
cpf:install-cpf-pipelines($domain/cpf:pipelines/cpf:pipeline,
xdmp:database($domain/cpf:context/cpf:modules-database))",

            "    )",

            "  let $context :=
cpf:evaluation-context(xdmp:database($domain/cpf:context/cpf:modules-database),
$domain/cpf:context/cpf:root)"

          ],

          "operation": "cpf:load-from-config(<config
xmlns=\"http://marklogic.com/roxy/cpf\";><domains><!-- one <domain> for
each cpf domain --><domain><name>...</config>)",

          "errorDatum": "",

          "code": [

            "$config := <config
xmlns=\"http://marklogic.com/roxy/cpf\";><domains><!-- one <domain> for
each cpf domain --><domain><name>...</config>",

            "$domain := <domain
xmlns=\"http://marklogic.com/roxy/cpf\";><name>My Test
Domain</name><description>This domain is awesome!!...</domain>"

          ]

        },

        {

          "errorline": "461",

          "errorcolumn": "3",

          "lines": [

            "\t  </options>)",

            "};",

            ":) cpf:load-from-config(<config
xmlns=\"http://marklogic.com/roxy/cpf\";>",

            "  <domains>",

            "    <!-- one <domain> for each cpf domain -->"

          ],

          "operation": "xdmp:eval(\"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\", (), <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>)",

          "errorDatum": ""

        },

        {

          "whereURI": "/MarkLogic/appservices/qconsole/qconsole-amped.xqy",

          "errorline": "211",

          "errorcolumn": "4",

          "operation":
"amped-qconsole:qconsole-eval(\"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\", (), <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>)",

          "errorDatum": "",

          "code": [

            "$xquery := \"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\"",

            "$vars := ()",

            "$options := <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>"

          ]

        },

        {

          "whereURI": "/MarkLogic/appservices/qconsole/qc-evaler.xqy",

          "errorline": "595",

          "errorcolumn": "12",

          "operation":
"qceval:do-eval(xs:unsignedLong(\"1763775169632162950\"),
document{text{\"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\"}}, \"\", <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>,
\"xquery\")",

          "errorDatum": "",

          "code": [

            "$qid := xs:unsignedLong(\"1763775169632162950\")",

            "$query := \"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\"",

            "$wrappedQuery := \"\"",

            "$options := <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>",

            "$query-type := \"xquery\""

          ]

        },

        {

          "whereURI": "/qconsole/endpoints/evaler.xqy",

          "errorline": "87",

          "errorcolumn": "28",

          "operation": "",

          "errorDatum": "",

          "code": [

            "$http-opts := <rest:request
xmlns:rest=\"http://marklogic.com/appservices/rest\";><rest:param
name=\"sid\" as=\"unsignedLong\"/><rest:param
name=\"dbid...</rest:request>",

            "$set := ()",

            "$params-map := map:map(<map:map
xmlns:xs=\"http://www.w3.org/2001/XMLSchema\";
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\";
xmlns:map=\"http://marklogic.com/xdmp/map\";><map:entry
key=\"wsid\"><map:value
xsi:type=\"xs:unsignedLong\">1096...</map:map>)",

            "$action := \"eval\"",

            "$qid := xs:unsignedLong(\"1763775169632162950\")",

            "$wsid := xs:unsignedLong(\"10965177595049296257\")",

            "$sid := ()",

            "$dbid := xs:unsignedLong(\"12459739181686467876\")",

            "$crid := \"\"",

            "$query-type := \"xquery\"",

            "$query-text := document{text{\"(:&#10;Copyright 2012
MarkLogic Corporation&#10;&#10;Licensed un...\"}}",

            "$sql-query := \"import module namespace amped-qconsole =
&quot;http://marklogic....\"";,

            "$sparql-query := \"import module namespace amped-qconsole
= &quot;http://marklogic....\"";,

            "$query := document{text{\"(:&#10;Copyright 2012 MarkLogic
Corporation&#10;&#10;Licensed un...\"}}",

            "$new-query := ()",

            "$eval-opts := <options
xmlns=\"xdmp:eval\"><database>12459739181686467876</database><isolation>different-tr...</options>"

          ]

        }

      ]

    }

  }

}
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to