bvwelch / tftpgui

Automatically exported from code.google.com/p/tftpgui
Other
0 stars 0 forks source link

socket error #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 ori...@gmail.com on 25 Sep 2007 at 5:20

GoogleCodeExporter commented 8 years ago
I solved the problem myself by adding my hostname in /etc/hosts after the 
localhost.

"127.0.0.1    localhost myhostname"

Original comment by ori...@gmail.com on 25 Sep 2007 at 5:24