On Thu, Sep 24, 2009 at 6:39 PM, Russell Blau <[email protected]> wrote:

>
> You're not using genFactory correctly here; genFactory can only return a
> generator based on the standard command-line arguments, but it looks like
> you are trying to define your own generator from a MySQL query.  Without
> seeing the rest of your program it's hard to tell, but maybe you should
> just
> eliminate the references to genFactory entirely.
>
> If you do use a generator factory, the correct method call is "gen =
> genFactory.getCombinedGenerator()" without any argument(s).
>

The script i'm using is replace.py. I didn't made any modifications to that
part (only template validations for skipping the page at all if present).
That part is entirely untouched.

Thanks for the fast response.
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to