Hi everyone. When trying to use a version of replace.py I get this error:<br><br>Traceback (most recent call last):<br> File "pande_replace.py", line 742, in <module><br> main()<br> File "pande_replace.py", line 725, in main<br>
gen = genFactory.getCombinedGenerator(gen)<br>TypeError: getCombinedGenerator() takes exactly 1 argument (2 given)<br>Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method SharedSocket.__del__ of <httplib.SharedSocket instance at 0x1a45200>> ignored<br>
<br>Line 725 is:<br><br> query = u"""<br>SELECT page_namespace, page_title<br>FROM page<br>JOIN text ON (page_id = old_id)<br>%s<br>%s<br>LIMIT 200""" % (whereClause, exceptClause)<br> gen = pagegenerators.MySQLPageGenerator(query)<br>
elif PageTitles:<br> pages = [pywikibot.Page(pywikibot.getSite(), PageTitle)<br> for PageTitle in PageTitles]<br> gen = iter(pages)<br><br> gen = genFactory.getCombinedGenerator(gen) <br>
<br><br>running parameters for script are:<br><br>python pande_replace.py -fix:comunes -start:! -always<br><br>I'm using latest revision from SVN.<br><br>Any ideas?<br>