What steps will reproduce the problem? 1. Get the cachedir to contain a invalid entry 2. A call to the given resource will result in a crash like: File "/usr/lib/python2.7/dist-packages/httplib2/init.py", line 1346, in request info, content = cached_value.split('\r\n\r\n', 1) ValueError: need more than 1 value to unpack 3. No data is returned
What is the expected output? What do you see instead?
It should be tolerant against this kind of failure.
What version of the product are you using? On what operating system?
0.7.4
Please provide any additional information below.
See the attached patch for a trivial fix.
- fix_value_error.patch 1.55KB
Comment #1
Posted on Aug 28, 2012 by Massive HippoThis issue was closed by revision 403deb2f51e7.
Status: Fixed
Labels:
Type-Defect
Priority-Medium