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.

Closing discovery item fails with AttributeError: 'Http' object has no attribute 'http'

See original GitHub issue

The following line fails, looking at httplib2 shouldn’t this be self._http.close() instead?

https://github.com/googleapis/google-api-python-client/blob/2d076b87cff4029a243357dad19564767bbf8751/googleapiclient/discovery.py#L1335

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:11
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
busunkim96commented, Mar 5, 2021

I think https://github.com/googleapis/google-api-python-client/pull/1231/ will (finally) fix this. I’ll circle back to it next week. Thanks for the report @solzard!

0reactions
partheacommented, Apr 14, 2021

Hi @niva83 , I’m going to close this off as guidance has been provided in https://github.com/googleapis/google-api-python-client/issues/1046#issuecomment-815016260. If you’re still having trouble, please re-open it with more information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

google-api-python-client sample code gives 'module object ...
I would guess that your problem is that the example you post is for a command-line application, yet you're trying to use it...
Read more >
Changelog — Python 3.11.1 documentation
This fixes an issue where certain non-identical code objects could be “deduplicated” during compilation. gh-95355: _PyPegen_Parser_New now properly detects ...
Read more >
google-api-python-client
ID Status Summary 297 Fixed Unresolved reference Type‑Defect Priority‑Medium 295 Started Version 1.2
Read more >
AttributeError: 'NoneType' object has no attribute 'status_code ...
I am receiving the following error message after I register my app with reuters through the python API: AttributeError: 'NoneType' object has no...
Read more >
IO tools (text, CSV, HDF5, …) — pandas 1.5.2 documentation
LocalPath ), URL (including http, ftp, and S3 locations), or any object with a ... nrows) 1772 try: 1773 # error: "ParserBase" has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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