jayvdb reopened this task as "Open".
jayvdb added a comment.

Found a bug in the patch, and I'm working on a solution. Just need to save my 
current state and return to this later.

  $ python3 pwb.py interwiki -wiktionary  -simulate -hintsonly
  Missing main page name
  translate: getting default site wiktionary None
  Traceback (most recent call last):
    File "pwb.py", line 219, in <module>
      if not main():
    File "pwb.py", line 213, in main
      run_python_file(filename, argv, argvu, file_package)
    File "pwb.py", line 88, in run_python_file
      main_mod.__dict__)
    File "./scripts/interwiki.py", line 2636, in <module>
      main()
    File "./scripts/interwiki.py", line 2607, in main
      bot.add(singlePage, hints=globalvar.hints)
    File "./scripts/interwiki.py", line 2117, in add
      subj = Subject(page, hints=hints)
    File "./scripts/interwiki.py", line 867, in __init__
      self.translate(hints, globalvar.hintsareright)
    File "./scripts/interwiki.py", line 936, in translate
      site=site)
    File ".../pywikibot/tools/__init__.py", line 1186, in wrapper
      return obj(*__args, **__kw)
    File ".../pywikibot/titletranslate.py", line 37, in translate
      site = page.site
  AttributeError: 'NoneType' object has no attribute 'site'


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

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

To: jayvdb
Cc: gerritbot, Ladsgroup, JAnD, jayvdb, pywikibot-bugs-list, Sylvain_WMFr, 
AlexWang, Daniel_Mietchen, Qgil, Malyacko, P.Copp



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

Reply via email to