Topic on Manual talk:Pywikibot

Angrydog001 (talkcontribs)

when I run welcome.py, it returns:

Traceback (most recent call last):

  File "pwb.py", line 264, in <module>

   if not main():

  File "pwb.py", line 257, 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\welcome.py", line 880, in <module>

   main()

  File ".\scripts\welcome.py", line 859, in main

   bot.run()

  File ".\scripts\welcome.py", line 611, in run

   for users in self.parseNewUserLog():

  File ".\scripts\welcome.py", line 563, in parseNewUserLog

   yield pywikibot.User(ue.page())

  File "D:\Pywikibot\core-aoa-zh\pywikibot\logentries.py", line 122, in page

   self._page = pywikibot.Page(self.site, self.data['title'])

  File "D:\Pywikibot\core-aoa-zh\pywikibot\logentries.py", line 34, in __missing__

   raise KeyError("Log entry (%s) has no '%s' key" % (self._type, key))

KeyError: "Log entry (newusers) has no 'title' key"

<class 'KeyError'>

CRITICAL: Closing network session.

Angrydog001 (talkcontribs)

What should I do?

Xqt (talkcontribs)

File this bug to phabricator

Framawiki (talkcontribs)

Hi Angrydog001, please fill a ticket on phab phab:/project/view/87/, with the command you entered to start the script, the full traceback present in your last message and the output of `python pwb.py version` command.