Re: Socket - gaierror

2007-08-27 Thread Douglas Wells
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: > On Aug 27, 4:22 pm, [EMAIL PROTECTED] (Douglas Wells) wrote: > > In article <[EMAIL PROTECTED]>, > > > > [EMAIL PROTECTED] writes: > > > On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > > > > > Changing it to IP gives me the

Re: Socket - gaierror

2007-08-27 Thread Steve Holden
[EMAIL PROTECTED] wrote: > On Aug 27, 12:47 pm, [EMAIL PROTECTED] wrote: >> On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: >> >> >> >>> [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with the socket module resolving a hostname. It seems like this is a system level

Re: Socket - gaierror

2007-08-27 Thread half . italian
On Aug 27, 4:22 pm, [EMAIL PROTECTED] (Douglas Wells) wrote: > In article <[EMAIL PROTECTED]>, > > > > [EMAIL PROTECTED] writes: > > On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > > > Changing it to IP gives me the same exact error... > > > File "bin/prgram.py", line 123, in notif

Re: Socket - gaierror

2007-08-27 Thread Douglas Wells
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: > On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > > Changing it to IP gives me the same exact error... > > File "bin/prgram.py", line 123, in notify > smtp = smtplib.SMTP("XXX.XXX.XXX.XXX") > > File "/usr/lib/python

Re: Socket - gaierror

2007-08-27 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > What could cause the shell to be > able to resolve the addresses properly, but not python? > nnsswitch.conf ? How did you test the name resolution in the shell--was it with "host" or "ping"? I would recommend ping, because that would use

Re: Socket - gaierror

2007-08-27 Thread half . italian
On Aug 27, 12:47 pm, [EMAIL PROTECTED] wrote: > On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > > > > > [EMAIL PROTECTED] wrote: > > > Hi all, > > > > I'm having trouble with the socket module resolving a hostname. It > > > seems like this is a system level problem, but I'm not even

Re: Socket - gaierror

2007-08-27 Thread half . italian
On Aug 27, 12:32 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi all, > > > I'm having trouble with the socket module resolving a hostname. It > > seems like this is a system level problem, but I'm not even sure where > > to start. I can ping the smtp server by name a

Re: Socket - gaierror

2007-08-27 Thread Larry Bates
[EMAIL PROTECTED] wrote: > Hi all, > > I'm having trouble with the socket module resolving a hostname. It > seems like this is a system level problem, but I'm not even sure where > to start. I can ping the smtp server by name and IP, but when > smtp.SMTP("theHost") tries to get the hostname, it

Socket - gaierror

2007-08-27 Thread half . italian
Hi all, I'm having trouble with the socket module resolving a hostname. It seems like this is a system level problem, but I'm not even sure where to start. I can ping the smtp server by name and IP, but when smtp.SMTP("theHost") tries to get the hostname, it keeps giving me the following error: