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.

find_all error in kg download

See original GitHub issue

I got error while running the download command.

kg download -u '******' -p '******' --competition 'https://www.kaggle.com/c/data-science-bowl-2017'

I got the following error:


Starting new HTTPS connection (1): www.kaggle.com
'NoneType' object has no attribute 'find_all'

Any suggestions??

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

6reactions
calliope7commented, Feb 3, 2017

Hey msgrasser - this has been thwarting me as well… your comments made me think… I wonder if I reinstall kg… when I tried, I found that pip was out of date… ‘pip install --upgrade pip’ solved that… followed by ‘pip install --upgrade kaggle-cli’. Now when I run kg download… it works! Hope this helps.

4reactions
mr-z-rocommented, Feb 1, 2017

Still getting this error (with ‘dogs-vs-cats’ competition, after accepting TOS), and it looks to be due to line 27 of download.py – it’s looking for an element with an id that doesn’t exist, then trying to find ‘a’ elements within that.

Looks like kaggle switched to react and doesn’t display all download links anymore – could this have something to do with it or am I missing something?

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Can't download YouTube video - Stack Overflow
Here's a cleaner version, which uses urllib to parse URLs and query strings, and which successfully downloads a video.
Read more >
Excel IFERROR function with formula examples - Ablebits
The tutorial shows how to use IFERROR in Excel to catch errors and replace them with a blank cell, another value or a...
Read more >
Why do I get the error "Unrecognized function or variable"?
Type "ver" into the Matlab Command Window. shaperead is part of the Mapping Toolbox, if you dont own it you cant use the...
Read more >
Calculus and Its Applications (2-downloads)
105. A student made the following error on a test: Identify the error and explain how to correct it. 106. Describe the differences...
Read more >
dataRetrieval Tutorial - Using R to Discover Data
Basic dataRetrieval tutorial for USGS water data in R. ... R is an open-source programming language. It is known for extensive statistical ...
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