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>
https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
JAn Dudík jan.dudik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High Severity|normal |major
--- Comment #1 from JAn Dudík jan.dudik@gmail.com --- see also https://bugzilla.wikimedia.org/show_bug.cgi?id=66466
https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |UNCONFIRMED CC| |info@gno.de Ever confirmed|1 |0
--- Comment #2 from xqt info@gno.de --- Should be fixed with https://gerrit.wikimedia.org/r/#/c/139366/
https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
JAn Dudík jan.dudik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
--- Comment #3 from Ricordisamoa ricordisamoa@openmailbox.org --- *** Bug 66466 has been marked as a duplicate of this bug. ***
pywikipedia-bugs@lists.wikimedia.org