[Sugar-devel] Problem with sugar-build

James Cameron quozl at laptop.org
Thu Oct 1 17:00:38 EDT 2015


Key message is

AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

Update your distro?

Check version of python-requests package?
See Debian bug #770172 or #781781?

On Thu, Oct 01, 2015 at 05:50:12PM -0300, Alan Jhonn Aguiar Schwyn wrote:
> Hi,
> 
> I'm trying test something in sugar and I have problems to build sugar-build.
> I have Ubuntu, but think that the problem is not specific to my distro.
> The output:
> 
> alan at alan-pc:~/Documentos/GIT/sugar-build$ ./osbuild pull
> 
> = Setup the host build system =
> 
> * Create the python virtualenv
> Traceback (most recent call last):
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv.py", line 2338, in <module>
>     main()
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv.py", line 824, in main
>     symlink=options.symlink)
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv.py", line 992, in create_environment
>     install_wheel(to_install, py_executable, search_dirs)
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv.py", line 960, in install_wheel
>     'PIP_NO_INDEX': '1'
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv.py", line 902, in call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /home/alan/Documento...nstall/bin/python2.7 -c "import sys,
> pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
> Traceback (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 e
> subprocess.CalledProcessError: Command '['python2.7', '/home/alan/Documentos/
> GIT/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py',
> '-q', '--system-site-packages', '/home/alan/Documentos/GIT/sugar-build/build/
> out/sandbox-host/install']' returned non-zero exit status 1
> 
> Doing a bit of test I found this error:
> 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/
> __init__.py", line 11, in <module>
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/vcs/
> mercurial.py", line 9, in <module>
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/
> download.py", line 22, in <module>
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor
> /requests/__init__.py", line 53, in <module>
>   File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/
> virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor
> /requests/packages/urllib3/contrib/pyopenssl.py", line 62, in <module>
> AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
> 
> Ideas?
> 
> Regards!
> 
> Alan
> 

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


-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list