Bugs item #3356607, was opened at 2011-07-06 18:07 Message generated for change (Tracker Item Submitted) made by binbot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3356607...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: BinĂ¡ris (binbot) Assigned to: Nobody/Anonymous (nobody) Summary: Replce.py breaks if page is deleted in browser
Initial Comment: I opened a page in browser with "b" from replace.py, and deleted it, since it was not an article. Then the script crashed.
How to reproduce: 1. Create the page "Teszt" with the content "spam". 2. Run replace.py -page:teszt spam eggs 3. Press b, then delete the article when it opens in browser. 4. In command line, at the line "Press Enter when finished in browser." press enter.
Result: Traceback (most recent call last): File "replace.py", line 861, in <module> main() File "replace.py", line 852, in main bot.run() File "replace.py", line 499, in run original_text = page.get(get_redirect=True, force=True) File "C:\Program Files\Pywikipedia\wikipedia.py", line 655, in get expandtemplates = expandtemplates) File "C:\Program Files\Pywikipedia\wikipedia.py", line 732, in _getEditPage raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page does not exist. In rare cases, if you are certain the page does exist, look into overridi ng family.RversionTab" ) pywikibot.exceptions.NoPage: (wikipedia:hu, u'[[hu:Teszt]]', 'Page does not exis t. In rare cases, if you are certain the page does exist, look into overriding f amily.RversionTab')
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3356607...