[Sugar-devel] Fwd: osbuild throws error in Python import statement
Marion Zepf
marion.zepf at gmail.com
Wed Jun 19 19:58:07 EDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130620/411d65c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mybuild.log
Type: application/octet-stream
Size: 18384 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130620/411d65c9/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log.gz
Type: application/x-gzip
Size: 125740 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130620/411d65c9/attachment-0001.bin>
More information about the Sugar-devel
mailing list