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.

'Browser' object has no attribute '_Browser__raise_on_404'

See original GitHub issue

Running ubuntu on a p2.xlarge on AWS.

Python version Python 2.7.12 :: Anaconda 4.2.0 (64-bit)

kaggle-cli version 0.12.3

“kg config” returns proper settings [(‘username’, u’mykaggleemail@gmail.com’), (‘password’, ‘********’), (‘competition’, u’dogs-vs-cats-redux-kernels-edition’)]

command I’m running: kg submit submissions.csv -m "Initial Submission"

The resulting error is 'Browser' object has no attribute '_Browser__raise_on_404'

Any ideas? Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
floydwchcommented, Oct 3, 2017

Very weird… I believe the error is raised from https://github.com/floydwch/kaggle-cli/blob/master/kaggle_cli/submit.py#L40 and related to https://github.com/hickford/MechanicalSoup/blob/master/mechanicalsoup/browser.py#L70 .

Please remove ~/.kaggle-cli/browser.pickle and execute the command in verbose mode again. It’ll issue login request and let’s see does the error still raise.

0reactions
kevinbird15commented, Nov 10, 2017

I just had this same issue and rm ~/.kaggle-cli/browser.pickle fixed the issue for me. Not sure what the underlying issue was, but at least it was an easy fix. Thanks for the great tool!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Browser' object has no attribute 'setDefaultNavigationTimeout ...
Hi Gurus, I having this error message whenever trying to set the timeout of the either browser or the page. AttributeError: 'Browser' object...
Read more >
'Browser' object has no attribute 'manager' when test spynner ...
I'm using Python 2.7, thanks for the help! python · spynner · Share. Share a link ...
Read more >
'Window' object has no attribute '_progSignedTexFont' - Builder
I keep getting the error AttributeError: 'Window' object has no attribute '_progSignedTexFont' ################ Experiment ended with exit ...
Read more >
Anki can't work with: 'AnkiQt' object has no attribute 'flags'
File “aqt.browser.browser”, line 232, in setupMenus AttributeError: 'AnkiQt' object has no attribute 'flags'. Anki An Error Occured.
Read more >
Selenium WebDriver Error: AttributeError: 'list' object has no ...
We can get the Selenium webdriver error: AttributeError: 'list' object has no attribute 'click' while working on a test.
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