[Python-modules-team] Bug#797070: [python-urllib3] Break python-requests and transitively vim-youcompleteme

Jan Hudec bulb at ucw.cz
Thu Aug 27 14:44:14 UTC 2015


Package: python-urllib3
Version: 1.11-1
Severity: serious

--- Please enter the report below this line. ---

After upgrade of python-urllib3 to 1.11-1, vim-youcompleteme requests fail 
with:

Printing YouCompleteMe debug information...
Error detected while processing function <SNR>100_DebugInfo:
line    2:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/vim-youcompleteme/python/ycm/youcompleteme.py", line 335, 
in DebugInfo
    'debug_info' )
  File "/usr/share/vim-youcompleteme/python/ycm/client/base_request.py", line 
71, in PostDataToHandler
    timeout ) )
  File "/usr/share/vim-youcompleteme/python/ycm/client/base_request.py", line 
163, in JsonFromFuture
    response = future.result()
  File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 
407, in result
    return self.__get_result()
  File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 
359, in __get_result
    reraise(self._exception, self._traceback)
  File "/usr/lib/python2.7/dist-packages/concurrent/futures/_compat.py", line 
107, in reraise
    exec('raise exc_type, exc_value, traceback', {}, locals_)
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'HTTPMessage'
E858: Eval did not return a valid python object
-- 0

Downgrading python-urllib3 to 1.10.4-1 fixes the problem.

There is no available upgrade to python-requests, python-requests-futures or 
vim-youcompleteme to fix the problem on their side.

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.1.0-1-amd64

Debian Release: stretch/sid
  990 testing         http.debian.net 
  500 wily            ppa.launchpad.net 
  500 unstable        http.debian.net 
  500 trusty          ppa.launchpad.net 
  500 testing-proposed-updates http.debian.net 
  500 stable-updates  ftp.cz.debian.org 
  500 stable          security.debian.org 
  500 stable          ftp.cz.debian.org 
    1 experimental    http.debian.net 

--- Package information. ---
Depends            (Version) | Installed
============================-+-==============
python:any          (<< 2.8) | 
python:any     (>= 2.7.5-5~) | 
python-six                   | 1.9.0-3

Recommends           (Version) | Installed
==============================-+-===========
ca-certificates                | 20150426

Package's Suggests field is empty.

Reverse Depends
==============================-+-===========
python-requests                                    2.7.0-3
python-requests-futures                            0.9.5-1
python-requests-whl                                2.7.0-3
vim-youcompleteme                                  0+20150616+gitbc5f581-1

-- 
 - Jan Hudec <bulb at ucw.cz>



More information about the Python-modules-team mailing list