Xqt added a comment.

  I simplified the check and get:
  
    D:\pwb\GIT\core>pwb shell
    Welcome to the Pywikibot interactive shell!
    pwb> s = pywikibot.Site()
    pwb> p = pywikibot.Page(s, 'user:xqt/Test')
    pwb> t = p.text
    pwb> p.save()
    ERROR: Traceback (most recent call last):
      File "D:\pwb\GIT\core\pywikibot\data\api\_requests.py", line 691, in 
_http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 460, in fetch
        callback(response)
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 335, in 
error_handling_callback
        raise ServerError(response)
    pywikibot.exceptions.ServerError: HTTPConnectionPool(host='wikispot.org', 
port=80): Max retries exceeded with url: /w/api.php (Caused by 
ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 
0x000001ABAB109310>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 5.0 seconds before retrying.
  
  wikispot.org is currently down and Interwikimap entry cannot create a site 
object for it.

TASK DETAIL
  https://phabricator.wikimedia.org/T337045

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, alaa, pywikibot-bugs-list, Meno25, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to