kickthemout: AttributeError: 'NoneType' object has no attribute 'src'
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'
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- Resolve Issue #8 — committed to k4m4/kickthemout by k4m4 7 years ago
- Resolve Issue #8 — committed to k4m4/kickthemout by k4m4 7 years ago
- Resolve Issue #8 — committed to k4m4/kickthemout by k4m4 7 years ago
- Resolve Issue #8 — committed to k4m4/kickthemout by k4m4 7 years ago
- Merge pull request #8 from k4m4/master Fork update — committed to k4m4/kickthemout by xdavidhu 7 years ago
It should work now. Thanks for notifying us.
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.
Thanks, I had to run pip
install -r requirements.txtas root.The script needs to be run as root.
Please let us know if it works or if you are experiencing any further issues.