I have started from scratch, made a new install in a different directory, and some errors have disappeared, but I still get errors when the bot tries to put the changes. I can't successfully make any changes at all. At first I thought it was the change I made to the family file (appended email below), but it's persisting without that change, on the new installation, so I I suspect that's a coincidence.
So, the errors I'm getting are of this form:
A) When I try to run redirect.py
After I changed the family file as suggested, it broke badly. I cannot successfully run a bot and save changes - this is even if I don't hit ctrl+C, of course! :)
I could reinstall the whole thing, go back and redo all the things I've forgotten when I first installed Pywikipedia, but is there a simpler way? I tried packing the latest nightly package into the directory, replacing existing files, but it's still broken.
Often it's a server error, but the site is running fine. Other commands access the server, but they all break when it comes to trying to put the changes. (Yes, I run "python login.py" before i start.)
Thanks in advance, and for all the help so far.
Chris
E.g. 1: using a file list and the "-always" parameter:$ python replace.py -excepttext:"[[appropriate technology organizations" -excepttext:"appropriate technology organizations]]" "appropriate technology organizations" "[[appropriate technology organizations]]" -always -file:files1.txt
This gives:No changes were necessary in [[Ashden Awards]]
No changes were necessary in [[Category:Microhydro]]
<snip>>>> Clay Brick and Tile Moulding Equipment 2 <<<
- The activities of BASIN are divided between four leading European, non-profit appropriate technology organizations, each of which covers a separate specialized subject area, in order to provide more qualified expertise with greater efficiency.
+ The activities of BASIN are divided between four leading European, non-profit [[appropriate technology organizations]], each of which covers a separate specialized subject area, in order to provide more qualified expertise with greater efficiency.
Then it stops for a while, before giving this message:maximum recursion depth exceeded in cmpyour connection is down. Retrying in 1 minutes...
WARNING: Could not open 'http://www.appropedia.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo'. Maybe the server or
your connection is down. Retrying in 2 minutes...
maximum recursion depth exceeded in cmp
WARNING: Could not open 'http://www.appropedia.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo'. Maybe the server or
...and so on.
E.g. 2: using replace.py with the -xml parameter and manually selecting which changes to accept, I get a message like this:Waiting for 3 pages to be put. Estimated time remaining: 0:00:30But it doesn't actually make any changes - it either hangs there, or say it can't find the server, and keeps retrying until I stop it (after several hours in one case)
There are 3 pages remaining in the queue. Estimated time remaining: 0:00:30
Error messages occur during the running of replace.py as well, but don't actually stop it running.
E.g. 3: redirect.py doesn't work either - the second part of the error about the server being down is the same as above:
$ python redirect.py double -always
Checked for running processes. 1 processes currently running, including the current process.
Retrieving special page...your connection is down. Retrying in 1 minutes...
maximum recursion depth exceeded in cmp
WARNING: Could not open 'http://www.appropedia.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo'. Maybe the server or
On Sun, Jun 29, 2008 at 11:07 PM, Chris Watkins <chriswaterguy@appropedia.org> wrote:
Sorry, only just saw that you'd already replied with a solution. Thanks Bryan - I'm trying it out.
Chris
Bryan wrote: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.On Sun, Jun 29, 2008 at 10:59 PM, Chris Watkins <chriswaterguy@appropedia.org> wrote:yes - it was configured for nice simple urls. I don't have a good understanding of this issue.
So is this error something I just have to live with (I really hope not!) or is there a way around it?
Thanks,
Chris--
Chris Watkins (a.k.a. Chriswaterguy)
Appropedia.org - Sharing knowledge to build rich, sustainable lives.
Blog: chriswaterguy.livejournal.com/
Buying at Amazon, eBay etc? Start at http://appropedia.maatiam.com and a percentage of your purchase supports Appropedia - at no extra cost.
Where men are the most sure and arrogant, they are commonly the most mistaken, and have there given reins to passion, without that proper deliberation and suspense, which can alone secure them from the grossest absurdities. -- David Hume
--
Chris Watkins (a.k.a. Chriswaterguy)
Appropedia.org - Sharing knowledge to build rich, sustainable lives.
Blog: chriswaterguy.livejournal.com/
Buying at Amazon, eBay etc? Start at http://appropedia.maatiam.com and a percentage of your purchase supports Appropedia - at no extra cost.
Where men are the most sure and arrogant, they are commonly the most mistaken, and have there given reins to passion, without that proper deliberation and suspense, which can alone secure them from the grossest absurdities. -- David Hume