A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030639.html below:

[Python-Dev] Mac OSX issues

[Python-Dev] Mac OSX issuesSkip Montanaro skip@pobox.com
Mon, 2 Dec 2002 12:43:01 -0600
    Guido> I'm still seeing errors in test_socket; today (on a different
    Guido> network) I got this:

    Guido> test test_socket failed -- Traceback (most recent call last):
    Guido>   File "/Users/guido/python/src/Lib/test/test_socket.py", line 223, in testHostnameRes
    Guido>     ip = socket.gethostbyname(hostname)
    Guido> gaierror: (7, 'No address associated with nodename')

What does the hostname(1) command return?  By default I think it generates
some oddball thing like "Montanaro.local.".  Apple calls it a Rendevous
name.  (I've no idea what that is.)  The fix for me was recommended by
another group: get a dyndns.org account and change the HOSTNAME line in
/etc/hostconfig from

    HOSTNAME=-AUTOMATIC-

to

    HOSTNAME=montanaro.dyndns.org

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4