[Sugar-devel] Fwd: osbuild throws error in Python import statement
Daniel Narvaez
dwnarvaez at gmail.com
Fri Jun 21 10:27:39 EDT 2013
Oh you seem to have automake 1.13.2 installed. Ubuntu 13.04 has 1.11
though. Did you install it yourself somewhere on the path?
On 21 June 2013 15:23, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> Weird. Are you fully updated? (apt-get update, apt-get dist-upgrade).
>
>
> On 20 June 2013 01:58, Marion Zepf <marion.zepf at gmail.com> wrote:
>
>> Hi,
>>
>> When I try to build sugar with the osbuild command, I get:
>> /usr/bin/install -c -m 644 __init__.py types.py module.py importer.py
>> pygtkcompat.py
>> '/bigrepos/sugar-labs/sugar-build/build/out/install/lib/python2.7/site-packages/gi'
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/site.py", line 68, in <module>
>> import os
>> File "/usr/lib/python2.7/os.py", line 49, in <module>
>> import posixpath as path
>> File "/usr/lib/python2.7/posixpath.py", line 17, in <module>
>> import warnings
>> File "/usr/lib/python2.7/warnings.py", line 8, in <module>
>> import types
>> File "./types.py", line 27, in <module>
>> from . import _gobject
>> ValueError: Attempted relative import in non-package
>>
>> Further up it says:
>> Command failed: make install
>>
>> I already tried cleaning everything with
>> git clean -df
>> git reset --hard
>> ./osbuild clean
>> but it did not help.
>>
>> I'm attaching the complete log (console output) and build/logs/main.log.
>> Thanks in advance for your help!
>>
>> Marion
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> 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/20130621/3095abb6/attachment.html>
More information about the Sugar-devel
mailing list