On tool labs, using:
$ python /shared/pywikipedia/core/pwb.py ~/panrb/panrb.py -dir:/data/project/yifeibot/panrb/config
(bug appears on both grid and bastion), with versions:
tools.yifeibot@tools-bastion-02:/shared/pywikipedia/core$ git status On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) pywikibot/version nothing added to commit but untracked files present (use "git add" to track) tools.yifeibot@tools-bastion-02:/shared/pywikipedia/core$ cat pywikibot/version nightly/core 3 2015-08-18T01:02:28 cb05c0a
Error:
Traceback (most recent call last): File "/shared/pywikipedia/core/pwb.py", line 239, in <module> if not main(): File "/shared/pywikipedia/core/pwb.py", line 233, in main run_python_file(filename, [filename] + args, argvu, file_package) File "/shared/pywikipedia/core/pwb.py", line 111, in run_python_file main_mod.__dict__) File "/data/project/yifeibot/panrb/panrb.py", line 202, in <module> main() File "/data/project/yifeibot/panrb/panrb.py", line 198, in main bot.run() File "/data/project/yifeibot/panrb/panrb.py", line 70, in run pywikibot.Category(self.site, "Category:Panoramio_review_needed")): File "/data/project/pywikibot/public_html/core/pywikibot/pagegenerators.py", line 1107, in CategorizedPageGenerator for a in category.articles(**kwargs): File "/data/project/pywikibot/public_html/core/pywikibot/page.py", line 2446, in articles member_type=['page', 'file'] File "/data/project/pywikibot/public_html/core/pywikibot/site.py", line 3426, in categorymembers **cmargs) File "/data/project/pywikibot/public_html/core/pywikibot/site.py", line 1718, in _generator gen = gen_class(type_arg, **req_args) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 2785, in __init__ QueryGenerator.__init__(self, **kwargs) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 2436, in __init__ set(self.modules) & self.site._paraminfo.query_modules_with_limits File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 1035, in query_modules_with_limits self.fetch(self.submodules('query', True)) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 950, in submodules self.fetch([name]) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 564, in fetch self._fetch(modules) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 676, in _fetch for mod in normalized_result.values()) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 725, in _generate_submodules self._add_submodules(module, submodules) File "/data/project/pywikibot/public_html/core/pywikibot/data/api.py", line 229, in _add_submodules assert modules == self._modules[name] AssertionError <type 'exceptions.AssertionError'> CRITICAL: Closing network session.