Bugs item #2091292, was opened at 2008-09-03 15:58
Message generated for change (Comment added) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=209129…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: shizhao (wikishizhao)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py NameError
Initial Comment:
run interwiki.py can't changing page:
======Post-processing [[zh:]]======
Updating links on page [[zh:]].
Changes to be made: : [[ja:]]
- [[ja:]]
ERROR: Found incorrect link to ja in [[zh:]]
NOTE: Updating live wiki...
Changing page [[zh:]]
Dump zh (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 1735, in <module>
bot.run()
File "interwiki.py", line 1486, in run
self.queryStep()
File "interwiki.py", line 1465, in queryStep
subj.finish(self)
File "interwiki.py", line 1053, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1204, in replaceLinks
status, reason, data = page.put(newtext, comment =
wikipedia.translate(page.site().lang, msg)[0] + mods)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1300, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1386, in _putPage
response, data = self.site().postForm(address, predata, sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 4326, in postForm
cookies=self.cookies(sysop = sysop))
File "/home/shizhao/pywikipedia/wikipedia.py", line 4377, in postData
return self.postData(address, data, contentType, sysop, useCookie, compress, cookie)
NameError: global name 'useCookie' is not defined
----------------------------------------------------------------------
Comment By: Andr Malafaya Baptista (malafaya)
Date: 2008-09-16 14:53
Message:
I also had this message sometimes but not a fatal error (i.e., the bot
displayed the message but continued processing).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=209129…