Page MenuHomePhabricator AttributeError: 'NoneType' object has no attribute 'output'
Open, NormalPublic


Last part of the job:

>>> Åhavevej (Aarhus) <<<
Creating item for [[da:Åhavevej (Aarhus)]]...
Change summary: Bot: New item with sitelink from [[wikipedia:da:Åhavevej (Aarhus)]]

37 pages read
19 pages written
Execution time: 25 seconds
Read operation time: 0 seconds
Write operation time: 1 seconds
Script terminated successfully.
Waiting for 16 pages to be put. Estimated time remaining: 0:02:40
Exception in thread Put-Thread:
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 801, in __bootstrap_inner
  File "/usr/lib/python2.7/", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/sat/pywikibot/core/pywikibot/", line 1397, in async_manager
    request(*args, **kwargs)
  File "/home/sat/pywikibot/core/pywikibot/", line 123, in handle
    callback(self, err)
  File "/home/sat/pywikibot/core/scripts/", line 127, in <lambda>
    page, callback=lambda _, exc: self._callback(page, exc))
  File "/home/sat/pywikibot/core/scripts/", line 89, in _callback
  File "/home/sat/pywikibot/core/scripts/", line 75, in _touch_page
    pywikibot.output('Doing a null edit on the page.')
AttributeError: 'NoneType' object has no attribute 'output'
sat@ubuntu-sat2:~/wikipedia/jobs/wikidata/wd_mangler$ cat 
python ~/pywikibot/core/ newitem -file:art_trin3

git-version: commit 2fd5960b7a507251f81517b3da63a9d2bf43c179 (origin/master, origin/HEAD)

Only the first 3 pages are created.

Event Timeline

Steenth created this task.Mar 14 2019, 11:55 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMar 14 2019, 11:55 AM
JJMC89 updated the task description. (Show Details)Mar 14 2019, 2:45 PM
Xqt triaged this task as Normal priority.Mar 15 2019, 4:18 AM
Xqt added a subscriber: Xqt.

pywikibot became None - very strange

Xqt added a subscriber: Multichill.Mar 17 2019, 5:47 PM