[Sugar-devel] Flake8 error on last sugar_build

Daniel Narvaez dwnarvaez at gmail.com
Mon Jun 3 08:23:53 EDT 2013


I improved the way we print out errors in sugar-build. Now you should see
the full output of the failed command (up to 500 lines), so the download
error rather then just the end of the trace.


On 2 June 2013 22:33, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> This is what I got in my log right now
>
>
> Searching for mccabe>=0.2
> Reading http://pypi.python.org/simple/mccabe/
> Best match: mccabe 0.2.1
> Downloading
> http://pypi.python.org/packages/source/m/mccabe/mccabe-0.2.1.tar.gz#md5=5a3f3fa6a4bad126c88aaaa7dab682f5
>
> So it looks really like a network problem to me.
>
>
>
> On 2 June 2013 22:26, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>
>> I tend to blame it on your VM network :) It seems to work consistently
>> for me.
>>
>>
>> On Sunday, 2 June 2013, wrote:
>>
>>> ** **
>>>
>>> Here the end of the main.log (sorry for the list…).****
>>>
>>> A link seems to be in error. However the main site (
>>> http://pypi.python.org/simple/mccabe/) is accessible from Firefox in my
>>> VM.****
>>>
>>> ** **
>>>
>>>                 Lionel.****
>>>
>>> ** **
>>>
>>> * *
>>>
>>> Running command python /home/fedora/sugar-build/flake8/setup.py install
>>> --prefix /home/fedora/sugar-build/build/out/install****
>>>
>>> running install****
>>>
>>> running bdist_egg****
>>>
>>> running egg_info****
>>>
>>> writing requirements to flake8.egg-info/requires.txt****
>>>
>>> writing flake8.egg-info/PKG-INFO****
>>>
>>> writing top-level names to flake8.egg-info/top_level.txt****
>>>
>>> writing dependency_links to flake8.egg-info/dependency_links.txt****
>>>
>>> writing entry points to flake8.egg-info/entry_points.txt****
>>>
>>> writing requirements to flake8.egg-info/requires.txt****
>>>
>>> writing flake8.egg-info/PKG-INFO****
>>>
>>> writing top-level names to flake8.egg-info/top_level.txt****
>>>
>>> writing dependency_links to flake8.egg-info/dependency_links.txt****
>>>
>>> writing entry points to flake8.egg-info/entry_points.txt****
>>>
>>> reading manifest file 'flake8.egg-info/SOURCES.txt'****
>>>
>>> reading manifest template 'MANIFEST.in'****
>>>
>>> writing manifest file 'flake8.egg-info/SOURCES.txt'****
>>>
>>> installing library code to build/bdist.linux-x86_64/egg****
>>>
>>> running install_lib****
>>>
>>> running build_py****
>>>
>>> creating build/bdist.linux-x86_64/egg****
>>>
>>> creating build/bdist.linux-x86_64/egg/flake8****
>>>
>>> copying build/lib/flake8/hooks.py -> build/bdist.linux-x86_64/egg/flake8
>>> ****
>>>
>>> copying build/lib/flake8/util.py -> build/bdist.linux-x86_64/egg/flake8*
>>> ***
>>>
>>> copying build/lib/flake8/main.py -> build/bdist.linux-x86_64/egg/flake8*
>>> ***
>>>
>>> copying build/lib/flake8/engine.py -> build/bdist.linux-x86_64/egg/flake8
>>> ****
>>>
>>> copying build/lib/flake8/_pyflakes.py ->
>>> build/bdist.linux-x86_64/egg/flake8****
>>>
>>> copying build/lib/flake8/__init__.py ->
>>> build/bdist.linux-x86_64/egg/flake8****
>>>
>>> creating build/bdist.linux-x86_64/egg/flake8/tests****
>>>
>>> copying build/lib/flake8/tests/test_flakes.py ->
>>> build/bdist.linux-x86_64/egg/flake8/tests****
>>>
>>> copying build/lib/flake8/tests/__init__.py ->
>>> build/bdist.linux-x86_64/egg/flake8/tests****
>>>
>>> copying build/lib/flake8/run.py -> build/bdist.linux-x86_64/egg/flake8**
>>> **
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/hooks.py to hooks.pyc
>>> ****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/util.py to util.pyc**
>>> **
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/main.py to main.pyc**
>>> **
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/engine.py to
>>> engine.pyc****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/_pyflakes.py to
>>> _pyflakes.pyc****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/__init__.py to
>>> __init__.pyc****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/tests/test_flakes.py
>>> to test_flakes.pyc****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/tests/__init__.py to
>>> __init__.pyc****
>>>
>>> byte-compiling build/bdist.linux-x86_64/egg/flake8/run.py to run.pyc****
>>>
>>> creating build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> copying flake8.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
>>> ****
>>>
>>> copying flake8.egg-info/SOURCES.txt ->
>>> build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> copying flake8.egg-info/dependency_links.txt ->
>>> build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> copying flake8.egg-info/entry_points.txt ->
>>> build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> copying flake8.egg-info/requires.txt ->
>>> build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> copying flake8.egg-info/top_level.txt ->
>>> build/bdist.linux-x86_64/egg/EGG-INFO****
>>>
>>> zip_safe flag not set; analyzing archive contents...****
>>>
>>> creating 'dist/flake8-2.0-py2.7.egg' and adding
>>> 'build/bdist.linux-x86_64/egg' to it****
>>>
>>> removing 'build/bdist.linux-x86_64/egg' (and everything under it)****
>>>
>>> Processing flake8-2.0-py2.7.egg****
>>>
>>> Removing
>>> /home/fedora/sugar-build/build/out/install/lib/python2.7/site-packages/flake8-2.0-py2.7.egg
>>> ****
>>>
>>> Copying flake8-2.0-py2.7.egg to
>>> /home/fedora/sugar-build/build/out/install/lib/python2.7/site-packages**
>>> **
>>>
>>> flake8 2.0 is already the active version in easy-install.pth****
>>>
>>> Installing flake8 script to
>>> /home/fedora/sugar-build/build/out/install/bin****
>>>
>>> ** **
>>>
>>> Installed
>>> /home/fedora/sugar-build/build/out/install/lib/python2.7/site-packages/flake8-2.0-py2.7.egg
>>> ****
>>>
>>> Processing dependencies for flake8==2.0****
>>>
>>> Searching for mccabe>=0.2****
>>>
>>> Reading http://pypi.python.org/simple/mccabe/****
>>>
>>> Download error: [Errno -2] Name or service not known -- Some packages
>>> may not be found!****
>>>
>>> Couldn't find index page for 'mccabe' (maybe misspelled?)****
>>>
>>> Scanning index of all packages (this may take a while)****
>>>
>>> Reading http://pypi.python.org/simple/****
>>>
>>> No local packages or download links found for mccabe>=0.2****
>>>
>>> Best match: None****
>>>
>>> Traceback (most recent call last):****
>>>
>>>   File "/home/fedora/sugar-build/flake8/setup.py", line 57, in <module>*
>>> ***
>>>
>>>     test_suite='nose.collector',****
>>>
>>>   File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup****
>>>
>>>     dist.run_commands()****
>>>
>>>   File "/usr/lib64/python2.7/distutils/dist.py", line 953, in
>>> run_commands****
>>>
>>>     self.run_command(cmd)****
>>>
>>>   File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
>>> ****
>>>
>>>     cmd_obj.run()****
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py",
>>> line 76, in run****
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py",
>>> line 104, in do_egg_install****
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>> line 211, in run****
>>>
>>> ** **
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py",
>>> line 427, in easy_install****
>>>
>>> ** **
>>>
>>>   File "/home/fedora/sugar-build/build/out/sandbox/install
>>>
>>> ** **
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
>>> line 563, in resolve****
>>>
>>>     ``None``.****
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
>>> line 799, in best_match****
>>>
>>>   ****
>>>
>>>   File
>>> "/home/fedora/sugar-build/build/out/sandbox/install/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
>>> line 811, in obtain****
>>>
>>>
>>
>> --
>> Daniel Narvaez
>>
>>
>
>
> --
> Daniel Narvaez
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130603/20ae6acb/attachment-0001.html>


More information about the Sugar-devel mailing list