ok , I ran another test  and tried to use google's ip and it works
fine .By the way ... in the last part of my previous mail i am not
using the domain name so it does not matter , just ignore it . I
though it would be helpful if I give the whole trace so:
[sbox-FREMANTLE_X86: ~] > python2.5
Python 2.5.2 (r252:60911, Mar 16 2009, 16:36:21)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> a=urllib2.urlopen("http://209.85.153.104/";)
>>> a=urllib2.urlopen("http://www.google.com";)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')>


P.S: Should urllib2 even handle name resolution ???








-- 
A-M-I-T S|S
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to