Last modified: 2014-09-23 14:47:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72820, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70820 - Add ability to ignore SSL certificate errors for compatibility
Add ability to ignore SSL certificate errors for compatibility
Status: RESOLVED DUPLICATE of bug 71159
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-14 06:21 UTC by reza1615
Modified: 2014-09-23 14:47 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description reza1615 2014-09-14 06:21:24 UTC
would you please add this patch for compat?
https://gerrit.wikimedia.org/r/#/c/160189/
Now when i edit claims it crashes and show this token error

  File "/home/reza/compat/wikipedia.py", line 4799, in editclaim
    raise RuntimeError("API query error: %s" % data)
RuntimeError: API query error: {u'servedby': u'mw1191', u'error': {u'info': u"The 'token' parameter must be POSTed", u'code': u'mustposttoken'}}
Comment 1 John Mark Vandenberg 2014-09-14 06:32:53 UTC
The token error is a different bug caused by changes in the MW API, and not yet fixed for compat.  I suspect that has already been raised, but Amir will know.

The ignore SSL cert fix only works with httplib2 used by core, which compat does not use.
Comment 2 Amir Ladsgroup 2014-09-14 23:05:31 UTC
It is not a warning that can be ignored and it's not related to SSL either.

I fixed it by a little trick in wikipedia.py I can fix it easily but my question is should we fix it?

Best
Comment 3 reza1615 2014-09-15 05:39:23 UTC
@Amir it stops the bot and it is not a warning also when I added try to repeat the function it will work but for adding references it stop completely.
Comment 4 Amir Ladsgroup 2014-09-15 06:52:17 UTC
You can't ignore errors because they are "errors" what you can ignore are warnings.
Comment 5 Amir Ladsgroup 2014-09-23 14:47:08 UTC

*** This bug has been marked as a duplicate of bug 71159 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links