Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #9

Open
bongtrop opened this issue Jan 13, 2019 · 0 comments
Open

IndexError: list index out of range #9

bongtrop opened this issue Jan 13, 2019 · 0 comments

Comments

@bongtrop
Copy link

If the target machine network interface do not have the ipv4 attribute or AF_INET, the client.py will crash. The error tracer below show the gdog client.py error.

C:\Users\xxxxxxxxx\Desktop\gdog>python client.py
Traceback (most recent call last):
  File "client.py", line 229, in <module>
    sysInfo = SystemInfo()
  File "client.py", line 198, in __init__
    self.IPv4 = netifaces.ifaddresses(iface).get(netifaces.AF_INET, [])[0]['addr']
IndexError: list index out of range
bongtrop pushed a commit to siamthanathack/gdog that referenced this issue Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant