Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.

Thread: Network access error from scripts

  1. #1
    What's Jailbreak?
    Join Date
    Nov 2007
    Thanked 2 Times in 1 Post
    Angry Network access error from scripts

    i have a python script that uses urllib2 to download one file, when urlopen is called it show the following error:

    >>> urllib2.urlopen("")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python2.5/", line 121, in urlopen
        return, data)
      File "/usr/lib/python2.5/", line 380, in open
        response = meth(req, response)
      File "/usr/lib/python2.5/", line 491, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.5/", line 412, in error
        result = self._call_chain(*args)
      File "/usr/lib/python2.5/", line 353, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.5/", line 575, in http_error_302
      File "/usr/lib/python2.5/", line 374, in open
        response = self._open(req, data)
      File "/usr/lib/python2.5/", line 392, in _open
        '_open', req)
      File "/usr/lib/python2.5/", line 353, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.5/", line 1100, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.5/", line 1075, in do_open
        raise URLError(err)
    urllib2.URLError: <urlopen error (4, 'Non-recoverable failure in name resolution')>
    The code that causes the error is:

    i can ping from ipod touch without problems.

    is there any network access restriction in iphone/itouch?

    is there any workaround for this?

    Thanks in advance.

  2. #2
    i get this problem too...

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts