With my current installation of Pywikipediabot, whenever I run replace.py and choose edit, it aborts with an error. I&#39;m running on Debian (Linux) and I have python-tk installed.  (I had it working on a previous computer. From memory, it also had python-tk installed, and it was either running Debian or Ubuntu - can&#39;t recall).<br>

<br>At the message: <br><b>Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a]ll, [q]uit) </b><br><br>I enter: <b>e</b><br><br>And I get this output: <br><br>Traceback (most recent call last):<br>

  File &quot;replace.py&quot;, line 808, in &lt;module&gt;<br>    main()<br>  File &quot;replace.py&quot;, line 799, in main<br>    bot.run()<br>  File &quot;replace.py&quot;, line 428, in run<br>    as_edited = editor.edit(original_text)<br>

  File &quot;/home/PATH/editarticle.py&quot;, line 121, in edit<br>    pywikibot.ui.editText(text, jumpIndex=jumpIndex,<br>AttributeError: &#39;module&#39; object has no attribute &#39;ui&#39;<br><br><br>The relevant line in editarticle.py is<br>

<br>120            return self.restoreLinebreaks(<br>121                pywikibot.ui.editText(text, jumpIndex=jumpIndex,<br>122                                      highlight=highlight))<br><br><br>Any suggestions? Thanks.<br clear="all">

<br>-- <br>Chris Watkins<br><br>Appropedia.org - Sharing knowledge to build rich, sustainable lives.<br><br>