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.

Wrong type for [hosts]

See original GitHub issue

Checklist for submitting an issue to KickThemOut:

  • I have carefully read the README file and haven’t managed to resolve my issue.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I am running the latest version of KickThemOut.

  • Description:

When I run the script here is the result:

ERROR: Gateway IP could not be obtained. Please enter IP manually.

kickthemout> Enter Gateway IP (e.g.

ERROR: Default Interface MAC Address could not be obtained. Please enter MAC manually.

kickthemout> Enter MAC Address (MM:MM:MM:SS:SS:SS): xx:xx:xx:xx:xx:xx Scanning your network, hang on…

ERROR: Network scanning failed. Please check your requirements configuration.

If you still cannot resolve this error, please submit an issue here:

Details: Wrong type for [hosts], should be a string [was <class ‘NoneType’>]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

denningsroguecommented, Nov 7, 2018

Problem solved. Thank you.

k4m4commented, Nov 7, 2018

Good to hear that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying to Scan multiple IPs with python-nmap
Im trying to scan multiple IPs with python-nmap but It returns an error: Error: assert type(hosts) is str, 'Wrong type for [hosts], ...
Read more >
Python 2.7.6 - For loop is not working with the nmap module
If at the last line I enter loop_1 with out the single quotes I get the following error: Wrong type for [host], should...
Read more >
Dealing with Misidentified and Unidentified Hosts - Nmap
Invalid “corrections” can corrupt the OS DB. If you aren't certain exactly what is running on the remote machine, please find out before...
Read more >
pynmap/ at master - GitHub
assert type(hosts) is str, 'Wrong type for [hosts], should be a string [was {0}]'.format(type(hosts)). self.scan(hosts, arguments='-sL').
Read more >
Incorrect host name and IP address in the host file
If there is an entry, make sure that it has the correct IP address listed. Entries should have the primary alias for each...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found