Last modified: 2014-07-24 09:15:07 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'\}\}
what is the exact code you want to run?
- **assigned_to**: nobody --> amird
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.