Posts by DJProject

    Hi!

    There are differences in the modules of python2.7 in Generic and Odroid in 8.95.001:

    I made a python-script with module "urllib" and call "urllib.urlopen". I've used this without problems since version 8.1.0 in Generic, Raspberry and later in Odroid.

    Now in 8.95.001:

    In Odroid all works fine again with this code, but in Generic there are errors when I'm using this:

    ________________________________________________________________

    import urllib

    .

    .

    .

    updsite = urllib.urlopen(updsiteurl) **** Note: This is as an example *****

    File "/usr/lib/python2.7/urllib.py", line 87, in urlopen

    File "/usr/lib/python2.7/urllib.py", line 213, in open

    File "/usr/lib/python2.7/urllib.py", line 350, in open_http

    File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders

    File "/usr/lib/python2.7/httplib.py", line 882, in _send_output

    File "/usr/lib/python2.7/httplib.py", line 844, in send

    File "/usr/lib/python2.7/httplib.py", line 821, in connect

    File "/usr/lib/python2.7/socket.py", line 557, in create_connection

    IOError: [Errno socket error] [Errno -2] Name or service not known

    ________________________________________________________________

    Can you fix these please?

    Thanks!