Last modified: 2014-05-31 08:24:56 UTC
WHen there is non-existing page (like with pagegenerator -links:) bot crashes: I:\py\rewrite>pwb.py newitem -links:Přibyslav -namespace:0 -lang:cs Retrieving 50 pages from wikipedia:cs. Processing [[cs:Glej]] Traceback (most recent call last): File "I:\py\rewrite\pwb.py", line 143, in <module> run_python_file(fn, argv, argvu) File "I:\py\rewrite\pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "I:\py\rewrite\scripts\newitem.py", line 111, in <module> main() File "I:\py\rewrite\scripts\newitem.py", line 108, in main bot.run() File "I:\py\rewrite\scripts\newitem.py", line 58, in run elif page.editTime() > self.lastEditBefore: File "I:\py\rewrite\pywikibot\page.py", line 456, in editTime rev = self.latestRevision() File "I:\py\rewrite\pywikibot\page.py", line 371, in latestRevision self.site.loadrevisions(self) File "I:\py\rewrite\pywikibot\site.py", line 1826, in loadrevisions raise NoPage(page) pywikibot.exceptions.NoPage <class 'pywikibot.exceptions.NoPage'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort I:\py\rewrite>
Change 135749 had a related patch set uploaded by Xqt: (bug 65309) check whether page already exist, code improvements https://gerrit.wikimedia.org/r/135749
Change 135749 merged by jenkins-bot: (bug 65309) check whether page already exist, code improvements https://gerrit.wikimedia.org/r/135749