[Sugar-devel] Issue setting up sugar-labs dev-env

vinay khandelwal vinaypoll at yahoo.co.in
Tue Oct 27 03:32:28 EDT 2015


This is the pip debug log :-
/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/bin/pip run on Tue Oct 27 12:59:00 2015Downloading/unpacking git+https://github.com/dnarvaez/osbuild  Cloning https://github.com/dnarvaez/osbuild to /tmp/pip-KcMvg2-build  Found command 'git' at '/usr/bin/git'  Running command /usr/bin/git clone -q https://github.com/dnarvaez/osbuild /tmp/pip-KcMvg2-build  Running setup.py (path:/tmp/pip-KcMvg2-build/setup.py) egg_info for package from git+https://github.com/dnarvaez/osbuild    running egg_info    creating pip-egg-info/osbuild.egg-info    writing dependency_links to pip-egg-info/osbuild.egg-info/dependency_links.txt    writing requirements to pip-egg-info/osbuild.egg-info/requires.txt    writing pip-egg-info/osbuild.egg-info/PKG-INFO    writing top-level names to pip-egg-info/osbuild.egg-info/top_level.txt    writing manifest file 'pip-egg-info/osbuild.egg-info/SOURCES.txt'    warning: manifest_maker: standard file '-c' not found        reading manifest file 'pip-egg-info/osbuild.egg-info/SOURCES.txt'    writing manifest file 'pip-egg-info/osbuild.egg-info/SOURCES.txt'  Source in /tmp/pip-KcMvg2-build has version 0.33, which satisfies requirement osbuild==0.33 from git+https://github.com/dnarvaez/osbuildDownloading/unpacking git+https://github.com/dnarvaez/broot  Cloning https://github.com/dnarvaez/broot to /tmp/pip-Hl1jkF-build  Found command 'git' at '/usr/bin/git'  Running command /usr/bin/git clone -q https://github.com/dnarvaez/broot /tmp/pip-Hl1jkF-build  Running setup.py (path:/tmp/pip-Hl1jkF-build/setup.py) egg_info for package from git+https://github.com/dnarvaez/broot    running egg_info    creating pip-egg-info/broot.egg-info    writing dependency_links to pip-egg-info/broot.egg-info/dependency_links.txt    writing requirements to pip-egg-info/broot.egg-info/requires.txt    writing pip-egg-info/broot.egg-info/PKG-INFO    writing top-level names to pip-egg-info/broot.egg-info/top_level.txt    writing manifest file 'pip-egg-info/broot.egg-info/SOURCES.txt'    warning: manifest_maker: standard file '-c' not found        reading manifest file 'pip-egg-info/broot.egg-info/SOURCES.txt'    writing manifest file 'pip-egg-info/broot.egg-info/SOURCES.txt'  Source in /tmp/pip-Hl1jkF-build has version 0.1, which satisfies requirement broot==0.1 from git+https://github.com/dnarvaez/brootDownloading/unpacking plog==0.16 (from osbuild==0.33)  Getting page https://pypi.python.org/simple/plog/  Could not fetch URL https://pypi.python.org/simple/plog/: connection error: hostname 'proxy.iiit.ac.in' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org', 'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org', 'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org'  Will skip URL https://pypi.python.org/simple/plog/ when looking for download links for plog==0.16 (from osbuild==0.33)  Getting page https://pypi.python.org/simple/  Could not fetch URL https://pypi.python.org/simple/: connection error: hostname 'proxy.iiit.ac.in' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org', 'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org', 'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org'  Will skip URL https://pypi.python.org/simple/ when looking for download links for plog==0.16 (from osbuild==0.33)  Cannot fetch index base URL https://pypi.python.org/simple/  URLs to search for versions for plog==0.16 (from osbuild==0.33):  * https://pypi.python.org/simple/plog/0.16  * https://pypi.python.org/simple/plog/  Getting page https://pypi.python.org/simple/plog/0.16  Could not fetch URL https://pypi.python.org/simple/plog/0.16: connection error: hostname 'proxy.iiit.ac.in' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org', 'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org', 'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org'  Will skip URL https://pypi.python.org/simple/plog/0.16 when looking for download links for plog==0.16 (from osbuild==0.33)  Getting page https://pypi.python.org/simple/plog/  Could not fetch URL https://pypi.python.org/simple/plog/: connection error: hostname 'proxy.iiit.ac.in' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org', 'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org', 'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org'  Will skip URL https://pypi.python.org/simple/plog/ when looking for download links for plog==0.16 (from osbuild==0.33)  Could not find any downloads that satisfy the requirement plog==0.16 (from osbuild==0.33)Cleaning up...  Removing temporary dir /home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/build...No distributions at all found for plog==0.16 (from osbuild==0.33)Exception information:Traceback (most recent call last):  File "/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main    status = self.run(options, args)  File "/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)  File "/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)  File "/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/pip/index.py", line 277, in find_requirement    raise DistributionNotFound('No distributions at all found for %s' % req)DistributionNotFound: No distributions at all found for plog==0.16 (from osbuild==0.33)
I am behind a proxy but the git and the pip proxy both are working.



     On Monday, 26 October 2015 3:22 PM, Tummala Dhanvi <dhanvicse at gmail.com> wrote:
   

 

On Mon, Oct 26, 2015 at 2:37 AM, Sam P. <sam at sam.today> wrote:

Hi,Are you running behind a proxy?What did the pip debug log say?Thanks,
Sam
On Sun, Oct 25, 2015, 9:24 PM vinay khandelwal <vinaypoll at yahoo.co.in> wrote:

I was trying to setup the developer environment following instructions from https://developer.sugarlabs.org/dev-environment.md.html . However when i do ./osbuild pull the following error comes up :-
= Setup the host build system =
* Create the python virtualenv* Install python packages  Cannot fetch index base URL https://pypi.python.org/simple/  Could not find any downloads that satisfy the requirement plog==0.16 (from osbuild==0.33)No distributions at all found for plog==0.16 (from osbuild==0.33)Storing debug log for failure in /tmp/tmpsi4eBETraceback (most recent call last):  File "./osbuild", line 488, in <module>    if not main():  File "./osbuild", line 467, in main    if not setup(options.command):  File "./osbuild", line 305, in setup    raise esubprocess.CalledProcessError: Command '['/home/mayukuse/sugarlabs/sugar-build/build/out/sandbox-host/install/bin/pip', '-q', 'install', 'git+https://github.com/dnarvaez/osbuild', 'git+https://github.com/dnarvaez/broot']' returned non-zero exit status 1


​In my experience this doesn't work if you are under some proxy or if you are under restricted internet (firewall) or if you are under a WiFi which needs you to install their custom certificates.


I am running this on UBUNTU 15.04 .

​Developers here use Fedora, but the process should work on any Linux distribution. 
Try doing it in a Fedora VM  it takes very less time to build even in a VM ​
​PS: Attach the pip debug log which will help the developers to identify a issue if it exists ​

_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Regards
Tummala Dhanvi

https://www.dhanvi.org
"Only thing that can never be 'RE-CYCLED' is 'WASTED TIME' ".
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20151027/60465436/attachment-0001.html>


More information about the Sugar-devel mailing list