https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
Bug ID: 66583 Summary: Claimit: AttributeError: Claim instance has no attribute 'title' Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
pwb.py claimit -catr:Lední_hokejisté_podle_zemí P106 Q11774891
Processing [[cs:Jim Korn]] Adding P106 --> [[wikidata:Q11774891]] Traceback (most recent call last): File "D:\Py\rewrite\pwb.py", line 143, in <module> run_python_file(fn, argv, argvu) File "D:\Py\rewrite\pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "D:\Py\rewrite\scripts\claimit.py", line 200, in <module> main() File "D:\Py\rewrite\scripts\claimit.py", line 197, in main bot.run() File "D:\Py\rewrite\scripts\claimit.py", line 129, in run claim.addSource(source, bot=True) File "D:\Py\rewrite\pywikibot\page.py", line 3027, in addSource self.addSources([claim], **kwargs) File "D:\Py\rewrite\pywikibot\page.py", line 3035, in addSources data = self.repo.editSource(self, claims, new=True, **kwargs) File "D:\Py\rewrite\pywikibot\site.py", line 548, in callee return fn(self, *args, **kwargs) File "D:\Py\rewrite\pywikibot\site.py", line 3814, in editSource params['token'] = self.token(claim, 'edit') File "D:\Py\rewrite\pywikibot\site.py", line 1524, in token titles=page.title(withSection=False), AttributeError: Claim instance has no attribute 'title' <type 'exceptions.AttributeError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
D:\Py\rewrite>