<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>> Update your distro?<div><br></div><div>I have Ubuntu 15.10 :-)</div><div><br></div><div>And this:</div><div><br></div><div><div>alan@alan-pc:~$ dpkg --list|egrep -o 'python3?-(urllib3|pip)\s+([0-9\.\-])+'</div><div>python-pip 1.5.6-7</div><div>python-urllib3 1.11-1</div><div>python3-pip 1.5.6-7</div><div>python3-urllib3 1.11-1</div><div><br></div><div><br></div><br><div>> Date: Fri, 2 Oct 2015 07:00:38 +1000<br>> From: quozl@laptop.org<br>> To: alanjas@hotmail.com<br>> CC: sugar-devel@lists.sugarlabs.org<br>> Subject: Re: [Sugar-devel] Problem with sugar-build<br>> <br>> Key message is<br>> <br>> AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'<br>> <br>> Update your distro?<br>> <br>> Check version of python-requests package?<br>> See Debian bug #770172 or #781781?<br>> <br>> On Thu, Oct 01, 2015 at 05:50:12PM -0300, Alan Jhonn Aguiar Schwyn wrote:<br>> > Hi,<br>> > <br>> > I'm trying test something in sugar and I have problems to build sugar-build.<br>> > I have Ubuntu, but think that the problem is not specific to my distro.<br>> > The output:<br>> > <br>> > alan@alan-pc:~/Documentos/GIT/sugar-build$ ./osbuild pull<br>> > <br>> > = Setup the host build system =<br>> > <br>> > * Create the python virtualenv<br>> > Traceback (most recent call last):<br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv.py", line 2338, in <module><br>> > main()<br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv.py", line 824, in main<br>> > symlink=options.symlink)<br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv.py", line 992, in create_environment<br>> > install_wheel(to_install, py_executable, search_dirs)<br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv.py", line 960, in install_wheel<br>> > 'PIP_NO_INDEX': '1'<br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv.py", line 902, in call_subprocess<br>> > % (cmd_desc, proc.returncode))<br>> > OSError: Command /home/alan/Documento...nstall/bin/python2.7 -c "import sys,<br>> > pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1<br>> > Traceback (most recent call last):<br>> > File "./osbuild", line 488, in <module><br>> > if not main():<br>> > File "./osbuild", line 467, in main<br>> > if not setup(options.command):<br>> > File "./osbuild", line 305, in setup<br>> > raise e<br>> > subprocess.CalledProcessError: Command '['python2.7', '/home/alan/Documentos/<br>> > GIT/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py',<br>> > '-q', '--system-site-packages', '/home/alan/Documentos/GIT/sugar-build/build/<br>> > out/sandbox-host/install']' returned non-zero exit status 1<br>> > <br>> > Doing a bit of test I found this error:<br>> > <br>> > Traceback (most recent call last):<br>> > File "<string>", line 1, in <module><br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/<br>> > __init__.py", line 11, in <module><br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/vcs/<br>> > mercurial.py", line 9, in <module><br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/<br>> > download.py", line 22, in <module><br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor<br>> > /requests/__init__.py", line 53, in <module><br>> > File "/home/alan/Documentos/GIT/sugar-build/build/out/sandbox-host/cache/<br>> > virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor<br>> > /requests/packages/urllib3/contrib/pyopenssl.py", line 62, in <module><br>> > AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'<br>> > <br>> > Ideas?<br>> > <br>> > Regards!<br>> > <br>> > Alan<br>> > <br>> <br>> > _______________________________________________<br>> > Sugar-devel mailing list<br>> > Sugar-devel@lists.sugarlabs.org<br>> > http://lists.sugarlabs.org/listinfo/sugar-devel<br>> <br>> <br>> -- <br>> James Cameron<br>> http://quozl.linux.org.au/<br></div></div> </div></body>
</html>