Malafaya created this task.
Malafaya added a subscriber: Malafaya.
Malafaya added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Sometimes (lately, more frequently) I get these errors on the console:
  
  
  ```
  ERROR: Traceback (most recent call last):
  File "D:\Work\pywikipedia\pywikibot\data\api.py", line 1932, in submit
  body=body, headers=headers)
  File "D:\Work\pywikipedia\pywikibot\tools\__init__.py", line 1267, in wrapper
  return obj(*__args, **__kw)
  File "D:\Work\pywikipedia\pywikibot\comms\http.py", line 245, in request
  r = fetch(baseuri, method, body, headers, **kwargs)
  File "D:\Work\pywikipedia\pywikibot\comms\http.py", line 401, in fetch
  error_handling_callback(request)
  File "D:\Work\pywikipedia\pywikibot\comms\http.py", line 318, in error_handlin
  g_callback
  raise request.data
  TypeError: __str__ returned non-string (type SysCallError) 
  
  ```
  
  The error is not fatal, and the request is usually retried after some seconds.
  This is not the usual "read timed out" which happens sometimes.
  
  
  ```
  >pwb.py version
  Pywikibot: [https] r-pywikibot-core.git (0e2a436, g6351, 2015/09/05, 
10:08:04, ok)
  Release version: 2.0b3
  requests version: 2.7.0
    cacerts: C:\Program Files\Python\lib\site-packages\requests\cacert.pem
      certificate test: ok
  Python: 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
  PYWIKIBOT2_DIR: Not set
  PYWIKIBOT2_DIR_PWB: D:\Work\pywikipedia
  PYWIKIBOT2_NO_USER_CONFIG: Not set
  Config base dir: D:\Work\pywikipedia
  
  ```

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

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

To: Malafaya
Cc: Aklapper, Malafaya, pywikibot-bugs-list, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to