Bugs item #3606277, was opened at 2013-02-27 14:29
Message generated for change (Comment added) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360627…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: creation of some items shows session-failure error
Initial Comment:
wikipedia.py for creation of some items shows session-failure error but if we run code
many time for that name it will create!!
i.e:
ائل تپه سی
my code was
# -*- coding: utf-8 -*-
import wikipedia
site = wikipedia.getSite('fa')
name =u"ائل تپه سی"
page = wikipedia.Page(site, name)
data = wikipedia.DataPage(page)
try:
items = data.get()
except wikipedia.NoPage:
data.createitem(u"Bot: Importing article from Persian wikipedia")
except Exception,e:
wikipedia.output('\03{lightred}Passed! error was : '+str(e)+'
\03{default}')
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2013-02-27 22:52
Message:
It's not a PWB bug. It's a wikidata's bug, tell them and i guess it's
because of some special characters in the title like "ئ"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360627…