Meno25 added a comment.

  In T337045#8867648 <https://phabricator.wikimedia.org/T337045#8867648>, @Xqt 
wrote:
  
  > The result after this change:
  >
  >   D:\pwb\GIT\core>pwb shell
  >   Welcome to the Pywikibot interactive shell!
  >   pwb> pywikibot.config.max_retries = 0
  >   pwb> s = pywikibot.Site()
  >   pwb> p = pywikibot.Page(s, 'user:xqt/Test')
  >   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 
0x000002428C7B5110>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
  >   
  >   Page [[Benutzer:Xqt/Test]] saved
  >   pwb> ^Z
  >   
  >   Thank you for using Pywikibot; exiting now...
  >   
  >   
  >   D:\pwb\GIT\core>
  
  Hi, @Xqt and thank you for the quick response. Sadly, the issue is still not 
resolved. What happens now (after testing with the new patch) is that the bot 
is stuck at repeating the request every 120 seconds indefinitely. (It does not 
skip the page and work on other pages as requested.)
  
  **Command line:**
  
    python pwb.py cosmetic_changes -newpages:1000 -lang:arz
  
  **Full output:**
  
    >>> ميندوسينو كاونتى ، كاليفورنيا <<<
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x000002835789B650>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 5.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x000002835789C450>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 10.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283578C41D0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 20.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283578C6DD0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 40.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357C587D0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 80.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x000002835789AD10>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283578C55D0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357524E90>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283578C6E90>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357530F50>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283575255D0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357C3CDD0>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357C3C390>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x0000028357945490>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.
    ERROR: Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pywikibot\data\api\_requests.py", 
line 691, in _http_request
        response = http.request(self.site, uri=uri,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
285, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Mohammed\Downloads\core\pywikibot\comms\http.py", line 
460, in fetch
        callback(response)
      File "C:\Users\Mohammed\Downloads\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 
0x00000283578E6510>, 'Connection to wikispot.org timed out. (connect 
timeout=6.05)'))
    
    WARNING: Waiting 120.0 seconds before retrying.

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

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

To: Xqt, Meno25
Cc: Xqt, Aklapper, alaa, pywikibot-bugs-list, Meno25, Themindcoder, Adamm71, 
Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to