Make dm800 Image failed (../python/python-flickrapi_1.4.2.bb' failed)

  • Hi,


    I could not make image for DM800. I got the error message as below picture. Please suggest me how to fix this error.



    Regards,


    Yiam / 2239

  • Look into the log file of the package which failed (python-flickrapi...).
    The screenshot only shows the output of the make, not the output of the real task.

    DM900 SS, DM8000SSSS
    Kein Support per PN! Nutzt das Forum zum Fragen, dann haben auch andere etwas davon.

  • Look into the log file of the package which failed (python-flickrapi...).
    The screenshot only shows the output of the make, not the output of the real task.

    Hi


    Thanks for your answering and the below is the log file. Please suggest.



    Regards,


    Yiam

  • The task is trying to download some more files and gets a "network not reachable"
    error.
    Either your comile box has no internet connection or the URL is not reachable due
    to a server outage resp. DNS resolving problems.
    Unfortunately the extract of the log file does not contain the URL itself. So no way
    to check the reachability of the URL for me here.

    DM900 SS, DM8000SSSS
    Kein Support per PN! Nutzt das Forum zum Fragen, dann haben auch andere etwas davon.

  • The task is trying to download some more files and gets a "network not reachable"
    error.
    Either your comile box has no internet connection or the URL is not reachable due
    to a server outage resp. DNS resolving problems.
    Unfortunately the extract of the log file does not contain the URL itself. So no way
    to check the reachability of the URL for me here.

    Hi,


    This is the full log. I am not sure whether the first of line is the url of the downloading file. Please help.


    Downloading http://pypi.python.org/package…e/distribute-0.6.8.tar.gz
    Traceback (most recent call last):
    File "setup.py", line 9, in
    distribute_setup.use_setuptools()
    File "/home/peak/dmm/dm800/build/tmp/work/mipsel-oe-linux/python-flickrapi-1.4.2-ml0/flickrapi-1.4.2/distribute_setup.py", line 141, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
    File "/home/peak/dmm/dm800/build/tmp/work/mipsel-oe-linux/python-flickrapi-1.4.2-ml0/flickrapi-1.4.2/distribute_setup.py", line 120, in _do_download
    to_dir, download_delay)
    File "/home/peak/dmm/dm800/build/tmp/work/mipsel-oe-linux/python-flickrapi-1.4.2-ml0/flickrapi-1.4.2/distribute_setup.py", line 189, in download_setuptools
    src = urlopen(url)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 1181, in http_open
    return self.do_open(httplib.HTTPConnection, req)
    File "/home/peak/dmm/dm800/build/tmp/staging/i686-linux/usr/lib/python2.6/urllib2.py", line 1156, in do_open
    raise URLError(err)
    urllib2.URLError:
    FATAL: python setup.py build_ext execution failed.

    Regards,


    Yiam

  • Are you able to reach the URL from the compile environment?
    Even this longer log listing is not giving any further informations.
    Within a setup.py there is a call to distribute_setup.use_setuptools() which seems to fail
    due to an invalid URL.
    Unfortunately the parameter passed to this method are not shown in the log. You will have
    to look into the source itself.
    Go to the directory /home/peak/dmm/dm800/build/tmp/work/mipsel-oe-linux/python-flickrapi-1.4.2-ml0/flickrapi-1.4.2
    and look for a file setup.py. Look into line 9 for the URL.

    DM900 SS, DM8000SSSS
    Kein Support per PN! Nutzt das Forum zum Fragen, dann haben auch andere etwas davon.

  • It fails to download and setup the setuptools. Download and build both work fine here though, so it's probably just a temporary error on your end.


    It has nothing to do with the recipe itself which is very basic (I should know that given that I wrote it :P).

    Homescreen eurer Apple-Geräte noch nicht voll genug?


    dreaMote: Fernbedienung für Dreamboxen
    Mobile WOL: Wake-on-LAN Client für iOS mit optionalem Widget
    My Home Remote: Fernkontrolle für Homematic CCU/CCU2 optimiert für mobile Benutzung


  • It fails to download and setup the setuptools. Download and build both work fine here though, so it's probably just a temporary error on your end.


    It has nothing to do with the recipe itself which is very basic (I should know that given that I wrote it :P).

    Hi,


    I do not know how to test the URL from the compile enviroment. I still did not make my own image and got the same error message as my post. I have added the "setup.py" and "distribute_setup.py" so you can help me.


    setup.py


    distribute_setup.py


    Regards,


    Yiam / 2293

  • The URL is "http://pypi.python.org/packages/source/d/distribute/" and the version is "0.6.8".
    The resulting filename is "distribute-0.6.8.tar.gz".
    So try to "wget http://pypi.python.org/packages/source/d…te-0.6.8.tar.gz"
    from the commandline of your compile environment.

    Hi,


    I tested it with this command "wget http://pypi.python.org/package…e/distribute-0.6.8.tar.gz" at command line and it successfully download as below picture. Any suggests.



    Regards,


    Yiam