On Sun, Jun 29, 2008 at 10:46 PM, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
On Sun, Jun 29, 2008 at 8:01 PM, Chris Watkins chriswaterguy@appropedia.org wrote:
On Sun, Jun 29, 2008 at 7:58 PM, Chris Watkins chriswaterguy@appropedia.org wrote:
When using replace.py without the -always parameter, I've found a serious problem: If I accidentally interrupt the operation,* I get a message like the following, "Waiting for xx pages to be put. Estimated time remaining: xxxxx" - however, it fails to make the changes, even when I leave it a long time.
a little more info - the error message it gives at this point is:
maximum recursion depth exceeded in cmp WARNING: Could not open 'http://www.appropedia.org/w/api.php?action=query&meta=userinfo&uipro...'. Maybe the server or your connection is down. Retrying in xx minutes...
Chris
That is because this wiki is configured such that the wiki resides in the root directory, which is bad habbit. Also the Pywikipedia framework appears to rely for some critical stuff on the api which is not good either.
Bryan
After looking in the code, you should add:
def api_address(self): raise NotImplementedError
in your family file.
We should probably try to detect blocks on non api wikis as well.