Re: segfault on xpath queries :P

darryl <[email protected]> Wed, 05 May 2004 11:10:55 -0500
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
emf wrote:
> On May 4, 2004, at 02:56, darryl wrote:
> 
>> I have no idea what your problem is, BUT i think kimbro's idea of 
>> passing the xpath in via
>> a named parameter is the way to go.
> 
> 
> I have solved the xpath issue, and it's certainly not the apache thing:
> 
> from Weblog import Weblog
> blog = Weblog('/home/roland/Syncato/config')
> print blog.handleRequest('//character','','','')
> 
> That segfaults reliably. (character is an element that appears ~320 
> times in the six documents I have).
> 
> I would be very appreciative if you could tell me if, after copying the 
> documents http://mindlace.net/tmp/roland.tgz , and using the attached 
> config file (changing paths accordingly), running the script above (in 
> your dist/scripts/lib/ dir) gives you a segfault.
> 
> I really like xpath sans a named parameter - it makes it very elegant to 
> make xpath requests.
> 
>> I've also found that while trying to use mod_rewrite to proxy to 
>> another apache install
>> is causing issues with item titles ending in a "?" Webware is now 
>> intrepreting that as a query parameter....
> 
> 
> Well, that'll teach you to make querulous blog entries.
> -- 
> ~mindlace

Yup just segfaulted for me too.

~darryl
-- 
http://randomthoughts.vandorp.ca/WK/blog


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3