I still get the error.
Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\pywikipedia>pwb version
Pywikibot: [https] r/pywikibot/core (r2012, 15287da, 2013/09/03,
07:07:35, ok)
Release version: 2.0b1
Python: 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]
unicode test: ok
Exception TypeError: TypeError("'NoneType' object is not callable",) in
<bound m
ethod ConnectionPool.__del__ of {}> ignored
It seems that pwb.py cannot import httplib2 from externals directory.
And after installed the httplib2, the error appears.
I then try to use the pip one, same happened.
And the error is a little different than the one said, it's
{FatalServerError: [Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SER
VER_CERTIFICATE:certificate verify failed}, instead of SSLHandshakeError.
The whole log is on
http://pastebin.com/3JGLcJxZ .
Yours,
JustinC
於 29/8/2013 16:10, Merlijn van Deen 提到:
We have switched to HTTPS again! If you get the
following error message:
On 20 August 2013 23:46, Merlijn van Deen <valhallasw(a)arctus.nl
<mailto:valhallasw@arctus.nl>> wrote:
ERROR: Traceback (most recent call last):
File "X\core\pywikibot\data\api.py", line 286, in submit
body=paramstring)
File "X\core\pywikibot\comms\http.py", line 116, in request
raise request.data
SSLHandshakeError: [Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
the easiest option is to install httplib2 - either in a virtualenv or
globally - from the externals/ directory. This directory contains an
updated cacerts.txt, which included the root certificate required for
editing on WMF servers.
To do this:
cd externals/httplib2
python setup.py install
If you use pwb.py, you should not get an error message at all. If you
/do/ get one, please let me know.
Best,
Merlijn
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l