Last modified: 2014-07-20 10:08:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68583, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66583 - Claimit: AttributeError: Claim instance has no attribute 'title'
Claimit: AttributeError: Claim instance has no attribute 'title'
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
core-(2.0)
All All
: High major
: ---
Assigned To: Pywikipedia bugs
:
: 66466 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-13 13:04 UTC by JAn Dudík
Modified: 2014-07-20 10:08 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description JAn Dudík 2014-06-13 13:04:47 UTC
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>
Comment 1 JAn Dudík 2014-06-13 13:05:33 UTC
see also https://bugzilla.wikimedia.org/show_bug.cgi?id=66466
Comment 2 xqt 2014-06-16 08:07:03 UTC
Should be fixed with https://gerrit.wikimedia.org/r/#/c/139366/
Comment 3 Ricordisamoa 2014-07-20 10:08:14 UTC
*** Bug 66466 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links