So this is what it says when I run a verbose debug (I have absolutely no idea what it means):
c:\pywikibot>python pwb.py login -debug -v Pywikibot r6404b195a6930fc7a2890ccd3190d252b58c3a03 Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] Found 2 stowiki:en processes running, including this one. ERROR: Traceback (most recent call last): File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 141, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\util\connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen chunked=chunked) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request self._validate_conn(conn) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn conn.connect() File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 284, in connect conn = self._new_conn() File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 150, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x048A3DF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\adapters.py", line 440, in send timeout=timeout File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\util\retry.py", line 388, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.php', port=443): Max retries exceeded with url: /?action=query&meta=siteinfo%7Cuserinfo&siprop=namespaces%7Cnamespacealiases%7Cgeneral&continue=&uiprop=blockinfo%7Chasmsg&maxlag=5&format=json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x048A3DF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\pywikibot\pywikibot\data\api.py", line 1952, in submit body=body, headers=headers) File "c:\pywikibot\pywikibot\tools__init__.py", line 1474, in wrapper return obj(*__args, **__kw) File "c:\pywikibot\pywikibot\comms\http.py", line 322, in request r = fetch(baseuri, method, params, body, headers, **kwargs) File "c:\pywikibot\pywikibot\comms\http.py", line 511, in fetch error_handling_callback(request) File "c:\pywikibot\pywikibot\comms\http.py", line 398, in error_handling_callback raise request.data File "c:\pywikibot\pywikibot\comms\http.py", line 377, in _http_process verify=not ignore_validation) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "C:\Users\Sheryl\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\adapters.py", line 508, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.php', port=443): Max retries exceeded with url: /?action=query&meta=siteinfo%7Cuserinfo&siprop=namespaces%7Cnamespacealiases%7Cgeneral&continue=&uiprop=blockinfo%7Chasmsg&maxlag=5&format=json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x048A3DF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
//api.php?action=query&meta=siteinfo%7Cuserinfo&siprop=namespaces%7Cnamespacealiases%7Cgeneral&continue=&uiprop=blockinfo%7Chasmsg&maxlag=5&format=json, action=query&meta=siteinfo%7Cuserinfo&siprop=namespaces%7Cnamespacealiases%7Cgeneral&continue=&uiprop=blockinfo%7Chasmsg&maxlag=5&format=json WARNING: Waiting 5 seconds before retrying.
On Tue, Dec 5, 2017 at 4:15 AM, Andre Klapper aklapper@wikimedia.org wrote:
Hi,
On Fri, 2017-12-01 at 23:13 -0600, Sheryl G. wrote:
The problem I'm having is when I try to log in. Not only does it completely ignore the fact that I've created a user-password file (I have set it up in my user-config file as well), it also does not log in when I've entered in my bot password manually. It says I've logged in successfully, but whenever I try and do anything, it prompts me for my password as if I was logged in.
See https://www.mediawiki.org/wiki/Manual:Pywikibot/login.py for how to get verbose debug output.
Cheers, andre -- Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot