question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

httplib2 v0.16.0 breaks the library

See original GitHub issue

Recently updated httplib2 library (v0.16.0) have a breaking change causing this Exception:

httplib2.RedirectMissingLocation: Redirected but response is missing a location: header

Steps to reproduce:

  1. pip install --upgrade httplib2
  2. Now use the google drive library to upload a file (This is where I encountered the bug, it may break while using other stuffs a well)

It should either force to use 0.15.0 version of httplib2 or adapt the breaking changes introduced in the new version.

A temporary fix for those using the client library would be to add httplib2==0.15.0 in requirements,txt of the project

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:30 (5 by maintainers)

github_iconTop GitHub Comments

12reactions
temotocommented, Jan 24, 2020

Side note: what a wonderful ironic mystery this issue number is 308 backwards.

4reactions
pkenjoracommented, Aug 17, 2020

Looks like the error is back… I’ve upgraded ALL libraries to most recent:

google-api-python-client google-auth google-auth-oauthlib google-auth-httplib2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python: Httplib2 Module Not Found - Stack Overflow
httplib2 is not part of the Python standard library. It's an external package you must install yourself. using pip: pip install httplib2.
Read more >
Unable to install package python-httplib2 in Kali Linux
Package python-httplib2 jessie (oldoldstable) (python): comprehensive HTTP client library written for Python 0.9+dfsg-2+deb8u1 [security]: ...
Read more >
httplib2 - PyPI
A comprehensive HTTP client library, httplib2 supports many features left out of other HTTP libraries. HTTP and HTTPS. HTTPS support is only available...
Read more >
httplib2 A comprehensive HTTP client library.
The httplib2 module is a comprehensive HTTP client library with the following features: ... This is mainly to deal with broken servers which...
Read more >
What's New — pandas 0.16.2 documentation - PyData |
Continuing from v0.16.0, the following enhancements make string operations ... httplib2 and the Google apiclient and oauth2client API client libraries which ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found