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.

AttributeError: 'NoneType' object has no attribute 'src'

See original GitHub issue

Hello, i got this error when i running > python kickthemout.py can u help me? thanks 😄

File "kickthemout.py", line 291, in <module>
    defaultGatewayIP = getGatewayIP()
  File "kickthemout.py", line 236, in getGatewayIP
    return getGateway_p.src
AttributeError: 'NoneType' object has no attribute 'src'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
k4m4commented, Jan 11, 2017

It should work now. Thanks for notifying us.

2reactions
k4m4commented, Jan 10, 2017

There was a problem while attempting to programmatically obtain the Gateway IP address. We made a few changes to the main script and now allow manual entry for when such errors occur. You should be all set.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get AttributeError: 'NoneType' object has no attribute ...
NoneType means that instead of an instance of whatever Class or Object you think you're working with, you've actually got None .
Read more >
AttributeError: 'NoneType' object has no attribute 'X' | bobbyhadz
The Python "AttributeError: 'NoneType' object has no attribute" occurs when we try to access an attribute on a None value, e.g. assignment from...
Read more >
How do I fix : attributeerror: 'nonetype' object has no attribute ...
So put a breakpoint at the beginning of the method containing the error line, and run your program from the start again.
Read more >
If translation not exist: 'NoneType' object has no attribute '_info'
This error occurs intermittently if you try to add a custom language in the settings module. E.g. I have to support two languages:...
Read more >
FDMEE Export Error "'NoneType' object has no attribute ...
AttributeError : 'NoneType' object has no attribute 'setAutoCommit' FATAL [AIF]: Error in AIFUtil - Could not connect to: SRC Traceback (most ...
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