[Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

Daniel Narvaez dwnarvaez at gmail.com
Tue Jun 25 09:48:39 EDT 2013


Very confusing and the error message is not really useful. Try

git clean -ffdx
./osbuild

Are you running this inside a VM? If so, is the network working reliably in
the VM?

On Tuesday, 25 June 2013, laurent bernabe wrote:

> Hello,
>
> Thanks for your answer.
>
> So I fetch the tarball with wget directly from the sugar build folder, and
> launched again the command :
>
> ---------------------------------------------------------------
> $ ./osbuild build
>
> = Setup the build system =
>
> * Create the python virtualenv
> Traceback (most recent call last):
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 2577, in <module>
>     main()
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 979, in main
>     no_pip=options.no_pip)
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 1091, in create_environment
>     search_dirs=search_dirs, never_download=never_download)
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 611, in install_setuptools
>     search_dirs=search_dirs, never_download=never_download)
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 583, in _install_req
>     cwd=cwd)
>   File
> "/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py",
> line 1057, in call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /home/laurent-bernab...x/install/bin/python -c "#!python
> \"\"\"Bootstra...sys.argv[1:])
>
>
>
>
>
>
> " /home/laurent-bernab...ols-0.6c11-py2.7.egg failed with error code 1
> Traceback (most recent call last):
>   File "./osbuild", line 245, in <module>
>     main()
>   File "./osbuild", line 210, in main
>     raise e
> subprocess.CalledProcessError: Command '['python',
> '/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py',
> '-q', '--system-site-packages',
> '/home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/install']'
> returned non-zero exit status 1
>
> --------------------------------------------------------------------
>
> Thanks in advance
>
>
> 2013/6/25 Daniel Narvaez <dwnarvaez at gmail.com <javascript:_e({}, 'cvml',
> 'dwnarvaez at gmail.com');>>
>
>> Weird, it's trying to download and uncompress
>>
>>
>> https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz
>>
>> Maybe try to download that with wget and see if you get a valid tarball?
>> I would also retry to run osbuild now in case it was some temporary
>> weirdness (it seems to work for me right now).
>>
>>
>> On 25 June 2013 13:36, laurent bernabe <laurent.bernabe at gmail.com<javascript:_e({}, 'cvml', 'laurent.bernabe at gmail.com');>
>> > wrote:
>>
>>> Hello everyone,
>>>
>>> I've just downloaded the git code for SugarBuild on Ubuntu Gnome 13.04,
>>> and then (when Sugar Build asked me to do it) I installed python-dev
>>> package.
>>>
>>> But I get the following error stacktrace :
>>>
>>> -----------------------------------------------------------
>>> $ ./osbuild build
>>> = Setup the build system =
>>>
>>> * Create the python virtualenv
>>> Traceback (most recent call last):
>>>   File "./osbuild", line 245, in <module>
>>>     main()
>>>   File "./osbuild", line 210, in main
>>>     raise e
>>> EOFError: Compressed file ended before the end-of-stream marker was
>>> reached
>>>
>>> -------------------------------------------------------------
>>>
>>> Is there a way to manage the issue ?
>>>
>>> Thanks in advance
>>>
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org <javascript:_e({}, 'cvml',
>>> 'Sugar-devel at lists.sugarlabs.org');>
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>

-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130625/812b4a55/attachment.html>


More information about the Sugar-devel mailing list