Mike,
Thank you for the update - works perfectly now :-)
Wyatt
Michael Blakeley wrote:
I was able to reproduce this problem on a fresh install of 4.0-1 on
Windows. The patch from my last message fixed it, so I've incorporated
that change in
http://developer.marklogic.com/svn/cq/releases/mark-logic-cq-4.0-1.1.zip
and withdrawn the previous release.
-- Mike
Michael Blakeley wrote:
Thanks for the additional information. Oddly, my test configuration is
exactly as you describe: cq is unpacked in the Docs directory, so when
explore.xqy calls xdmp:invoke, the root path is 'Docs/'. I don't yet
understand why this works for me, but not for you or for Mike Bowers.
If you're comfortable with diff and patch, here's a possible fix. With
this change, cq attempts to figure out where it has been installed, and
uses that path as the root for explore-invokable.xqy. It works for me,
but so did the 4.0.1 technique :-).
-- Mike
Wyatt VanderStucken wrote:
Michael,
I'm able to reproduce this also. I don't think it's Linux vs.
Windows, but rather where cq is deployed. I have cq deployed to
<MLS_DIR>/Docs/cq/ within an app whose root is set to "Docs/". The
problem lies in explore.xqy - explore-invokable.xqy needs to be
invoked relative to explore.xqy...
return xdmp:invoke(
'explore-invokable.xqy',
(xs:QName('START'), $START, xs:QName('SIZE'), $SIZE,
xs:QName('FILTER-TEXT'), $FILTER-TEXT,
xs:QName('FILTER'),
if (not($filter)) then '' else xdmp:quote(document { $filter })
),
$OPTIONS
)
That's as far as my debugging has gotten - off to a meeting...
Thanks,
Wyatt
Michael Blakeley wrote:
Mike,
Thanks for the report. I'm having trouble reproducing this error on
Linux: that may mean that it's a Windows-specific error, so I'll
have to try a Windows machine.
Meanwhile, you should be able to cq 3.2.4 with MarkLogic Server 4.0-1.
-- Mike
Mike Bowers wrote:
CQ v4.0.1 Error. Occurs when pushing the explore link. The
MarkLogic database against which CQ is running is a freshly
installed instance of v4.0-1. Below is the error message displayed
in CQ.
500 Internal Server Error
SVC-FILOPN: xdmp:invoke("explore-invokable.xqy", (QName("",
"START"), 1, QName("", "SIZE"), ...), <options
xmlns="xdmp:eval"><database>17830873724881344990</database><root>Docs</root><modul...</options>)
-- File open error: open 'Docs\explore-invokable.xqy': No such
file or directory
in /cq/explore.xqy, on line 65 [1.0-ml]
$filter = ()
$filter = ()
----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of
the original message.
------------------------------------------------------------------------
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general