[Python-de] gaierror

Jens Diemer python_gmane at jensdiemer.de
Fr Apr 6 07:12:08 UTC 2007


Stephan John schrieb:
> socket.gethostbyname = 
> <built-in function gethostbyname>, socket.gethostname = <built-in function 
> gethostname>
> 
> gaierror: (8, 'node name or service name not known')
>       args = (8, 'node name or service name not known')

Check auch mal, wie deine "from"-Adresse ist. Man könnte die z.B. so 
zusammen bauen:

	from_address = "python_skript@%s" % os.environ['HTTP_HOST']


-- 
Mfg.

Jens Diemer


----
A django powered CMS: http://www.pylucid.org