Last modified: 2014-07-24 09:15:07 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 T57142, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55142 - Unable to edit WikiData claims
Unable to edit WikiData claims
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:31 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 09:15 UTC (History)
2 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:31:27 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1627/
Reported by: Anonymous user
Created on: 2013-04-26 19:24:01
Subject: Unable to edit WikiData claims
Assigned to: amird
Original description:
Trying to create new claim in wikidata page with editclaims function in DataPage class will give following error

File "C:/Python27/Lib/site-packages/pywikipedia\wikipedia.py", line 4361, in editclaim
raise RuntimeError\("API query error: %s" % data\)
RuntimeError: API query error: \{u'servedby': u'mw1196', u'error': \{u'info': u'Unknown error: "Can only construct StringValue from strings"', u'code': u'unknownerror'\}\}
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:31:30 UTC
what is the exact code you want to run?
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:31:32 UTC
- **assigned_to**: nobody --> amird
Comment 3 Amir Ladsgroup 2014-07-24 09:15:07 UTC
It works for me and made some changes in wikipedia.py after this report so I think It's fixed. Feel free to reopen it if you disagree.

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


Navigation
Links