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

socket error #3

Open
GoogleCodeExporter opened this issue Oct 7, 2015 · 1 comment
Open

socket error #3

GoogleCodeExporter opened this issue Oct 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'm trying to run tftpgui under Gentoo Linux 2.6.20
This is a normal modern desktop system i`m running on my laptop.
When I start the program i get the flowing error:

python tftpgui.py
Traceback (most recent call last):
  File "tftpgui.py", line 487, in ?
    ServerFrame=TftpGui(MainWindow)
  File "tftpgui.py", line 93, in __init__
    self.textAddress=socket.gethostbyname(socket.gethostname())
socket.gaierror: (-2, 'Name or service not known')


Original issue reported on code.google.com by [email protected] on 25 Sep 2007 at 5:20

@GoogleCodeExporter
Copy link
Author

I solved the problem myself by adding my hostname in /etc/hosts after the 
localhost.

"127.0.0.1    localhost myhostname"

Original comment by [email protected] on 25 Sep 2007 at 5:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant