[mwlib] Re: Failed to launch nserve.py [Errno 111]

2012-04-26 Thread yann972
Hi, problem is now solved. It was just because those services cannot run as daemon and i had to open 4 different console to launch each script (nserve.py, then mw- qserve, then nslave.py and postman.py). No error message since this. I have an other error message now, i'll open a new post about

[mwlib] TypeError: doit() keywords must be strings in function rpc_render

2012-04-26 Thread yann972
Hi all, I have an other problem with nslave.py script (the one that launch rcp_render and rcp_makezip functions). When i'm on mediawiki and click export as PDF, server give me immediatly an error message : TypeError: doit() keywords must be strings in function rpc_render, file

Re: [mwlib] Using mwlib for parsing wikitext (but not PDF generation)

2012-04-26 Thread Travis Briggs
Hi Joel, My needs are pretty simple. The basic 'algorithm' of what I want to do is identify section headers with their names: if(isinstance(node, Section) and node.name == External Links): finish_node = node Then, given the location in the document of a section header with a given name, I