Xqt created this task.
Xqt claimed this task.
Xqt added a subscriber: Xqt.
Xqt added projects: Pywikibot-textlib.py, pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  ```
  >>> Benutzer:Xqt/Test <<<
  Retrieving 7 pages from wikipedia:de.
  
  0 pages read
  0 pages written
  Script terminated by exception:
  
  ERROR: AttributeError: type object 'Page' has no attribute '_link'
  Traceback (most recent call last):
    File "C:\pwb\GIT\core\pwb.py", line 219, in <module>
      if not main():
    File "C:\pwb\GIT\core\pwb.py", line 213, in main
      run_python_file(filename, argv, argvu, file_package)
    File "C:\pwb\GIT\core\pwb.py", line 88, in run_python_file
      main_mod.__dict__)
    File ".\scripts\fixing_redirects.py", line 122, in <module>
      main()
    File ".\scripts\fixing_redirects.py", line 117, in main
      bot.run()
    File "C:\pwb\GIT\core\pywikibot\bot.py", line 1417, in run
      self.treat(page)
    File "C:\pwb\GIT\core\pywikibot\bot.py", line 1737, in treat
      super(NoRedirectPageBot, self).treat(page)
    File "C:\pwb\GIT\core\pywikibot\bot.py", line 1631, in treat
      self.treat_page()
    File ".\scripts\fixing_redirects.py", line 74, in treat_page
      newtext = pywikibot.textlib.replace_links(newtext, [page, target])
    File "C:\pwb\GIT\core\pywikibot\textlib.py", line 517, in replace_links
      replace_items = [to_link(replace[0]), replace[1]]
    File "C:\pwb\GIT\core\pywikibot\textlib.py", line 492, in to_link
      return pywikibot.Page._link
  AttributeError: type object 'Page' has no attribute '_link'
  <type 'exceptions.AttributeError'>
  CRITICAL: Closing network session.```

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb, Malyacko, P.Copp



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

Reply via email to