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&#39;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&#39;s persisting without that change, on the new installation, so I I suspect that&#39;s a coincidence.<br>
<br>So, the errors I&#39;m getting are of this form:<br><br>A) When I try to run redirect.py <br><br><div style="margin-left: 40px;">$ python redirect.py double -always <br>Checked for running processes. 1 processes currently running, including the current process.<br>
Retrieving special page...<br></div><br>There&#39;s a long wait and then:<br><br><div style="margin-left: 40px;">maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
your connection is down. Retrying in 1 minutes...<br>maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
your connection is down. Retrying in 2 minutes...<br>maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
your connection is down. Retrying in 4 minutes...<br></div><br><br><br>B) When I run replace.py, everything goes fine during the yes <br><br>(regardless of where I use -xml: or -file:) so it&#39;s clearly able to access the server. <br>
<br>But when it tries to put the pages, I get the same error:<br><br><div style="margin-left: 40px;">Waiting for 2 pages to be put. Estimated time remaining: 0:00:20<br>maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
your connection is down. Retrying in 1 minutes...<br></div><br>etc<br><br><br>I have no idea what to try next.<br><br>In case it&#39;s relevant, I&#39;m using Mandriva Linux 2008 Spring, with Python version 2.5.2-2.1mdv2008.1<br>
<br>Many thanks, <br>Chris<br><br><br><div class="gmail_quote">On Tue, Jul 1, 2008 at 12:00 PM, Chris Watkins &lt;<a href="mailto:chriswaterguy@appropedia.org">chriswaterguy@appropedia.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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&#39;t hit ctrl+C, of course! :) <br><br>I could reinstall the whole thing, go back and redo all the things I&#39;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&#39;s still broken.<br>

<br><br>Often it&#39;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 &quot;python login.py&quot; before i start.)<br>

<br>Thanks in advance, and for all the help so far.<br><br>Chris<br><br>E.g. 1:&nbsp; using a file list and the &quot;-always&quot; parameter: <br><br><div style="margin-left: 40px;">$ python replace.py -excepttext:&quot;[[appropriate technology organizations&quot; -excepttext:&quot;appropriate technology organizations]]&quot; &quot;appropriate technology organizations&quot; &quot;[[appropriate technology organizations]]&quot; -always -file:files1.txt<br>

</div><br>This gives:<br><br><div style="margin-left: 40px;">No changes were necessary in [[Ashden Awards]]<br>No changes were necessary in [[Category:Microhydro]]<br>&lt;snip&gt;<br></div><br><div style="margin-left: 40px;">

&gt;&gt;&gt; Clay Brick and Tile Moulding Equipment 2 &lt;&lt;&lt;<br>- 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.<br>

+ 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.<br>

</div><br><br>Then it stops for a while, before giving this message:<br><br><div style="margin-left: 40px;"><div class="Ih2E3d">maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo" target="_blank">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
</div>
your connection is down. Retrying in 1 minutes...<div class="Ih2E3d"><br>maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo" target="_blank">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
</div>
your connection is down. Retrying in 2 minutes...<br></div><br>...and so on.<br><br>E.g. 2: using replace.py with the -xml parameter and manually selecting which changes to accept, I get a message like this:<br><br><div style="margin-left: 40px;">



Waiting for 3 pages to be put. Estimated time remaining: 0:00:30<br>
There are 3 pages remaining in the queue. Estimated time remaining: 0:00:30<br> <br></div>But it doesn&#39;t actually make any changes - it either hangs there, or say it can&#39;t find the server, and keeps retrying until I stop it (after several hours in one case)<br>

<br>Error messages occur during the running of replace.py as well, but don&#39;t actually stop it running.<br><br><br>E.g. 3: redirect.py doesn&#39;t work either - the second part of the error about the server being down is the same as above:<br>

<br><div style="margin-left: 40px;">$ python redirect.py double -always <br>Checked for running processes. 1 processes currently running, including the current process.<br>
Retrieving special page...<div class="Ih2E3d"><br>maximum recursion depth exceeded in cmp<br>WARNING: Could not open &#39;<a href="http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo" target="_blank">http://www.appropedia.org/w/api.php?action=query&amp;meta=userinfo&amp;uiprop=blockinfo</a>&#39;. Maybe the server or<br>
</div>

your connection is down. Retrying in 1 minutes...<br></div><div><div></div><div class="Wj3C7c"><br><div class="gmail_quote">On Sun, Jun 29, 2008 at 11:07 PM, Chris Watkins &lt;<a href="mailto:chriswaterguy@appropedia.org" target="_blank">chriswaterguy@appropedia.org</a>&gt; wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, only just saw that you&#39;d already replied with a solution. Thanks Bryan - I&#39;m trying it out.<br><font color="#888888"><br>Chris</font><div><br><br><br>
Bryan wrote:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
After looking in the code, you should add:<br><br>
def api_address(self):<br>
&nbsp;raise NotImplementedError<br><br>
in your family file.<br><br>
We should probably try to detect blocks on non api wikis as well.</blockquote><div>&nbsp;</div>


<br></div><div><div class="gmail_quote">On Sun, Jun 29, 2008 at 10:59 PM, Chris Watkins &lt;<a href="mailto:chriswaterguy@appropedia.org" target="_blank">chriswaterguy@appropedia.org</a>&gt; wrote:<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div class="gmail_quote">yes - it was configured for nice simple urls. I don&#39;t have a good understanding of this issue.<br><div><br>So is this error something I just have to live with (I really hope not!) or is there a way around it?<br>





<br>Thanks,<br><font color="#888888">Chris<br></font></div></div></blockquote></div><br><br clear="all"><br></div><div><div></div><div>-- <br>Chris Watkins (a.k.a. Chriswaterguy)<br><br>Appropedia.org - Sharing knowledge to build rich, sustainable lives.<br>




<br>Blog: <a href="http://chriswaterguy.livejournal.com/" target="_blank">chriswaterguy.livejournal.com/</a><br><br>Buying at Amazon, eBay etc? Start at <a href="http://appropedia.maatiam.com" target="_blank">http://appropedia.maatiam.com</a> and a percentage of your purchase supports Appropedia - at no extra cost.<br>




<br>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
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Chris Watkins (a.k.a. Chriswaterguy)<br><br>Appropedia.org - Sharing knowledge to build rich, sustainable lives.<br><br>Blog: <a href="http://chriswaterguy.livejournal.com/" target="_blank">chriswaterguy.livejournal.com/</a><br>



<br>Buying at Amazon, eBay etc? Start at <a href="http://appropedia.maatiam.com" target="_blank">http://appropedia.maatiam.com</a> and a percentage of your purchase supports Appropedia - at no extra cost.<br><br>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
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Chris Watkins (a.k.a. Chriswaterguy)<br><br>Appropedia.org - Sharing knowledge to build rich, sustainable lives.<br><br>Blog: <a href="http://chriswaterguy.livejournal.com/">chriswaterguy.livejournal.com/</a><br>
<br>Buying at Amazon, eBay etc? Start at <a href="http://appropedia.maatiam.com">http://appropedia.maatiam.com</a> and a percentage of your purchase supports Appropedia - at no extra cost.<br><br>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