[Sugar-devel] Testing HTML5 template in latest sugar-build
lionel at olpc-france.org
lionel at olpc-france.org
Mon May 27 15:32:15 EDT 2013
Hmmm.
Youre right, the network connection from the VM seems chaotic. Not the same
output from time to time (see below).
Its probably the cause of my issue. Im going to do more expertise on that.
Lionel.
[fedora at localhost sugar-build]$ ./osbuild build
= Setup the build system =
* Create the python virtualenv
* Install osbuild package
fatal: Unable to look up github.com (port 9418) (Nom ou service inconnu)
Command /usr/bin/git clone -q git://github.com/dnarvaez/osbuild
/tmp/pip-wamjgQ-build failed with error code 128 in None
Storing complete log in /home/fedora/.pip/pip.log
Traceback (most recent call last):
File "./osbuild", line 215, in <module>
main()
File "./osbuild", line 180, in main
install_osbuild()
File "./osbuild", line 78, in install_osbuild
"git+git://github.com/dnarvaez/osbuild"])
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'['/home/fedora/sugar-build/build/out/sandbox/install/bin/pip', '-q',
'install', 'git+git://github.com/dnarvaez/osbuild']' returned non-zero exit
status 1
[fedora at localhost sugar-build]$ ./osbuild build
= Setup the build system =
Failed to check for changes, skipping setup. Is your network working?
Error: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/home/fedora/sugar-build/build/commands/build", line 3, in <module>
import common
File "/home/fedora/sugar-build/build/commands/common.py", line 14, in
<module>
from osbuild import main
ImportError: No module named osbuild
[fedora at localhost sugar-build]$ ./osbuild build
Traceback (most recent call last):
File "/home/fedora/sugar-build/build/commands/build", line 3, in <module>
import common
File "/home/fedora/sugar-build/build/commands/common.py", line 14, in
<module>
from osbuild import main
ImportError: No module named osbuild
[fedora at localhost sugar-build]$ ./osbuild build
Traceback (most recent call last):
File "/home/fedora/sugar-build/build/commands/build", line 3, in <module>
import common
File "/home/fedora/sugar-build/build/commands/common.py", line 14, in
<module>
from osbuild import main
ImportError: No module named osbuild
[fedora at localhost sugar-build]$ ./osbuild
= Available commands =
run
karma
check
check-config
pull
shell
build
docs
check-system
clean
See also http://developer.sugarlabs.org/dev-environment.md.html
Traceback (most recent call last):
File "/home/fedora/sugar-build/build/commands/shell", line 3, in <module>
import common
File "/home/fedora/sugar-build/build/commands/common.py", line 14, in
<module>
from osbuild import main
ImportError: No module named osbuild
[fedora at localhost sugar-build]$
De : godiard at gmail.com [mailto:godiard at gmail.com] De la part de Gonzalo
Odiard
Envoyé : lundi 27 mai 2013 21:24
À : Lionel Laské
Cc : Daniel Narvaez; Sugar-dev Devel
Objet : Re: [Sugar-devel] Testing HTML5 template in latest sugar-build
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
That message means urllib can't access a server or have a connectivity
problem.
Gonzalo
On Mon, May 27, 2013 at 4:14 PM, <lionel at olpc-france.org
<mailto:lionel at olpc-france.org> > wrote:
Hi Daniel,
Thanks for your help. Following is the full trace. Seems that it cant
create the Python virtual environment.
Strange isnt it ?
Lionel.
[fedora at localhost sugar-build]$ ./osbuild
= Setup the build system =
* Create the python virtualenv
Traceback (most recent call last):
File "./osbuild", line 215, in <module>
main()
File "./osbuild", line 177, in main
create_virtualenv()
File "./osbuild", line 65, in create_virtualenv
f = urllib2.urlopen(url)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
[fedora at localhost sugar-build]$
De : Daniel Narvaez [mailto:dwnarvaez at gmail.com <mailto:dwnarvaez at gmail.com>
]
Envoyé : lundi 27 mai 2013 12:44
À : Lionel Laské
Cc : sugar-devel at lists.sugarlabs.org
<mailto:sugar-devel at lists.sugarlabs.org>
Objet : Re: [Sugar-devel] Testing HTML5 template in latest sugar-build
On 27 May 2013 12:10, Daniel Narvaez <dwnarvaez at gmail.com
<mailto:dwnarvaez at gmail.com> > wrote:
git clean -ffdx
./osbuild
Oh and git pull before anything else, to ensure you have latest code.
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org <mailto: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/20130527/22e7cff8/attachment-0001.html>
More information about the Sugar-devel
mailing list