Topic on Manual talk:Pywikibot

Jump to navigation Jump to search
AngeCI (talkcontribs)

I use this software on this site as Abcbot.

I input the text below in the cmd:

replace.py -ns:0 樹 树 -search:樹

and find this page. I pressed "y". Then it returned:

HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://zh.minecraftwiki.net/api.php'.
Maybe the server is down. Retrying in 1 minutes...
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://zh.minecraftwiki.net/api.php'.
Maybe the server is down. Retrying in 2 minutes...
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://zh.minecraftwiki.net/api.php'.
Maybe the server is down. Retrying in 4 minutes...
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://zh.minecraftwiki.net/api.php'.
Maybe the server is down. Retrying in 8 minutes...
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://zh.minecraftwiki.net/api.php'.
Maybe the server is down. Retrying in 16 minutes...

After a while, it returned:

Traceback (most recent call last):
  File "C:\Documents and Settings\user\My Documents\pywikipedia\wikipedia.py", l
ine 8902, in async_put
    page.put(newtext, comment, watchArticle, minorEdit, force)
  File "C:\Documents and Settings\user\My Documents\pywikipedia\wikipedia.py", l
ine 2056, in put
    sysop = sysop, botflag=botflag, maxTries=maxTries)
  File "C:\Documents and Settings\user\My Documents\pywikipedia\wikipedia.py", l
ine 2147, in _putPage
    response, data = query.GetData(params, self.site(), sysop=sysop, back_respon
se = True)
  File "C:\Documents and Settings\user\My Documents\pywikipedia\pywikibot\suppor
t.py", line 115, in wrapper
    return method(*__args, **__kw)
  File "C:\Documents and Settings\user\My Documents\pywikipedia\query.py", line
143, in GetData
    res, jsontext = site.postForm(path, params, sysop, site.cookies(sysop = syso
p) )
  File "C:\Documents and Settings\user\My Documents\pywikipedia\wikipedia.py", l
ine 6107, in postForm
    cookies=cookies)
  File "C:\Documents and Settings\user\My Documents\pywikipedia\wikipedia.py", l
ine 6151, in postData
    f = MyURLopener.open(request)
  File "C:\Python27\lib\urllib2.py", line 406, in open
    response = meth(req, response)
  File "C:\Python27\lib\urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python27\lib\urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable

What should I do?

AngeCI (talkcontribs)

Then I use other word to replace. It sucessed. So strange!

AngeCI (talkcontribs)
Bináris (talkcontribs)

I don't see any question marks at the given link or the difflinks. Please give a difflink where you see them. This must be a character encoding problem in your browser (or in your command line).

AngeCI (talkcontribs)

That is a contribution page, each edit which have question mark in the summary have this program.

Bináris (talkcontribs)

These are clearly HTTP errors as stated. The problem is with the server, not the bot. Try again later or contact the maintainer of the wiki.

Reply to "Some bugs"