Bugs item #2856798, was opened at 2009-09-11 13:32
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2856798&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mapi
Group: MonetDB5 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: francois guerin (fguerin)
Assigned to: Nobody/Anonymous (nobody)
Summary: mclient vs. xrpc requests - !ERROR: BATappend

Initial Comment:
Hi,
I have a xquery request that gives two differents results:
- the first one, within "mclient" works well, and gives me the right answer:
xquery>doc("frwikipedia_001.xml")//senten...@id="E1"]

- the second one, within a .xq module, fails and gives me the error below:
declare function foo:get_raw_enonce($document as xs:string, $eid as xs:string){
        doc($document)//senten...@id=$eid]
};

get_raw_enponce("frwikipedia_001.xml","E1")

<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope";>
 <env:Body>
  <env:Fault>
   <env:Code>
    <env:Value>env:Sender</env:Value>
   </env:Code>
   <env:Reason>
    <env:Text xml:lang="en">Error occurred during execution.
!ERROR: BATappend: access denied to tmp_2432, aborting.
!ERROR: BATappend_wrap: operation failed.

</env:Text>
   </env:Reason>
  </env:Fault>
 </env:Body>
</env:Envelope>

do i need admin rights to perform this request?
or, one can't do the same things with mclient and with xrpc requests ?

(the source file is still there: 
http://fguerin.inria.perso.neuf.fr/final_wiki.tar.bz2 )


----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-09-18 17:34

Message:
You declare the function using the name foo:get_raw_enonce, but use it
using the name get_raw_enponce (note the extra p).  Is that a typo in the
bug report or perhaps the cause of the problem (in which case the error
could be clearer)?

----------------------------------------------------------------------

Comment By: francois guerin (fguerin)
Date: 2009-09-11 14:52

Message:
with the option -d10, the request within mclient is very slow (i didnt take
time to wait for the answer, but it's at least 5min long)

I use the latest release.
My computer is a Mandriva - 64 bits - 4 proc.

----------------------------------------------------------------------

Comment By: Ying Zhang (yingying)
Date: 2009-09-11 14:20

Message:
Hello Francois,

No, you don't need admin rights to perform this request, since, I guess,
your Mserver and mclient are running on the same host.  After a quick look,
your query should work with xrpc, as it does nothing exotic.

Unfortunately, I don't have time to investigate further in your problem
right now.  I will do it after Sep. 16th.

Do I recall correctly that you are running the latest release (i.e. August
2009) on Win. XP (32/64 bits?)?  If I remenber it wrongly, please give me
some OS, software version information in the mean time.

By the way, could you please also try to start Mserver with an extra
option -d10 , and see if you get the same error?

Kind regards,

Jennie

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2856798&group_id=56967

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to