jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-Other-scripts.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Testing `reflinks.py` on https://test.wikipedia.org/ fails:
  
  ```
  $ python pwb.py reflinks -family:test -lang:test 
-page:User:John_Vandenberg/reflinks_useragent_test
  No handlers could be found for logger "pywiki"
  Traceback (most recent call last):
    File "pwb.py", line 248, in <module>
      if not main():
    File "pwb.py", line 242, in main
      run_python_file(filename, [filename] + args, argvu, file_package)
    File "pwb.py", line 120, in run_python_file
      main_mod.__dict__)
    File "./scripts/reflinks.py", line 824, in <module>
      main()
    File "./scripts/reflinks.py", line 819, in main
      bot = ReferencesRobot(generator, **options)
    File "./scripts/reflinks.py", line 411, in __init__
      i18n.translate(self.site, stopPage))
    File ".../pywikibot/tools/__init__.py", line 1327, in wrapper
      return obj(*__args, **__kw)
    File ".../pywikibot/tools/__init__.py", line 1327, in wrapper
      return obj(*__args, **__kw)
    File ".../pywikibot/page.py", line 2058, in __init__
      raise ValueError(u'Title must be specified and not empty '
  ValueError: Title must be specified and not empty if source is a Site.
  <type 'exceptions.ValueError'>
  CRITICAL: Closing network session.
  ```

TASK DETAIL
  https://phabricator.wikimedia.org/T123789

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, pywikibot-bugs-list, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to