[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-06-12 Thread Dana Florescu
** Changed in: zorba Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-04-16 Thread Zorba Build Bot
** Changed in: zorba Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-04-13 Thread Matthias Brantner
** Changed in: zorba Status: New = In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: In

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~zorba-coders/zorba/bug-921458 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: In

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-03-22 Thread Matthias Brantner
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-15 Thread William Candillon
I cannot find the patch you're mentioning, where can I find it? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-15 Thread William Candillon
The problem is that I'm not able to make the query to finish but I seem to be the only one with that problem? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines()

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-14 Thread Matthias Brantner
** Changed in: zorba Assignee: Matthias Brantner (matthias-brantner) = William Candillon (wcandillon) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines()

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread William Candillon
** Changed in: zorba Importance: High = Critical -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Matthias Brantner
Paul, Could you please investigate why William's program doesn't stream after applying the patch below? I understand why it didn't stream in the trunk (i.e. with fn:tokenize) but using the string:split function, there should be nothing that prevents it from streaming. I guess the problem is

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread William Candillon
Even without streaming this program doesn't seem to work -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor:

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Paul J. Lucas
In the original query, where does the value of $i come from? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Matthias Brantner
for $line at _$i_ -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug description: I wrote the

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Paul J. Lucas
It doesn't stream because the StreamableString is materializing the string. Sticking an assert() in materialize() shows the stack trace: #0 0x7fff8157482a in __kill () #1 0x7fff830e0a9c in abort () #2 0x7fff831135de in __assert_rtn () #3 0x00010aa19df4 in

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Paul J. Lucas
Oh wait you said *with* the patch. It would help if he/you attached the patch as a patch to the bug. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines()

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Paul J. Lucas
*With* William's patch, the query works for me and the string is never materialized (where x.xq is William's query): $ time bin/zorba -f -q /tmp/x.xq # ... output elided ... real0m58.719s user0m57.956s sys 0m0.483s It takes longer than it should, but it does run to

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-02-01 Thread Paul J. Lucas
Oh, since the string isn't materialized, that means it *must* be streaming so it's not clear there's anything to fix... assigning back to you. ** Changed in: zorba Assignee: Paul J. Lucas (paul-lucas) = Matthias Brantner (matthias-brantner) -- You received this bug notification

[Zorba-coders] [Bug 921458] Re: file:read-text-lines() blocking

2012-01-25 Thread William Candillon
** Summary changed: - file:read-text-lines() not streaming? + file:read-text-lines() blocking ** Description changed: I wrote the following query: import module namespace file =http://expath.org/ns/file;; - + for $line at $i in file:read-text-lines(doc.xml) return - if($i lt